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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x45b87c]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 8]
mov eax, dword [ecx]
mov esi, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], esi
call dword [eax + 0x14]
test esi, esi
je 0x41f777
lea eax, [esp + 0x1c]
call fcn.0040ede8
mov ecx, esi
lea esi, [esp + 0x20]
call fcn.00408f9c
mov esi, dword [esp + 0x20]
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
call fcn.004158e5
push eax
push 0x1402
mov ecx, esi
call dword [ebx]
test eax, eax
jne 0x41f765
push 7
pop esi
xor ebx, ebx
lea eax, [esp + 0x118]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
call fcn.0042b907
lea eax, [esp + 0x1c]
call fcn.00433af1
mov edx, dword [eax]
lea ecx, [esp + 0x118]
push ecx
push 4
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x41f74a
lea eax, [esp + 0x118]
call fcn.00433af1
cmp eax, 1
jne 0x41f74a
push 0xffffffffffffffff
lea eax, [esp + 0x11c]
call fcn.0042b943
lea ecx, [esp + 0xac]
push ecx
call fcn.00402b4a
lea eax, [esp + 0x118]
call fcn.0042b920
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0x18], 0x2e
call fcn.00405a95
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
jne 0x41f064
xor edi, edi
inc edi
push ebx
push edi
lea esi, [esp + 0x94]
call fcn.00402c3e
push ebx
push edi
lea esi, [esp + 0x78]
call fcn.00402c3e
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.00402c3e
lea eax, [esp + 0x20]
call fcn.004158d9
lea eax, [esp + 0x1c]
call fcn.004158d9
mov eax, edi
jmp 0x41f77a
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x40]
call fcn.004063b1
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x74]
push ecx
xor ebx, ebx
call fcn.00402b4a
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402c3e
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov ebx, dword [esp + 0x18]
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x58], 7
call fcn.00402b4a
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
xor ebx, ebx
lea eax, [esp + 0x40]
call fcn.00402b4a
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402c3e
mov eax, 0x4500bc
lea ecx, [esp + 0xc4]
call fcn.00402858
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x13], bl
call fcn.00406107
test al, al
jne 0x41f141
push 0x44f770
lea eax, [esp + 0x90]
call fcn.00406133
test al, al
pop ecx
je 0x41f734
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xcc]
call fcn.00402b4a
mov byte [esp + 0x13], 1
jmp 0x41f26b
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0x18], 0x2e
call fcn.00405a95
cmp eax, 0xffffffff
jne 0x41f180
lea esi, [esp + 0x54]
xor edi, edi
inc edi
push ebx
push edi
call fcn.00402c3e
jmp 0x41f737
lea edi, [eax + 1]
lea eax, [esp + 0x38]
push eax
or edx, 0xffffffff
mov ecx, edi
lea eax, [esp + 0x74]
call fcn.00406411
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
push ecx
xor ebx, ebx
call fcn.00402b4a
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402c3e
lea eax, [esp + 0x70]
push edi
push eax
lea eax, [esp + 0x40]
call fcn.004063b1
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x74]
push ecx
call fcn.00402b4a
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x40]
call fcn.00402c3e
mov dword [esp + 0x14], edi
push dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push 0x451d44
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00406480
lea eax, [esp + 0x40]
push 2
push eax
call fcn.004057e5
mov eax, dword [esp + 0x68]
add esp, 0x10
cmp dword [esp + 0x6c], 8
jae 0x41f221
lea eax, [esp + 0x58]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x3c]
call fcn.00406891
test eax, eax
push ebx
lea esi, [esp + 0x3c]
push 1
je 0x41f256
call fcn.00402c3e
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x3e7
jbe 0x41f1e0
jmp 0x41f16d
call fcn.00402c3e
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402c3e
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x41f29b
lea edi, [eax - 1]
lea eax, [esp + 0x70]
call fcn.00405a29
cmp word [eax], 0x2e
je 0x41f297
push 0x44fffc
lea eax, [esp + 0x74]
push eax
call fcn.00402893
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x13], bl
je 0x41f359
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jae 0x41f2ce
lea eax, [esp + 0x90]
push eax
push 1
push str._.03d_s
lea ecx, [esp + 0x44]
call fcn.00406480
add esp, 0xc
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x78]
call fcn.00405b82
pop ecx
pop ecx
lea eax, [esp + 0x14]
call fcn.0040ede8
lea eax, [esp + 0x1c]
call fcn.00433af1
mov esi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
call fcn.004158e5
mov ecx, dword [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x5c]
push eax
call dword [esi + 0x1c]
test eax, eax
jne 0x41f392
lea eax, [esp + 0x14]
call fcn.00408f83
test al, al
jne 0x41f392
lea eax, [esp + 0x14]
call fcn.004158d9
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402c3e
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402c3e
mov eax, dword [esp + 0x84]
cmp eax, 1
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], bx
jae 0x41f3b0
mov eax, str.file
lea esi, [esp + 0xfc]
call fcn.00402bd1
jmp 0x41f3df
lea eax, [esp + 0x14]
call fcn.004158d9
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402c3e
lea esi, [esp + 0x38]
jmp 0x41f171
dec eax
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x40]
call fcn.004063b1
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x100]
push ecx
xor ebx, ebx
call fcn.00402b4a
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402c3e
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
mov byte [esp + 0x13], bl
call fcn.004158e5
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jne 0x41f43b
mov eax, 0x451d6c
lea esi, [esp + 0x54]
call fcn.00402bd1
jmp 0x41f469
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x41f453
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push str._.03d_s
call fcn.00406480
add esp, 0xc
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x78]
call fcn.00405b82
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0xe4]
push ecx
xor ebx, ebx
call fcn.00402b4a
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402c3e
lea eax, [esp + 0x18]
call fcn.0040ede8
lea eax, [esp + 0x1c]
call fcn.00433af1
push dword [esp + 0x24]
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0xe8]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
jne 0x41f693
lea eax, [esp + 0x18]
call fcn.00408f83
test al, al
jne 0x41f693
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xe0]
call fcn.00406107
test al, al
je 0x41f4f6
mov byte [esp + 0x13], 1
cmp dword [esp + 0x14], ebx
jne 0x41f52e
push ecx
lea eax, [esp + 0x1c]
mov esi, esp
call fcn.00408f50
call fcn.0041f78f
test al, al
je 0x41f5ea
push ecx
lea eax, [esp + 0x1c]
mov esi, esp
call fcn.00408f50
call fcn.0041f78f
test al, al
je 0x41f5ea
lea eax, [esp + 0x118]
call fcn.0042b907
lea eax, [esp + 0x1c]
call fcn.00433af1
mov edx, dword [eax]
lea ecx, [esp + 0x118]
push ecx
push 7
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x41f61f
lea eax, [esp + 0x118]
call fcn.00433af1
cmp eax, 3
jne 0x41f61f
lea ecx, [esp + 0x118]
call fcn.0042b947
mov esi, eax
mov eax, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
call fcn.0042b920
add dword [edi + 0x58], esi
mov eax, dword [esp + 0x2c]
adc dword [edi + 0x5c], eax
lea eax, [esp + 0x28]
push eax
lea eax, [edi + 0x44]
call fcn.0040b24e
lea eax, [esp + 0x18]
lea esi, [edi + 0x34]
push eax
call fcn.0041f79d
mov eax, esi
call fcn.00415bd9
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push ebx
push ebx
push ebx
push eax
call dword [edx + 0x14]
cmp eax, ebx
jne 0x41f61b
inc dword [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.004158d9
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402c3e
xor ebx, ebx
jmp 0x41f414
lea eax, [esp + 0x18]
call fcn.004158d9
push ebx
lea esi, [esp + 0x58]
xor edi, edi
inc edi
push edi
call fcn.00402c3e
push ebx
push edi
lea esi, [esp + 0xe8]
call fcn.00402c3e
lea esi, [esp + 0xfc]
jmp 0x41f174
mov edi, eax
jmp 0x41f62e
lea eax, [esp + 0x118]
call fcn.0042b920
xor edi, edi
inc edi
lea eax, [esp + 0x18]
call fcn.004158d9
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402c3e
push ebx
push 1
lea esi, [esp + 0xe8]
call fcn.00402c3e
push ebx
push 1
lea esi, [esp + 0x104]
call fcn.00402c3e
push ebx
push 1
lea esi, [esp + 0xcc]
call fcn.00402c3e
push ebx
push 1
lea esi, [esp + 0x94]
call fcn.00402c3e
push ebx
push 1
lea esi, [esp + 0x78]
call fcn.00402c3e
push ebx
push 1
jmp 0x41f03f
lea eax, [esp + 0x18]
call fcn.004158d9
cmp dword [esp + 0x14], ebx
push ebx
lea esi, [esp + 0x58]
je 0x41f5f8
push 1
call fcn.00402c3e
cmp byte [esp + 0x13], bl
jne 0x41f6bd
xor edi, edi
inc edi
jmp 0x41f643
lea eax, [edi + 0x34]
call fcn.00415bd9
cmp eax, 2
jb 0x41f6b8
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0xe8]
call fcn.00402c3e
push ebx
push edi
lea esi, [esp + 0x104]
call fcn.00402c3e
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.00402c3e
push ebx
push edi
lea esi, [esp + 0x94]
call fcn.00402c3e
push ebx
push edi
lea esi, [esp + 0x78]
call fcn.00402c3e
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.00402c3e
lea eax, [esp + 0x20]
call fcn.004158d9
lea eax, [esp + 0x1c]
call fcn.004158d9
xor eax, eax
jmp 0x41f77a
xor edi, edi
inc edi
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.00402c3e
jmp 0x41f024
lea eax, [esp + 0x118]
call fcn.0042b920
push ebx
push 1
lea esi, [esp + 0xb0]
call fcn.00402c3e
lea eax, [esp + 0x20]
call fcn.004158d9
lea eax, [esp + 0x1c]
call fcn.004158d9
xor eax, eax
inc eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00436f2c
mov esp, ebp
pop ebp
ret