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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x15c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x130], ebx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x138], edx
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x13c], edi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x140], esi
mov dword [ebp - 0xec], 0x4060d0
mov dword [ebp - 0xe8], 0x4364f0
lea eax, [ebp - 0x18]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 0x41e330
mov dword [ebp - 0xdc], esp
lea ebx, [ebp - 0x104]
sub esp, 0xc
push ebx
call fcn.00412b80
pop eax
pop edx
mov ecx, dword [ebp - 0x13c]
add ecx, 0x68
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00409b10
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x100], 1
call fcn.004348f0
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0040d620
mov dword [ebp - 0x148], eax
pop eax
mov esi, dword [ebp + 0x20]
push esi
call sub.cygwin1.dll_strlen
add esp, 0x10
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], 0
sub esp, 0xc
mov edx, dword [ebp - 0x134]
push edx
mov dword [ebp - 0x100], 1
call fcn.00416350
pop edx
inc eax
sete byte [ebp - 0x151]
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.00416350
add esp, 0x10
inc eax
sete al
xor edx, edx
cmp byte [ebp - 0x151], 0
je 0x41e31a
test al, al
jne 0x41e310
xor edx, 1
test dl, dl
je 0x41e2dd
mov edi, dword [ebp - 0x14c]
cmp dword [ebp - 0x150], edi
jae 0x41e2dd
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebx]
test esi, esi
jne 0x41e2dd
mov edi, dword [ebp + 0x20]
mov edx, dword [ebp - 0x150]
mov cl, byte [edx + edi]
mov byte [ebp - 0x152], cl
cmp cl, 0x25
je 0x41db50
sub esp, 0xc
mov edx, dword [ebp - 0x134]
push edx
mov dword [ebp - 0x100], 1
call fcn.00416350
add esp, 0xc
mov ebx, dword [ebp - 0x148]
mov esi, dword [ebx]
push 0
movsx ecx, al
push ecx
push ebx
call dword [esi + 0x30]
add esp, 0x10
movsx edx, al
cmp byte [ebp - 0x152], dl
je 0x41db07
mov ebx, dword [ebp - 0x140]
or dword [ebx], 4
inc dword [ebp - 0x150]
jmp 0x41da23
mov esi, dword [ebp - 0x134]
mov dword [ebp - 0x168], esi
mov eax, dword [esi]
test eax, eax
jne 0x41db28
mov eax, dword [ebp - 0x168]
mov dword [eax + 4], 0xffffffff
jmp 0x41dafc
sub esp, 0xc
push eax
call fcn.0042fb80
add esp, 0x10
inc eax
jne 0x41db19
mov eax, dword [ebp - 0x134]
mov dword [eax], 0
jmp 0x41dafc
inc edx
mov dword [ebp - 0x150], edx
mov ebx, dword [ebp + 0x20]
mov cl, byte [edx + ebx]
mov byte [ebp - 0x152], cl
mov dword [ebp - 0x114], 0
cmp cl, 0x45
je 0x41e2c0
cmp cl, 0x4f
je 0x41e2c0
mov al, byte [ebp - 0x152]
sub eax, 0x41
cmp al, 0x38
ja case.0x41db95.2
and eax, 0xff
jmp dword [eax*4 + 0x438d9c]
lea edx, [ebp - 0x58]
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebx + 0x50]
mov dword [ebp - 0x58], edi
mov esi, dword [ebx + 0x54]
mov dword [ebp - 0x54], esi
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x50], ecx
mov edi, dword [ebx + 0x5c]
mov dword [ebp - 0x4c], edi
mov esi, dword [ebx + 0x60]
mov dword [ebp - 0x48], esi
mov ecx, dword [ebx + 0x64]
mov dword [ebp - 0x44], ecx
mov edi, dword [ebx + 0x68]
mov dword [ebp - 0x40], edi
push eax
mov eax, dword [ebp - 0x140]
push eax
push 7
push edx
mov eax, dword [ebp + 0x1c]
add eax, 0x18
push eax
mov edi, dword [ebp - 0x138]
push edi
mov esi, dword [ebp - 0x134]
push esi
mov edx, dword [ebp - 0x130]
push edx
mov dword [ebp - 0x100], 1
call fcn.0041cfe0
add esp, 0x20
jmp 0x41dafc
lea edx, [ebp - 0x78]
mov esi, dword [ebp - 0x144]
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0x78], ebx
mov edi, dword [esi + 0x38]
mov dword [ebp - 0x74], edi
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x70], ecx
mov ebx, dword [esi + 0x40]
mov dword [ebp - 0x6c], ebx
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x68], edi
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0x64], ecx
mov ebx, dword [esi + 0x4c]
mov dword [ebp - 0x60], ebx
jmp 0x41dbcf
lea edx, [ebp - 0xd8]
mov esi, dword [ebp - 0x144]
mov ebx, dword [esi + 0x6c]
mov dword [ebp - 0xd8], ebx
mov ecx, dword [esi + 0x70]
mov dword [ebp - 0xd4], ecx
mov edi, dword [esi + 0x74]
mov dword [ebp - 0xd0], edi
mov ebx, dword [esi + 0x78]
mov dword [ebp - 0xcc], ebx
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0xc8], ecx
mov edi, dword [esi + 0x80]
mov dword [ebp - 0xc4], edi
mov ebx, dword [esi + 0x84]
mov dword [ebp - 0xc0], ebx
mov ecx, dword [esi + 0x88]
mov dword [ebp - 0xbc], ecx
mov edi, dword [esi + 0x8c]
mov dword [ebp - 0xb8], edi
mov ebx, dword [esi + 0x90]
mov dword [ebp - 0xb4], ebx
mov ecx, dword [esi + 0x94]
mov dword [ebp - 0xb0], ecx
mov edi, dword [esi + 0x98]
mov dword [ebp - 0xac], edi
push esi
mov eax, dword [ebp - 0x140]
push eax
push 0xc
push edx
mov eax, dword [ebp + 0x1c]
add eax, 0x10
jmp 0x41dbe0
mov eax, dword [ebp - 0x148]
mov esi, dword [eax]
lea edx, [ebp - 0x38]
push edx
push str._H:_M
push 0x438d82
push eax
mov ebx, dword [esi + 0x2c]
mov dword [ebp - 0x100], 1
call ebx
add esp, 0xc
lea ecx, [ebp - 0x38]
push ecx
mov eax, dword [ebp + 0x1c]
push eax
mov esi, dword [ebp - 0x140]
push esi
mov ebx, dword [ebp - 0x13c]
push ebx
mov edi, dword [ebp - 0x138]
push edi
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call fcn.0041d950
jmp 0x41dc05
sub esp, 0xc
mov ebx, dword [ebp - 0x140]
push ebx
mov edi, dword [ebp - 0x148]
push edi
push 2
push 0x17
push 0
mov eax, dword [ebp + 0x1c]
add eax, 8
push eax
mov ebx, dword [ebp - 0x138]
push ebx
mov esi, dword [ebp - 0x134]
push esi
mov edi, dword [ebp - 0x130]
push edi
mov dword [ebp - 0x100], 1
call fcn.0041c9f0
add esp, 0x30
jmp 0x41dafc
sub esp, 0xc
mov edx, dword [ebp - 0x140]
push edx
mov esi, dword [ebp - 0x148]
push esi
push 2
push 0xc
push 1
jmp 0x41dd5a
sub esp, 0xc
mov edx, dword [ebp - 0x140]
push edx
mov esi, dword [ebp - 0x148]
push esi
push 2
push 0x3b
push 0
mov eax, dword [ebp + 0x1c]
add eax, 4
jmp 0x41dd60
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx]
lea ebx, [ebp - 0x38]
push ebx
push 0x438d91
push str._H:_M
push ecx
mov esi, dword [eax + 0x2c]
mov dword [ebp - 0x100], 1
call esi
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
jmp 0x41dd12
sub esp, 0xc
mov edx, dword [ebp - 0x140]
push edx
mov esi, dword [ebp - 0x148]
push esi
push 2
push 0x3b
push 0
mov eax, dword [ebp + 0x1c]
jmp 0x41dd60
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx]
lea ebx, [ebp - 0x38]
push ebx
push 0x438d9a
push 0x438d91
jmp 0x41dddb
mov ebx, dword [ebp - 0x144]
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0x128], edx
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x124], esi
push eax
push edx
mov ebx, dword [ebp + 0x1c]
push ebx
mov esi, dword [ebp - 0x140]
push esi
mov edi, dword [ebp - 0x13c]
push edi
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov dword [ebp - 0x100], 1
jmp 0x41dd39
sub esp, 0xc
mov ebx, dword [ebp - 0x140]
push ebx
mov esi, dword [ebp - 0x148]
push esi
push 4
push 0x7fffffff
push 0
lea edi, [ebp - 0x114]
push edi
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov dword [ebp - 0x100], 1
call fcn.0041c9f0
add esp, 0x30
mov edx, dword [ebp - 0x140]
mov ecx, dword [edx]
test ecx, ecx
jne 0x41dafc
mov esi, dword [ebp - 0x114]
sub esi, 0x76c
mov edi, dword [ebp + 0x1c]
mov dword [edi + 0x14], esi
jmp 0x41dafc
sub esp, 0xc
mov ebx, dword [ebp - 0x134]
push ebx
mov dword [ebp - 0x100], 1
call fcn.00416350
add esp, 0x10
and eax, 0xff
mov edx, dword [ebp - 0x148]
mov edi, dword [edx + 0x18]
test byte [eax + edi], 1
je 0x41daf3
push eax
mov edx, dword [ebp - 0x140]
push edx
push 0xe
push 0x437040
lea edi, [ebp - 0x12c]
push edi
mov ebx, dword [ebp - 0x138]
push ebx
mov esi, dword [ebp - 0x134]
push esi
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0041cfe0
add esp, 0x14
mov eax, dword [ebp - 0x134]
push eax
call fcn.00416350
add esp, 0x10
mov byte [ebp - 0x161], al
mov esi, dword [ebp - 0x140]
mov ecx, dword [esi]
test ecx, ecx
jne 0x41dafc
mov edi, dword [ebp - 0x12c]
test edi, edi
jne 0x41dafc
sub esp, 8
mov edx, dword [ebp - 0x148]
mov ebx, dword [edx]
push 0x2d
push edx
call dword [ebx + 0x28]
add esp, 0x10
movsx ecx, al
cmp byte [ebp - 0x161], cl
je 0x41dfc9
sub esp, 8
mov eax, dword [ebp - 0x148]
mov esi, dword [eax]
push 0x2b
push eax
call dword [esi + 0x28]
add esp, 0x10
movsx ebx, al
cmp byte [ebp - 0x161], bl
jne 0x41dafc
sub esp, 0xc
mov ebx, dword [ebp - 0x140]
push ebx
mov eax, dword [ebp - 0x148]
push eax
push 2
push 0x17
push 0
lea esi, [ebp - 0x12c]
push esi
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov edi, dword [ebp - 0x130]
push edi
mov dword [ebp - 0x100], 1
call fcn.0041c9f0
add esp, 0x24
mov edi, dword [ebp - 0x140]
push edi
mov ebx, dword [ebp - 0x148]
push ebx
push 2
push 0x3b
push 0
lea esi, [ebp - 0x12c]
push esi
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov edi, dword [ebp - 0x130]
push edi
jmp 0x41dd80
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x110], edx
mov ebx, dword [ecx + 0x24]
mov dword [ebp - 0x10c], ebx
jmp 0x41de46
sub esp, 0xc
mov edi, dword [ebp - 0x140]
push edi
mov edx, dword [ebp - 0x148]
push edx
push 2
push 0x1f
push 1
mov eax, dword [ebp + 0x1c]
add eax, 0xc
jmp 0x41dd60
lea edx, [ebp - 0xa8]
mov edi, dword [ebp - 0x144]
mov ebx, dword [edi + 0x9c]
mov dword [ebp - 0xa8], ebx
mov ecx, dword [edi + 0xa0]
mov dword [ebp - 0xa4], ecx
mov esi, dword [edi + 0xa4]
mov dword [ebp - 0xa0], esi
mov ebx, dword [edi + 0xa8]
mov dword [ebp - 0x9c], ebx
mov ecx, dword [edi + 0xac]
mov dword [ebp - 0x98], ecx
mov esi, dword [edi + 0xb0]
mov dword [ebp - 0x94], esi
mov ebx, dword [edi + 0xb4]
mov dword [ebp - 0x90], ebx
mov ecx, dword [edi + 0xb8]
mov dword [ebp - 0x8c], ecx
mov esi, dword [edi + 0xbc]
mov dword [ebp - 0x88], esi
mov ebx, dword [edi + 0xc0]
mov dword [ebp - 0x84], ebx
mov ecx, dword [edi + 0xc4]
mov dword [ebp - 0x80], ecx
mov esi, dword [edi + 0xc8]
mov dword [ebp - 0x7c], esi
jmp 0x41dccf
sub esp, 0xc
mov edx, dword [ebp - 0x140]
push edx
mov esi, dword [ebp - 0x148]
push esi
push 2
push 0xc
push 1
lea ebx, [ebp - 0x114]
push ebx
mov edi, dword [ebp - 0x138]
push edi
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov dword [ebp - 0x100], 1
call fcn.0041c9f0
add esp, 0x30
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
test ecx, ecx
jne 0x41dafc
mov ebx, dword [ebp - 0x114]
dec ebx
mov edi, dword [ebp + 0x1c]
mov dword [edi + 0x10], ebx
jmp 0x41dafc
sub esp, 0xc
mov ecx, dword [ebp - 0x134]
push ecx
mov dword [ebp - 0x100], 1
call fcn.00416350
add esp, 0xc
mov ebx, dword [ebp - 0x148]
mov edi, dword [ebx]
push 0
movsx esi, al
push esi
push ebx
call dword [edi + 0x30]
add esp, 0x10
movsx edx, al
cmp dl, 0xa
jne 0x41daf3
mov edi, dword [ebp - 0x134]
mov dword [ebp - 0x158], edi
mov eax, dword [edi]
test eax, eax
jne 0x41e1eb
mov eax, dword [ebp - 0x158]
jmp 0x41db1f
sub esp, 0xc
push eax
call fcn.0042fb80
add esp, 0x10
inc eax
je 0x41db37
jmp 0x41e1e0
sub esp, 0xc
mov ecx, dword [ebp - 0x134]
push ecx
mov dword [ebp - 0x100], 1
call fcn.00416350
add esp, 0xc
mov ebx, dword [ebp - 0x148]
mov edi, dword [ebx]
push 0
movsx esi, al
push esi
push ebx
call dword [edi + 0x30]
add esp, 0x10
movsx edx, al
cmp dl, 9
jne 0x41daf3
mov edi, dword [ebp - 0x134]
mov dword [ebp - 0x15c], edi
mov eax, dword [edi]
test eax, eax
jne 0x41e25a
mov eax, dword [ebp - 0x15c]
jmp 0x41db1f
sub esp, 0xc
push eax
call fcn.0042fb80
add esp, 0x10
inc eax
je 0x41db37
jmp 0x41e24f
mov eax, dword [ebp - 0x140]
or dword [eax], 4
jmp 0x41dafc
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x120], edx
mov edi, dword [ecx + 0x14]
mov dword [ebp - 0x11c], edi
jmp 0x41de46
sub esp, 0xc
mov ecx, dword [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x148]
push edx
push 2
push 0x63
push 0
mov eax, dword [ebp + 0x1c]
add eax, 0x14
jmp 0x41dd60
inc dword [ebp - 0x150]
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp - 0x150]
mov cl, byte [eax + esi]
mov byte [ebp - 0x152], cl
jmp 0x41db7f
sub esp, 0xc
lea esi, [ebp - 0x28]
push esi
call fcn.0040b310
lea edi, [ebp - 0x104]
mov dword [esp], edi
call fcn.00412bf0
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 1
jmp 0x41da6f
test al, al
jne 0x41da6f
jmp 0x41e310