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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x456178]
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 0x42105a
xor eax, eax
inc eax
jmp 0x4217d9
lea ecx, [esp + 0x14]
call fcn.00408916
push ebx
lea ecx, [esp + 0x20]
call fcn.00408973
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov edi, dword [esi]
call fcn.00401a5d
push eax
push 0x1402
mov ecx, esi
call dword [edi]
test eax, eax
je 0x421092
xor esi, esi
inc esi
jmp 0x4217c5
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.004104a0
lea ecx, [esp + 0x14]
call fcn.00408928
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 0x4217ab
cmp dword [esp + 0x38], ebx
jne 0x4217ab
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xc8]
call fcn.004019ce
lea ecx, [esp + 0x38]
call fcn.00410510
push ecx
push ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x2e
push eax
lea ecx, [esp + 0xc8]
call fcn.004030e7
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 0x42114c
mov esi, ebx
jmp 0x421350
push esi
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x3c]
call fcn.0040c870
pop ecx
push eax
lea ecx, [esp + 0x64]
call fcn.00401e84
push 0
push ebx
lea ecx, [esp + 0x40]
call fcn.00401751
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xc8]
call fcn.00401ea9
push eax
lea ecx, [esp + 0x7c]
call fcn.00401e84
push 0
push ebx
lea ecx, [esp + 0x40]
call fcn.00401751
and dword [esp + 0xe4], 0
lea ecx, [esp + 0xd4]
xor eax, eax
mov dword [esp + 0xe8], edi
push 0x44adfc
mov word [esp + 0xd8], ax
call fcn.00401628
lea edx, [esp + 0xd4]
xor bl, bl
lea ecx, [esp + 0x78]
call fcn.0040c500
test al, al
jne 0x421227
cmp dword [esp + 0x8c], 8
lea ecx, [esp + 0x78]
mov edx, str..exe
cmovae ecx, dword [esp + 0x78]
call fcn.0040c540
test al, al
je 0x42121d
push 0xffffffffffffffff
xor edi, edi
lea eax, [esp + 0xd8]
push edi
push eax
lea ecx, [esp + 0x84]
call fcn.004019ce
inc bl
jmp 0x421384
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x421340
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.004030e7
cmp eax, 0xffffffff
je 0x42132f
lea esi, [eax + 1]
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x68]
lea ecx, [esp + 0x40]
call fcn.0040c900
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00401e84
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00401751
push esi
lea edx, [esp + 0x64]
lea ecx, [esp + 0x3c]
call fcn.0040c870
pop ecx
push eax
lea ecx, [esp + 0x64]
call fcn.00401e84
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00401751
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.0040ca30
add esp, 0xc
lea ecx, [esp + 0x38]
push 2
pop edx
call fcn.0040cc10
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.0040315b
lea ecx, [esp + 0x38]
push edi
push 1
test eax, eax
je 0x421370
call fcn.00401751
inc esi
cmp esi, 0x3e7
jbe 0x4212b7
xor ebx, ebx
lea ecx, [esp + 0x90]
inc ebx
push edi
push ebx
call fcn.00401751
mov esi, ebx
push edi
push ebx
lea ecx, [esp + 0xdc]
call fcn.00401751
push 0
push ebx
lea ecx, [esp + 0x80]
call fcn.00401751
push 0
push ebx
lea ecx, [esp + 0x68]
call fcn.00401751
jmp 0x4217b6
call fcn.00401751
push edi
push 1
lea ecx, [esp + 0x98]
call fcn.00401751
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4213bf
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 0x4213bf
mov esi, 0x44a93c
push esi
call fcn.0043402b
pop ecx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.004021eb
mov ecx, dword [esp + 0x70]
test bl, bl
je 0x4214a4
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 0x44c58c
push eax
call fcn.0040ca30
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0xa4]
call fcn.00401f32
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.00408916
lea ecx, [esp + 0x14]
call fcn.00408928
mov esi, eax
lea ecx, [esp + 0x10]
push ebx
mov edi, dword [esi]
call fcn.00401a5d
push eax
push ebx
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
call dword [edi + 0x1c]
test eax, eax
jne 0x421482
push ecx
lea ecx, [esp + 0x14]
call fcn.0040896a
test al, al
jne 0x421482
lea ecx, [esp + 0x10]
call fcn.0040891c
xor edi, edi
lea ecx, [esp + 0x90]
push edi
push ebx
call fcn.00401751
push edi
push ebx
lea ecx, [esp + 0x40]
call fcn.00401751
mov ecx, dword [esp + 0x70]
jmp 0x4214a7
lea ecx, [esp + 0x10]
call fcn.0040891c
xor edi, edi
lea ecx, [esp + 0x90]
push edi
push ebx
call fcn.00401751
lea ecx, [esp + 0x38]
jmp 0x421339
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 0x4214d9
push str.file
lea ecx, [esp + 0x108]
call fcn.00401628
jmp 0x421503
lea eax, [ecx - 1]
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x3c]
call fcn.0040c870
pop ecx
push eax
lea ecx, [esp + 0x108]
call fcn.00401e84
push edi
push ebx
lea ecx, [esp + 0x40]
call fcn.00401751
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.00401a5d
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 0x421564
push 0x44c5b4
lea ecx, [esp + 0x3c]
call fcn.00401628
jmp 0x421589
cmp dword [esp + 0x8c], 8
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push eax
push ebx
lea eax, [esp + 0x40]
push 0x44c58c
push eax
call fcn.0040ca30
add esp, 0x10
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x94]
call fcn.00401f32
pop ecx
push eax
lea ecx, [esp + 0xf0]
call fcn.00401e84
push 0
push 1
lea ecx, [esp + 0x98]
call fcn.00401751
lea ecx, [esp + 0x10]
call fcn.00408916
lea ecx, [esp + 0x14]
call fcn.00408928
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 0x421732
push ecx
lea ecx, [esp + 0x14]
call fcn.0040896a
test al, al
jne 0x421732
lea edx, [esp + 0xbc]
lea ecx, [esp + 0xec]
call fcn.0040c500
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 0x42165a
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.004139d4
call fcn.004217f0
test al, al
je 0x421736
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.004139d4
call fcn.004217f0
test al, al
je 0x421736
lea ecx, [esp + 0x90]
call fcn.004104a0
lea ecx, [esp + 0x14]
call fcn.00408928
lea ecx, [esp + 0x90]
push ecx
push 7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x421724
cmp dword [esp + 0x90], 3
jne 0x421724
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.00410510
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.00421857
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x30]
call fcn.00421801
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 0x42171f
lea ecx, [esp + 0x10]
inc ebx
call fcn.0040891c
xor eax, eax
lea ecx, [esp + 0x38]
push esi
inc eax
push eax
call fcn.00401751
mov esi, dword [esp + 0x24]
jmp 0x42153c
xor ebx, ebx
inc ebx
jmp 0x42173b
lea ecx, [esp + 0x90]
call fcn.00410510
jmp 0x421736
test ebx, ebx
jne 0x421752
xor ebx, ebx
inc ebx
mov esi, ebx
lea ecx, [esp + 0x10]
call fcn.0040891c
push 0
push ebx
lea ecx, [esp + 0x40]
call fcn.00401751
jmp 0x421782
lea ecx, [esp + 0x10]
call fcn.0040891c
xor ebx, ebx
lea ecx, [esp + 0x38]
push 0
inc ebx
push ebx
call fcn.00401751
mov eax, dword [esp + 0x34]
test al, al
je 0x421780
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp eax, 2
jae 0x421786
mov esi, ebx
xor edi, edi
jmp 0x42178a
xor edi, edi
mov esi, edi
push edi
push ebx
lea ecx, [esp + 0xf4]
call fcn.00401751
push edi
push ebx
lea ecx, [esp + 0x10c]
call fcn.00401751
jmp 0x421342
lea ecx, [esp + 0x38]
call fcn.00410510
mov esi, ebx
push 0
push ebx
lea ecx, [esp + 0xc4]
call fcn.00401751
lea ecx, [esp + 0x1c]
call fcn.0040891c
lea ecx, [esp + 0x14]
call fcn.0040891c
mov eax, esi
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004332ea
mov esp, ebp
pop ebp
ret 0x10