Function at 0x41ec44
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 0x41ec80
xor eax, eax
inc eax
jmp 0x41f408
lea ecx, [esp + 0x14]
call fcn.0040d268
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 0x41ecb8
xor esi, esi
inc esi
jmp 0x41f3f4
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.004292e0
lea ecx, [esp + 0x14]
call fcn.0040839f
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 0x41f3da
cmp dword [esp + 0x38], ebx
jne 0x41f3da
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xc8]
call fcn.0040348d
lea ecx, [esp + 0x38]
call fcn.00429350
push ecx
push ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x2e
push eax
lea ecx, [esp + 0xc8]
call fcn.004075a0
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 0x41ed72
mov esi, ebx
jmp 0x41ef7f
push esi
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x3c]
call fcn.004061f0
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.004066d0
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.004385e2
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.00405e80
test al, al
jne 0x41ee56
cmp dword [esp + 0x8c], 8
lea ecx, [esp + 0x78]
mov edx, str..exe
cmovae ecx, dword [esp + 0x78]
call fcn.00405ec0
test al, al
je 0x41ee4c
push 0xffffffffffffffff
xor edi, edi
lea eax, [esp + 0xd8]
push edi
push eax
lea ecx, [esp + 0x84]
call fcn.0040348d
inc bl
jmp 0x41efb3
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x41ef6f
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.004075a0
cmp eax, 0xffffffff
je 0x41ef5e
lea esi, [eax + 1]
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x68]
lea ecx, [esp + 0x40]
call fcn.00406300
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.004061f0
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 0x45a280
push eax
mov dword [esp + 0x54], edi
call fcn.00406420
add esp, 0xc
lea ecx, [esp + 0x38]
push 2
pop edx
call fcn.004070c0
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.00406940
lea ecx, [esp + 0x38]
push edi
push 1
test eax, eax
je 0x41ef9f
call fcn.00403547
inc esi
cmp esi, 0x3e7
jbe 0x41eee6
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 0x41f3e5
call fcn.00403547
push edi
push 1
lea ecx, [esp + 0x98]
call fcn.00403547
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x41efee
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 0x41efee
mov esi, 0x458634
push esi
call fcn.004385e2
pop ecx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.00403786
mov ecx, dword [esp + 0x70]
test bl, bl
je 0x41f0d3
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 str._.03d_s
push eax
call fcn.00406420
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0xa4]
call fcn.004076b0
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.0040d268
lea ecx, [esp + 0x14]
call fcn.0040839f
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 0x41f0b1
push ecx
lea ecx, [esp + 0x14]
call fcn.0040d2a0
test al, al
jne 0x41f0b1
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 0x41f0d6
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 0x41ef68
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 0x41f108
push str.file
lea ecx, [esp + 0x108]
call fcn.00406630
jmp 0x41f132
lea eax, [ecx - 1]
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x3c]
call fcn.004061f0
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 0x41f193
push 0x45a2a8
lea ecx, [esp + 0x3c]
call fcn.00406630
jmp 0x41f1b8
cmp dword [esp + 0x8c], 8
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push eax
push ebx
lea eax, [esp + 0x40]
push str._.03d_s
push eax
call fcn.00406420
add esp, 0x10
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x94]
call fcn.004076b0
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.0040d268
lea ecx, [esp + 0x14]
call fcn.0040839f
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 0x41f361
push ecx
lea ecx, [esp + 0x14]
call fcn.0040d2a0
test al, al
jne 0x41f361
lea edx, [esp + 0xbc]
lea ecx, [esp + 0xec]
call fcn.00405e80
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 0x41f289
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.0040d24b
call fcn.0041f41f
test al, al
je 0x41f365
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.0040d24b
call fcn.0041f41f
test al, al
je 0x41f365
lea ecx, [esp + 0x90]
call fcn.004292e0
lea ecx, [esp + 0x14]
call fcn.0040839f
lea ecx, [esp + 0x90]
push ecx
push 7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x41f353
cmp dword [esp + 0x90], 3
jne 0x41f353
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.00429350
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.0040969c
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x30]
call fcn.0041f430
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 0x41f34e
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 0x41f16b
xor ebx, ebx
inc ebx
jmp 0x41f36a
lea ecx, [esp + 0x90]
call fcn.00429350
jmp 0x41f365
test ebx, ebx
jne 0x41f381
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 0x41f3b1
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 0x41f3af
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp eax, 2
jae 0x41f3b5
mov esi, ebx
xor edi, edi
jmp 0x41f3b9
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 0x41ef71
lea ecx, [esp + 0x38]
call fcn.00429350
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.00437430
mov esp, ebp
pop ebp
ret 0x10