Function at 0x40ab44
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24c
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a0
lea eax, [ebp - 0x1b8]
mov dword [esp], eax
call fcn.0044e9e0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040a97e
mov dword [ebp - 0x21c], eax
cmp dword [0x4a2560], 0
jne 0x40ab95
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x21c], 0
jne 0x40abb7
cmp dword [0x45a10c], 0
je 0x40ae79
jmp 0x40abc0
cmp dword [0x45a10c], 0
je 0x40ac0d
mov dword [esp + 8], esi
mov eax, dword [0x45a10c]
mov dword [esp + 4], eax
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
call sub.cygwin1.dll_strlcpy
mov edi, dword [ebp + 0xc]
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx - 1]
lea eax, [esi - 1]
cmp edx, eax
jae 0x40ac12
test edx, edx
je 0x40abff
mov edi, dword [ebp + 0xc]
cmp byte [edx + edi - 1], 0x2f
je 0x40ac12
mov eax, dword [ebp + 0xc]
mov byte [edx + eax], 0x2f
inc edx
mov byte [edx + eax], 0
jmp 0x40ac12
mov edx, 0
cmp dword [ebp - 0x21c], 0
je 0x40ac43
mov edi, dword [ebp - 0x21c]
mov byte [edi], 0
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, esi
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [esp], eax
call fcn.0040a9d4
mov byte [edi], 0x3d
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0x2e
jne 0x40ac5f
cmp byte [ebx + 1], 0x2f
jne 0x40ac5f
add ebx, 2
cmp byte [ebx], 0x2e
jne 0x40ac5f
cmp byte [ebx + 1], 0x2f
je 0x40ac51
cmp byte [ebx], 0x2f
jne 0x40ac6a
inc ebx
cmp byte [ebx], 0x2f
je 0x40ac64
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
call sub.cygwin1.dll_strlcpy
cmp ebx, dword [ebp + 0xc]
ja 0x40ac43
cmp dword [ebp - 0x21c], 0
je 0x40acb5
inc dword [ebp - 0x21c]
mov edi, dword [ebp - 0x21c]
mov dword [esp + 8], edi
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x14]
mov dword [esp], edx
call fcn.0040a9d4
mov dword [ebp - 0x21c], eax
jmp 0x40acbe
mov edi, dword [ebp + 8]
mov dword [ebp - 0x21c], edi
mov eax, dword [0x45a010]
mov dword [ebp - 0x22c], eax
mov ebx, dword [ebp + 0xc]
cmp dword [0x45a0ac], 0
je 0x40acef
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x21c]
mov dword [esp], edx
call fcn.0040b4bc
jmp 0x40ad07
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov edi, dword [ebp - 0x21c]
mov dword [esp], edi
call fcn.0040b4fd
test eax, eax
jne 0x40ad52
mov eax, dword [ebp - 0x208]
and eax, 0xf000
cmp eax, 0x4000
jne 0x40ad52
mov edx, dword [ebp + 0xc]
cld
mov ecx, 0xffffffff
mov al, 0
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx - 1]
lea eax, [esi - 1]
cmp edx, eax
jae 0x40ad52
test edx, edx
je 0x40ad46
mov eax, dword [ebp + 0xc]
cmp byte [edx + eax - 1], 0x2f
je 0x40ad52
mov edi, dword [ebp + 0xc]
mov byte [edx + edi], 0x2f
mov byte [edi + edx + 1], 0
cmp dword [0x45a09c], 0
je 0x40ad6b
mov dword [esp + 4], ebx
mov dword [esp], 0x40aa76
call fcn.00450633
cmp byte [ebx], 0x2e
jne 0x40ad84
cmp byte [ebx + 1], 0x2f
jne 0x40ad84
add ebx, 2
cmp byte [ebx], 0x2e
jne 0x40ad84
cmp byte [ebx + 1], 0x2f
je 0x40ad76
cmp byte [ebx], 0x2f
jne 0x40ad8f
inc ebx
cmp byte [ebx], 0x2f
je 0x40ad89
cmp byte [ebx], 0x2e
jne 0x40adc3
cmp byte [ebx + 1], 0x2e
jne 0x40adc3
cmp byte [ebx + 2], 0x2f
jne 0x40adc3
cmp dword [ebp - 0x22c], 0
je 0x40adc3
mov eax, dword [ebp - 0x22c]
cmp eax, dword [0x45a010]
je 0x40adc3
mov edx, dword [eax + 8]
mov dword [ebp - 0x22c], edx
add ebx, 2
cmp byte [ebx], 0x2f
je 0x40ad6b
cmp byte [ebx], 0x2e
jne 0x40add3
cmp byte [ebx + 1], 0x2f
je 0x40ad6b
mov dword [esp + 4], 0x2f
mov dword [esp], ebx
call sub.cygwin1.dll_strchr
mov esi, eax
test eax, eax
jne 0x40ae0c
cmp byte [ebx], 0
je 0x40aeb8
mov dword [ebp - 0x220], ebx
cmp dword [ebp + 0x1c], 0
je 0x40aeb8
mov edi, dword [ebp + 0x1c]
mov dword [edi], ebx
jmp 0x40aeb8
mov byte [eax], 0
cmp dword [0x45a09c], 0
je 0x40ae43
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 0x40aa90
call fcn.00450633
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call fcn.0040f6d6
mov dword [ebp - 0x22c], eax
mov byte [esi], 0x2f
lea ebx, [esi + 1]
jmp 0x40ad6b
mov edx, dword [0x45a010]
mov dword [ebp - 0x22c], edx
cmp dword [0x4a2560], 0
je 0x40aeaf
mov edi, dword [ebp + 8]
mov dword [esp + 8], edi
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x14]
mov dword [esp], edx
call fcn.0040a9d4
mov dword [ebp - 0x21c], eax
jmp 0x40aeb8
mov edi, dword [ebp + 8]
mov dword [ebp - 0x21c], edi
cmp dword [0x45a0ac], 0
jne 0x40aeca
cmp dword [0x45a0a8], 0
je 0x40aee4
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x21c]
mov dword [esp], eax
call fcn.0040b4bc
jmp 0x40aefc
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x21c]
mov dword [esp], edx
call fcn.0040b4fd
test eax, eax
je 0x40af1b
mov edi, dword [ebp - 0x21c]
mov dword [esp + 4], edi
mov dword [esp], 0x40aab4
call fcn.0044ec6f
jmp 0x40b086
mov eax, dword [ebp - 0x208]
and eax, 0xf000
cmp eax, 0x4000
jne 0x40afc4
cmp dword [0x45a09c], 0
je 0x40af64
mov eax, dword [ebp - 0x21c]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x20]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 4], eax
mov dword [esp], 0x40aad0
call fcn.00450633
mov eax, dword [ebp - 0x22c]
cmp dword [ebp + 0x20], 0
je 0x40b08c
lea eax, [ebp - 0x1b8]
mov dword [esp + 8], eax
mov edi, dword [ebp - 0x21c]
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call fcn.0040d138
test eax, eax
jne 0x40afa6
mov dword [esp], 1
call sub.cygwin1.dll_exit
cmp dword [0x45a09c], 0
je 0x40b086
mov dword [esp], 0x40aafa
call fcn.00450633
jmp 0x40b086
cmp dword [ebp - 0x220], 0
jne 0x40b00b
mov dword [esp + 4], 0x2f
mov edx, dword [ebp - 0x21c]
mov dword [esp], edx
call sub.cygwin1.dll_strrchr
mov dword [ebp - 0x220], eax
test eax, eax
je 0x40aff7
mov edi, dword [ebp - 0x21c]
cmp eax, edi
jae 0x40b005
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
jmp 0x40b00b
inc dword [ebp - 0x220]
cmp dword [0x45a09c], 0
je 0x40b048
mov edx, dword [ebp - 0x220]
mov dword [esp + 0x10], edx
mov edi, dword [ebp - 0x21c]
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x20]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 4], eax
mov dword [esp], 0x40ab10
call fcn.00450633
mov eax, dword [ebp - 0x22c]
cmp dword [ebp + 0x20], 0
je 0x40b08c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov edi, dword [ebp - 0x220]
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x21c]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x22c]
mov dword [esp], edx
call fcn.0040dabe
mov eax, dword [ebp - 0x22c]
add esp, 0x24c
pop ebx
pop esi
pop edi
pop ebp
ret