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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 0x108], 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 0x4236a7
xor eax, eax
inc eax
jmp 0x423e20
lea ecx, [esp + 0x14]
call fcn.0040891c
push ebx
lea ecx, [esp + 0x20]
call fcn.00408979
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov edi, dword [esi]
call fcn.00401b00
push eax
push 0x1402
mov ecx, esi
call dword [edi]
test eax, eax
je 0x4236df
xor esi, esi
inc esi
jmp 0x423e0c
and dword [esp + 0xc4], 0
lea ecx, [esp + 0x30]
push 7
pop edi
xor eax, eax
mov dword [esp + 0xc8], edi
mov word [esp + 0xb4], ax
call fcn.00410ff0
lea ecx, [esp + 0x14]
call fcn.0040892e
lea ecx, [esp + 0x30]
push ecx
push 4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x423df2
cmp dword [esp + 0x30], ebx
jne 0x423df2
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc0]
call fcn.00401a6e
lea ecx, [esp + 0x30]
call fcn.00411060
push ecx
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x2e
push eax
lea ecx, [esp + 0xc0]
call fcn.004031ab
and dword [esp + 0x68], 0
mov esi, eax
xor eax, eax
mov dword [esp + 0x6c], edi
and dword [esp + 0x80], eax
mov word [esp + 0x58], ax
mov dword [esp + 0x84], edi
mov word [esp + 0x70], ax
cmp esi, 0xffffffff
jne 0x423799
mov esi, ebx
jmp 0x42399a
push esi
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x34]
call fcn.0040c860
pop ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.00401f36
push 0
push ebx
lea ecx, [esp + 0x38]
call fcn.004017f1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xc0]
call fcn.00401f6d
push eax
lea ecx, [esp + 0x74]
call fcn.00401f36
push 0
push ebx
lea ecx, [esp + 0x38]
call fcn.004017f1
and dword [esp + 0xdc], 0
lea ecx, [esp + 0xcc]
xor eax, eax
mov dword [esp + 0xe0], edi
push str..sfxv
mov word [esp + 0xd0], ax
call fcn.004016c8
lea edx, [esp + 0xcc]
xor bl, bl
lea ecx, [esp + 0x70]
call fcn.0040c4f0
test al, al
jne 0x423871
cmp dword [esp + 0x84], 8
lea ecx, [esp + 0x70]
mov edx, 0x44de94
cmovae ecx, dword [esp + 0x70]
call fcn.0040c530
test al, al
je 0x423867
push 0xffffffffffffffff
xor edi, edi
lea eax, [esp + 0xd0]
push edi
push eax
lea ecx, [esp + 0x7c]
call fcn.00401a6e
inc bl
jmp 0x4239cb
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x42398a
xor eax, eax
mov dword [esp + 0x9c], edi
push 0x2e
mov word [esp + 0x8c], ax
xor edi, edi
pop eax
push ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], edi
call fcn.004031ab
cmp eax, 0xffffffff
je 0x423979
lea esi, [eax + 1]
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x60]
lea ecx, [esp + 0x38]
call fcn.0040c8f0
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x8c]
call fcn.00401f36
push edi
push 1
lea ecx, [esp + 0x38]
call fcn.004017f1
push esi
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x34]
call fcn.0040c860
pop ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.00401f36
push edi
push 1
lea ecx, [esp + 0x38]
call fcn.004017f1
xor esi, esi
inc esi
xor eax, eax
mov dword [esp + 0x44], 7
push esi
mov word [esp + 0x34], ax
lea eax, [esp + 0x34]
push str._.3d
push eax
mov dword [esp + 0x4c], edi
call fcn.0040ca20
add esp, 0xc
lea ecx, [esp + 0x30]
push 2
pop edx
call fcn.0040cc20
cmp dword [esp + 0x9c], 8
lea eax, [esp + 0x88]
push dword [esp + 0x98]
cmovae eax, dword [esp + 0x8c]
push eax
push dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x40]
call fcn.0040321f
lea ecx, [esp + 0x30]
push edi
push 1
test eax, eax
je 0x4239b7
call fcn.004017f1
inc esi
cmp esi, 0x3e7
jbe 0x423901
xor ebx, ebx
lea ecx, [esp + 0x88]
inc ebx
push edi
push ebx
call fcn.004017f1
mov esi, ebx
push edi
push ebx
lea ecx, [esp + 0xd4]
call fcn.004017f1
push 0
push ebx
lea ecx, [esp + 0x78]
call fcn.004017f1
push 0
push ebx
lea ecx, [esp + 0x60]
call fcn.004017f1
jmp 0x423dfd
call fcn.004017f1
push edi
push 1
lea ecx, [esp + 0x90]
call fcn.004017f1
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x423a06
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
push 0x2e
cmovae eax, dword [esp + 0x5c]
pop edx
cmp word [eax + ecx*2 - 2], dx
je 0x423a06
mov esi, 0x44d9d4
push esi
call fcn.0043674b
pop ecx
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.004022af
mov ecx, dword [esp + 0x68]
test bl, bl
je 0x423aeb
xor eax, eax
mov dword [esp + 0x44], 7
cmp dword [esp + 0x84], 8
mov word [esp + 0x30], ax
lea eax, [esp + 0x70]
cmovae eax, dword [esp + 0x70]
xor ebx, ebx
push eax
inc ebx
mov dword [esp + 0x44], edi
push ebx
lea eax, [esp + 0x38]
push 0x44f624
push eax
call fcn.0040ca20
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x9c]
call fcn.00401ff6
add esp, 0x14
lea ecx, [esp + 0xc]
call fcn.0040891c
lea ecx, [esp + 0x14]
call fcn.0040892e
mov esi, eax
lea ecx, [esp + 0xc]
push ebx
mov edi, dword [esi]
call fcn.00401b00
push eax
push ebx
lea eax, [esp + 0x94]
mov ecx, esi
push eax
call dword [edi + 0x1c]
test eax, eax
jne 0x423ac9
push ecx
lea ecx, [esp + 0x10]
call fcn.00408970
test al, al
jne 0x423ac9
lea ecx, [esp + 0xc]
call fcn.00408922
xor edi, edi
lea ecx, [esp + 0x88]
push edi
push ebx
call fcn.004017f1
push edi
push ebx
lea ecx, [esp + 0x38]
call fcn.004017f1
mov ecx, dword [esp + 0x68]
jmp 0x423aee
lea ecx, [esp + 0xc]
call fcn.00408922
xor edi, edi
lea ecx, [esp + 0x88]
push edi
push ebx
call fcn.004017f1
lea ecx, [esp + 0x30]
jmp 0x423983
xor ebx, ebx
inc ebx
push 7
xor eax, eax
mov dword [esp + 0x110], edi
mov word [esp + 0x100], ax
pop esi
mov dword [esp + 0x110], esi
cmp ecx, ebx
jae 0x423b20
push str.file
lea ecx, [esp + 0x100]
call fcn.004016c8
jmp 0x423b4a
lea eax, [ecx - 1]
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x34]
call fcn.0040c860
pop ecx
push eax
lea ecx, [esp + 0x100]
call fcn.00401f36
push edi
push ebx
lea ecx, [esp + 0x38]
call fcn.004017f1
mov edi, dword [esp + 0x18]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xf4], ecx
mov ebx, ecx
mov dword [esp + 0xf8], esi
mov word [esp + 0xe4], ax
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
call fcn.00401b00
mov esi, eax
mov dword [esp + 0x24], esi
and dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
test ebx, ebx
jne 0x423bab
push 0x44f64c
lea ecx, [esp + 0x34]
call fcn.004016c8
jmp 0x423bd0
cmp dword [esp + 0x84], 8
lea eax, [esp + 0x70]
cmovae eax, dword [esp + 0x70]
push eax
push ebx
lea eax, [esp + 0x38]
push 0x44f624
push eax
call fcn.0040ca20
add esp, 0x10
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x8c]
call fcn.00401ff6
pop ecx
push eax
lea ecx, [esp + 0xe8]
call fcn.00401f36
push 0
push 1
lea ecx, [esp + 0x90]
call fcn.004017f1
lea ecx, [esp + 0xc]
call fcn.0040891c
lea ecx, [esp + 0x14]
call fcn.0040892e
push 1
push esi
push 0
mov edx, dword [eax]
lea ecx, [esp + 0xf0]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
jne 0x423d79
push ecx
lea ecx, [esp + 0x10]
call fcn.00408970
test al, al
jne 0x423d79
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xe4]
call fcn.0040c4f0
mov ecx, dword [esp + 0x10]
test al, al
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [esp + 0x10], ecx
test ebx, ebx
jne 0x423ca1
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
push eax
call fcn.00415cd4
call fcn.00423e37
test al, al
je 0x423d7d
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
push eax
call fcn.00415cd4
call fcn.00423e37
test al, al
je 0x423d7d
lea ecx, [esp + 0x88]
call fcn.00410ff0
lea ecx, [esp + 0x14]
call fcn.0040892e
lea ecx, [esp + 0x88]
push ecx
push 7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x423d6b
cmp dword [esp + 0x88], 3
jne 0x423d6b
mov edi, dword [esp + 0xa8]
lea ecx, [esp + 0x88]
mov esi, dword [esp + 0xac]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
call fcn.00411060
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.00423e9e
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x30]
call fcn.00423e48
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 0x423d66
lea ecx, [esp + 0xc]
inc ebx
call fcn.00408922
xor eax, eax
lea ecx, [esp + 0x30]
push esi
inc eax
push eax
call fcn.004017f1
mov esi, dword [esp + 0x24]
jmp 0x423b83
xor ebx, ebx
inc ebx
jmp 0x423d82
lea ecx, [esp + 0x88]
call fcn.00411060
jmp 0x423d7d
test ebx, ebx
jne 0x423d99
xor ebx, ebx
inc ebx
mov esi, ebx
lea ecx, [esp + 0xc]
call fcn.00408922
push 0
push ebx
lea ecx, [esp + 0x38]
call fcn.004017f1
jmp 0x423dc9
lea ecx, [esp + 0xc]
call fcn.00408922
xor ebx, ebx
lea ecx, [esp + 0x30]
push 0
inc ebx
push ebx
call fcn.004017f1
mov eax, dword [esp + 0x10]
test al, al
je 0x423dc7
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp eax, 2
jae 0x423dcd
mov esi, ebx
xor edi, edi
jmp 0x423dd1
xor edi, edi
mov esi, edi
push edi
push ebx
lea ecx, [esp + 0xec]
call fcn.004017f1
push edi
push ebx
lea ecx, [esp + 0x104]
call fcn.004017f1
jmp 0x42398c
lea ecx, [esp + 0x30]
call fcn.00411060
mov esi, ebx
push 0
push ebx
lea ecx, [esp + 0xbc]
call fcn.004017f1
lea ecx, [esp + 0x1c]
call fcn.00408922
lea ecx, [esp + 0x14]
call fcn.00408922
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00435a0a
mov esp, ebp
pop ebp
ret 0x10