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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x464628]
xor eax, esp
mov dword [esp + 0x110], eax
mov dword [esp + 0xc], ecx
add ecx, 8
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov eax, dword [ecx]
push edi
mov dword [esp + 0x20], ebx
call dword [eax + 0x14]
test ebx, ebx
jne 0x41ee89
xor eax, eax
inc eax
jmp 0x41f611
lea ecx, [esp + 0x14]
call fcn.0040d357
push ebx
lea ecx, [esp + 0x20]
call fcn.0040422b
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov edi, dword [esi]
call fcn.00403a72
push eax
push 0x1402
mov ecx, esi
call dword [edi]
test eax, eax
je 0x41eec1
xor esi, esi
inc esi
jmp 0x41f5fd
and dword [esp + 0xcc], 0
lea ecx, [esp + 0x38]
push 7
pop edi
xor eax, eax
mov dword [esp + 0xd0], edi
mov word [esp + 0xbc], ax
call fcn.004294f0
lea ecx, [esp + 0x14]
call fcn.0040844f
lea ecx, [esp + 0x38]
push ecx
push 4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x41f5e3
cmp dword [esp + 0x38], ebx
jne 0x41f5e3
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xc8]
call fcn.0040348d
lea ecx, [esp + 0x38]
call fcn.00429560
push ecx
push ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x2e
push eax
lea ecx, [esp + 0xc8]
call fcn.00407650
and dword [esp + 0x70], 0
mov esi, eax
xor eax, eax
mov dword [esp + 0x74], edi
and dword [esp + 0x88], eax
mov word [esp + 0x60], ax
mov dword [esp + 0x8c], edi
mov word [esp + 0x78], ax
cmp esi, 0xffffffff
jne 0x41ef7b
mov esi, ebx
jmp 0x41f188
push esi
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x3c]
call fcn.00406230
pop ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0040341a
push 0
push ebx
lea ecx, [esp + 0x40]
call fcn.00403547
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xc8]
call fcn.00406710
push eax
lea ecx, [esp + 0x7c]
call fcn.0040341a
push 0
push ebx
lea ecx, [esp + 0x40]
call fcn.00403547
and dword [esp + 0xe4], 0
xor eax, eax
mov esi, 0x458670
mov dword [esp + 0xe8], edi
push esi
mov word [esp + 0xd8], ax
call fcn.00438822
pop ecx
push eax
push esi
lea ecx, [esp + 0xdc]
call fcn.00403829
lea edx, [esp + 0xd4]
xor bl, bl
lea ecx, [esp + 0x78]
call fcn.00405ec0
test al, al
jne 0x41f05f
cmp dword [esp + 0x8c], 8
lea ecx, [esp + 0x78]
mov edx, str..exe
cmovae ecx, dword [esp + 0x78]
call fcn.00405f00
test al, al
je 0x41f055
push 0xffffffffffffffff
xor edi, edi
lea eax, [esp + 0xd8]
push edi
push eax
lea ecx, [esp + 0x84]
call fcn.0040348d
inc bl
jmp 0x41f1bc
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x41f178
xor eax, eax
mov dword [esp + 0xa4], edi
push 0x2e
mov word [esp + 0x94], ax
xor edi, edi
pop eax
push ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0xac], edi
call fcn.00407650
cmp eax, 0xffffffff
je 0x41f167
lea esi, [eax + 1]
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x68]
lea ecx, [esp + 0x40]
call fcn.00406340
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.0040341a
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00403547
push esi
lea edx, [esp + 0x64]
lea ecx, [esp + 0x3c]
call fcn.00406230
pop ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0040341a
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00403547
xor esi, esi
inc esi
xor eax, eax
mov dword [esp + 0x4c], 7
push esi
mov word [esp + 0x3c], ax
lea eax, [esp + 0x3c]
push str._.3d
push eax
mov dword [esp + 0x54], edi
call fcn.00406460
add esp, 0xc
lea ecx, [esp + 0x38]
push 2
pop edx
call fcn.00407170
cmp dword [esp + 0xa4], 8
lea eax, [esp + 0x90]
push dword [esp + 0xa0]
cmovae eax, dword [esp + 0x94]
push eax
push dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x48]
call fcn.00406980
lea ecx, [esp + 0x38]
push edi
push 1
test eax, eax
je 0x41f1a8
call fcn.00403547
inc esi
cmp esi, 0x3e7
jbe 0x41f0ef
xor ebx, ebx
lea ecx, [esp + 0x90]
inc ebx
push edi
push ebx
call fcn.00403547
mov esi, ebx
push edi
push ebx
lea ecx, [esp + 0xdc]
call fcn.00403547
push 0
push ebx
lea ecx, [esp + 0x80]
call fcn.00403547
push 0
push ebx
lea ecx, [esp + 0x68]
call fcn.00403547
jmp 0x41f5ee
call fcn.00403547
push edi
push 1
lea ecx, [esp + 0x98]
call fcn.00403547
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x41f1f7
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x60]
push 0x2e
cmovae eax, dword [esp + 0x64]
pop edx
cmp word [eax + ecx*2 - 2], dx
je 0x41f1f7
mov esi, 0x458634
push esi
call fcn.00438822
pop ecx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.00403786
mov ecx, dword [esp + 0x70]
test bl, bl
je 0x41f2dc
xor eax, eax
mov dword [esp + 0x4c], 7
cmp dword [esp + 0x8c], 8
mov word [esp + 0x38], ax
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
xor ebx, ebx
push eax
inc ebx
mov dword [esp + 0x4c], edi
push ebx
lea eax, [esp + 0x40]
push 0x45a280
push eax
call fcn.00406460
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0xa4]
call fcn.00407760
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.0040d357
lea ecx, [esp + 0x14]
call fcn.0040844f
mov esi, eax
lea ecx, [esp + 0x10]
push ebx
mov edi, dword [esi]
call fcn.00403a72
push eax
push ebx
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
call dword [edi + 0x1c]
test eax, eax
jne 0x41f2ba
push ecx
lea ecx, [esp + 0x14]
call fcn.0040d38f
test al, al
jne 0x41f2ba
lea ecx, [esp + 0x10]
call fcn.00404246
xor edi, edi
lea ecx, [esp + 0x90]
push edi
push ebx
call fcn.00403547
push edi
push ebx
lea ecx, [esp + 0x40]
call fcn.00403547
mov ecx, dword [esp + 0x70]
jmp 0x41f2df
lea ecx, [esp + 0x10]
call fcn.00404246
xor edi, edi
lea ecx, [esp + 0x90]
push edi
push ebx
call fcn.00403547
lea ecx, [esp + 0x38]
jmp 0x41f171
xor ebx, ebx
inc ebx
push 7
xor eax, eax
mov dword [esp + 0x118], edi
mov word [esp + 0x108], ax
pop esi
mov dword [esp + 0x118], esi
cmp ecx, ebx
jae 0x41f311
push str.file
lea ecx, [esp + 0x108]
call fcn.00406670
jmp 0x41f33b
lea eax, [ecx - 1]
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x3c]
call fcn.00406230
pop ecx
push eax
lea ecx, [esp + 0x108]
call fcn.0040341a
push edi
push ebx
lea ecx, [esp + 0x40]
call fcn.00403547
mov edi, dword [esp + 0x18]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xfc], ecx
mov ebx, ecx
mov dword [esp + 0x100], esi
mov word [esp + 0xec], ax
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], eax
call fcn.00403a72
mov esi, eax
mov dword [esp + 0x24], esi
and dword [esp + 0x48], 0
xor eax, eax
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], ax
test ebx, ebx
jne 0x41f39c
push 0x45a29c
lea ecx, [esp + 0x3c]
call fcn.00406670
jmp 0x41f3c1
cmp dword [esp + 0x8c], 8
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push eax
push ebx
lea eax, [esp + 0x40]
push 0x45a280
push eax
call fcn.00406460
add esp, 0x10
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x94]
call fcn.00407760
pop ecx
push eax
lea ecx, [esp + 0xf0]
call fcn.0040341a
push 0
push 1
lea ecx, [esp + 0x98]
call fcn.00403547
lea ecx, [esp + 0x10]
call fcn.0040d357
lea ecx, [esp + 0x14]
call fcn.0040844f
push 1
push esi
push 0
mov edx, dword [eax]
lea ecx, [esp + 0xf8]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
jne 0x41f56a
push ecx
lea ecx, [esp + 0x14]
call fcn.0040d38f
test al, al
jne 0x41f56a
lea edx, [esp + 0xbc]
lea ecx, [esp + 0xec]
call fcn.00405ec0
mov ecx, dword [esp + 0x34]
test al, al
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [esp + 0x34], ecx
test ebx, ebx
jne 0x41f492
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.0040d33a
call fcn.0041f628
test al, al
je 0x41f56e
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.0040d33a
call fcn.0041f628
test al, al
je 0x41f56e
lea ecx, [esp + 0x90]
call fcn.004294f0
lea ecx, [esp + 0x14]
call fcn.0040844f
lea ecx, [esp + 0x90]
push ecx
push 7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x41f55c
cmp dword [esp + 0x90], 3
jne 0x41f55c
mov edi, dword [esp + 0xb0]
lea ecx, [esp + 0x90]
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
call fcn.00429560
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
add dword [ecx + 0x48], edi
mov edi, ecx
adc dword [edi + 0x4c], esi
lea ecx, [edi + 0x3c]
call fcn.00409750
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x30]
call fcn.0041f639
mov edx, dword [esp + 0x20]
xor esi, esi
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
push esi
mov eax, dword [edx]
push esi
sar ecx, 2
push esi
push ecx
mov ecx, edx
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jne 0x41f557
lea ecx, [esp + 0x10]
inc ebx
call fcn.00404246
xor eax, eax
lea ecx, [esp + 0x38]
push esi
inc eax
push eax
call fcn.00403547
mov esi, dword [esp + 0x24]
jmp 0x41f374
xor ebx, ebx
inc ebx
jmp 0x41f573
lea ecx, [esp + 0x90]
call fcn.00429560
jmp 0x41f56e
test ebx, ebx
jne 0x41f58a
xor ebx, ebx
inc ebx
mov esi, ebx
lea ecx, [esp + 0x10]
call fcn.00404246
push 0
push ebx
lea ecx, [esp + 0x40]
call fcn.00403547
jmp 0x41f5ba
lea ecx, [esp + 0x10]
call fcn.00404246
xor ebx, ebx
lea ecx, [esp + 0x38]
push 0
inc ebx
push ebx
call fcn.00403547
mov eax, dword [esp + 0x34]
test al, al
je 0x41f5b8
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp eax, 2
jae 0x41f5be
mov esi, ebx
xor edi, edi
jmp 0x41f5c2
xor edi, edi
mov esi, edi
push edi
push ebx
lea ecx, [esp + 0xf4]
call fcn.00403547
push edi
push ebx
lea ecx, [esp + 0x10c]
call fcn.00403547
jmp 0x41f17a
lea ecx, [esp + 0x38]
call fcn.00429560
mov esi, ebx
push 0
push ebx
lea ecx, [esp + 0xc4]
call fcn.00403547
lea ecx, [esp + 0x1c]
call fcn.00404246
lea ecx, [esp + 0x14]
call fcn.00404246
mov eax, esi
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00437670
mov esp, ebp
pop ebp
ret 0x10