Function at 0x4149a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1ac
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x7c]
mov edx, dword [esi]
mov eax, dword [edi + 0x84]
mov ebx, dword [edi + 0x8c]
lea ecx, [eax + eax*4]
shl ecx, 4
test byte [esi + 0x81], 0x20
mov eax, dword [ecx + ebx + 0x30]
mov dword [esi + 0xcc], eax
mov eax, dword [ecx + ebx + 0x28]
mov dword [edx + 0xbc], eax
jne 0x414ee0
mov eax, dword [ecx + ebx + 0x24]
cmp eax, 0x18
mov dword [esi + 0xdc], eax
je 0x414a30
lea eax, [ebp - 0x178]
mov dword [esp + 0x10], eax
mov eax, 4
mov dword [esp + 0xc], eax
mov eax, 0x18
mov dword [esp + 8], eax
mov eax, dword [edi + 0x84]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0041fda5
test eax, eax
jne 0x414f20
lea esi, [esi]
mov dword [esp], esi
xor ebx, ebx
call fcn.004143f0
mov dword [esp + 8], ebx
mov ecx, 1
mov edi, 1
mov dword [esp + 4], ecx
mov ebx, 0x425795
mov dword [esp], esi
call fcn.004066f0
mov dword [esp], esi
xor edx, edx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.004058e0
mov ecx, dword [esi]
mov eax, dword [esi + 0x90]
mov edx, dword [esi + 0xd0]
mov dword [ecx + 0xa0], eax
mov eax, dword [esi + 0x94]
mov dword [ecx + 0xa4], eax
mov eax, dword [edx]
mov dword [ebp - 0xe4], eax
mov eax, dword [edx + 0x414]
mov dword [ebp - 0xdc], eax
mov eax, dword [esi + 0xcc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xe8]
mov dword [esp + 0x2c], eax
mov eax, 0x200a
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0xbc]
mov dword [esp + 0x24], eax
mov eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 8], eax
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 0x84]
mov ecx, dword [edx + 0x8c]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + ecx + 8]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0041ed72
mov dword [esi + 0x24], eax
mov eax, 0x9c
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc58]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, 2
mov dword [esp + 4], eax
call fcn.004019b0
mov eax, 0x9c
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x7d8]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.004019b0
mov dword [ebp - 0x48], 0x43
mov eax, dword [esi]
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x44], 1
mov eax, dword [eax + 0xc54]
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x180], eax
mov eax, dword [esi + 0x80]
mov dword [esp + 4], edx
mov dword [ebp - 0x28], edx
and eax, 4
cmp eax, 1
sbb eax, eax
and eax, 0xfffffffe
xor ecx, ecx
mov dword [esp + 0xc], ecx
add eax, 3
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x180]
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x48]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.00420943
mov eax, 0x230001
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.00420344
mov eax, 0x98
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041ebb5
mov dword [esi + 0xd8], eax
mov eax, 0x44
mov ebx, dword [esi]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041ebb5
mov dword [ebx + 0x138], eax
mov edx, dword [esi + 0xd0]
mov eax, dword [edx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
movzx edx, word [esi + 0x16]
movzx eax, word [esi + 6]
add edx, edx
add eax, edx
mov dword [esp + 0x14], eax
movzx eax, word [esi + 4]
add eax, edx
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041ed0c
mov dword [esi + 0x3c], eax
mov dword [esp], esi
call fcn.004011a0
mov eax, 0x40850c
mov dword [esp + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.00420344
movzx ecx, word [esi + 0xa]
cmp ecx, 0xfffffffe
je 0x414d6d
mov edx, dword [esi + 0xd0]
xor edi, edi
xor ebx, ebx
mov eax, dword [edx + 0x428]
mov dword [esp + 0x20], eax
mov eax, dword [edx]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
lea eax, [ecx + 6]
mov dword [esp + 0x14], eax
movzx edx, word [esi + 4]
movzx eax, word [esi + 0x16]
mov dword [esp + 0xc], ebx
lea eax, [edx + eax*2]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041ed0c
mov dword [esi + 0x78], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x138]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041eeba
mov ecx, 0x810c
mov dword [esp + 8], ecx
mov eax, dword [esi + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.00420344
mov ebx, dword [esi]
mov eax, dword [ebx + 0xc60]
test eax, eax
je 0x414dd0
test byte [esi + 0x81], 0x20
jne 0x414dd0
mov dword [esp], eax
mov edx, 0x3b
mov dword [esp + 4], edx
call sub.cygwin1.dll_strchr
test eax, eax
je 0x414da6
mov dword [esp], esi
inc eax
mov dword [esp + 4], eax
call fcn.004118a0
mov ebx, dword [esi]
mov eax, dword [ebx + 0xc60]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00412450
mov dword [esp], esi
mov eax, 1
mov dword [esp + 4], eax
call fcn.0040bdd0
lea esi, [esi]
mov dword [ebp - 0x64], 1
mov eax, dword [esi + 0x44]
lea edi, [ebp - 0xa8]
mov edx, dword [esi + 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [edx]
mov dword [ebp - 0xa0], eax
mov eax, dword [edx + 4]
mov dword [esp + 0xc], edi
mov dword [ebp - 0x9c], eax
mov eax, 0x1400c
mov dword [esp + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041ebea
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0xd0]
mov ebx, dword [esi]
mov eax, dword [eax + 0x430]
mov dword [esp + 0xc], edi
mov dword [ebp - 0xa0], eax
mov eax, 4
mov dword [esp + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041ebea
mov dword [ebx + 0xf0], eax
mov eax, dword [esi + 0xd0]
mov ebx, dword [esi]
mov eax, dword [eax + 0x434]
mov dword [esp + 0xc], edi
mov dword [ebp - 0xa0], eax
mov eax, 4
mov dword [esp + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041ebea
cmp dword [esi + 0xdc], 2
mov dword [ebx + 0xf4], eax
mov eax, dword [esi + 0xd0]
jle 0x414ea5
add eax, 0x428
mov eax, dword [eax]
mov ecx, 4
mov ebx, dword [esi]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
mov dword [ebp - 0xa0], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call fcn.0041ebea
mov dword [ebx + 0xec], eax
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x148]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x84]
mov edx, dword [edi + 0x8c]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + edx + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0041fa17
mov eax, dword [ebp - 0x134]
mov dword [esi + 0xdc], eax
jmp 0x414a30
mov eax, 0x18
mov edx, dword [esi]
xor edi, edi
mov dword [esi + 0xdc], eax
mov eax, dword [ebp - 0x178]
mov dword [edx + 0xbc], eax
mov dword [esp + 0xc], edi
mov eax, dword [edx + 0xbc]
mov dword [esp + 8], eax
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 0x84]
mov ecx, dword [edx + 0x8c]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + ecx + 8]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0041eb72
mov dword [esi + 0xcc], eax
jmp 0x414a30