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

Disassembly:
push 0xffffffffffffffff
push 0x427d77
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x436300]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x436300]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
lea eax, [esp + 0x6c]
mov edi, ecx
push eax
mov dword [esp + 0x2c], edi
call fcn.00403b60
xor ebx, ebx
mov dword [esp + 0x190], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ebp, [edi + 8]
lea esi, [edi + 0x4c]
push ebp
mov byte [esp + 0x194], 1
call fcn.00403790
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x401f6f
xor eax, eax
jmp 0x401f87
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [edi + 0x38]
jbe 0x401fd5
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x401f99
call fcn.0041162d
mov edx, dword [esi + 8]
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [edi + 0x1c]
mov eax, edi
mov edi, edx
call fcn.00408bb0
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea eax, [edi - 0x1c]
push ecx
call fcn.00408c00
add esp, 4
add dword [esi + 8], 0xffffffe4
push 2
mov edi, 7
push 0x431604
lea esi, [esp + 0x138]
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
call fcn.00406050
mov byte [esp + 0x190], 2
push ebx
push 0x431600
lea esi, [esp + 0x154]
mov dword [esp + 0x16c], edi
mov dword [esp + 0x168], ebx
mov word [esp + 0x158], bx
call fcn.00406050
mov byte [esp + 0x190], 3
push 1
push 0x43160c
lea esi, [esp + 0x11c]
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
call fcn.00406050
mov byte [esp + 0x190], 4
push ebx
push 0x431600
lea esi, [esp + 0x170]
mov dword [esp + 0x188], edi
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], bx
call fcn.00406050
mov edx, esi
push edx
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
lea edx, [esp + 0x124]
lea ecx, [esp + 0x15c]
mov byte [esp + 0x1a0], 5
call fcn.00402cc0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx]
add esp, 0x10
add eax, 0x28
mov edi, eax
mov dword [esp + 0x2c], edi
mov ebp, ecx
jmp 0x4020e0
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x2c]
add eax, 0x28
cmp edi, ebx
je 0x4020f2
cmp edi, eax
je 0x4020f7
call fcn.0041162d
cmp ebp, esi
je 0x4023c3
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x402122
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40212b
call fcn.0041162d
mov esi, dword [esp + 0x18]
cmp edi, ebx
jne 0x402134
call fcn.0041162d
cmp ebp, dword [edi + 4]
jne 0x40213e
call fcn.0041162d
cmp dword [esi + 0x18], 8
mov edi, dword [esi + 0x14]
lea ecx, [ebp + 8]
jb 0x40214f
mov esi, dword [esi + 4]
jmp 0x402152
add esi, 4
mov eax, dword [ecx + 0x14]
push esi
call fcn.00408840
test eax, eax
mov esi, dword [esp + 0x2c]
jne 0x402274
cmp ebp, dword [esi + 4]
jne 0x402171
call fcn.0041162d
mov eax, dword [ebp + 0x24]
sub eax, 4
je 0x402238
sub eax, 2
jne 0x40228a
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x402274
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
je 0x402517
jbe 0x402274
cmp ebp, dword [esi + 4]
jne 0x4021c4
call fcn.0041162d
mov esi, dword [ebp + 0x28]
push ebx
push 0x431600
call fcn.00406050
xor edi, edi
mov dword [esp + 0x28], ebx
jmp 0x4021e0
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x4026eb
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4026eb
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esi, edx
cmp ebp, dword [eax + 4]
jne 0x402221
call fcn.0041162d
push ebx
push esi
mov esi, dword [ebp + 0x28]
or eax, 0xffffffff
call fcn.00405f90
add edi, 1
add dword [esp + 0x28], 0x1c
jmp 0x4021e0
cmp dword [esp + 0x18], ebx
je 0x402274
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x18]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x402807
cmp eax, 1
je 0x402925
cmp eax, 2
je 0x402ae2
cmp ebp, dword [esi + 4]
jne 0x40227e
call fcn.0041162d
mov ebp, dword [ebp]
mov edi, dword [esp + 0x2c]
jmp 0x4020e0
sub eax, 1
je 0x4023ac
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x14]
push ecx
call eax
mov esi, 8
add esp, 4
cmp dword [esp + 0x180], esi
jb 0x4022c2
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x12c], esi
mov edi, 7
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], bx
jb 0x4022f6
mov edx, dword [esp + 0x118]
push edx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x402325
mov eax, dword [esp + 0x150]
push eax
call fcn.00411642
add esp, 4
cmp dword [esp + 0x148], esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x402354
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00411642
add esp, 4
lea esi, [esp + 0x14]
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
call fcn.00403720
lea ecx, [esp + 0xc0]
mov dword [esp + 0x190], 0xffffffff
call fcn.00403c00
lea edx, [esp + 0xc0]
push edx
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.00410728
add esp, 4
xor al, al
jmp 0x4024ef
cmp ebp, dword [esi + 4]
jne 0x4023b6
call fcn.0041162d
mov ecx, dword [ebp + 0x28]
lea eax, [esp + 0x14]
push eax
call ecx
add esp, 4
mov edi, 8
cmp dword [esp + 0x180], edi
jb 0x4023e1
mov edx, dword [esp + 0x16c]
push edx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x12c], edi
mov esi, 7
mov word [esp + 0x16c], bx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], esi
jb 0x402415
mov eax, dword [esp + 0x118]
push eax
call fcn.00411642
add esp, 4
cmp dword [esp + 0x164], edi
mov word [esp + 0x118], bx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], esi
jb 0x402444
mov ecx, dword [esp + 0x150]
push ecx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x148], edi
mov word [esp + 0x150], bx
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], esi
jb 0x402473
mov edx, dword [esp + 0x134]
push edx
call fcn.00411642
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov word [esp + 0x134], bx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], esi
je 0x4024af
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push ecx
call fcn.00408c00
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call fcn.00411642
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x190], 0xffffffff
call fcn.00403c00
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.00410728
mov al, 1
add esp, 4
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.004111ac
add esp, 0x180
ret
push ebx
mov edi, 7
push 0x431600
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00406050
mov eax, esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x190], 8
call fcn.00404cd0
mov byte [esp + 0x190], 5
cmp dword [esp + 0x4c], 8
jb 0x402567
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00411642
add esp, 4
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x2c]
cmp ebp, dword [edi + 4]
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jne 0x402582
call fcn.0041162d
cmp ebp, dword [edi + 4]
lea esi, [ebp + 8]
jne 0x40258f
call fcn.0041162d
mov edx, dword [esi + 0x20]
push edx
push ecx
push 0x431610
push ecx
lea eax, [esp + 0x84]
push esi
push eax
call fcn.004080a0
add esp, 0xc
push eax
call fcn.00407e60
add esp, 0xc
push eax
call fcn.00403280
mov edi, 8
cmp dword [esp + 0x180], edi
jb 0x4025d8
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x12c], edi
mov esi, 7
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], bx
jb 0x40260c
mov edx, dword [esp + 0x118]
push edx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x164], edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x40263b
mov eax, dword [esp + 0x150]
push eax
call fcn.00411642
add esp, 4
cmp dword [esp + 0x148], edi
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x40266a
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00411642
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
je 0x4026a6
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push edx
call fcn.00408c00
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.00411642
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x190], 0xffffffff
call fcn.00403c00
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.00410728
add esp, 4
xor al, al
jmp 0x4024ef
mov edi, 8
cmp dword [esp + 0x180], edi
jb 0x402709
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x12c], edi
mov esi, 7
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], bx
jb 0x40273d
mov edx, dword [esp + 0x118]
push edx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x164], edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x40276c
mov eax, dword [esp + 0x150]
push eax
call fcn.00411642
add esp, 4
cmp dword [esp + 0x148], edi
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x40279b
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00411642
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
je 0x4027d7
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push edx
call fcn.00408c00
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.00411642
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x190], 0xffffffff
call fcn.00403c00
lea ecx, [esp + 0xc0]
push ecx
jmp 0x4024da
mov edi, 8
cmp dword [esp + 0x180], edi
jb 0x402825
mov edx, dword [esp + 0x16c]
push edx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x12c], edi
mov esi, 7
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], bx
jb 0x402859
mov eax, dword [esp + 0x118]
push eax
call fcn.00411642
add esp, 4
cmp dword [esp + 0x164], edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x402888
mov ecx, dword [esp + 0x150]
push ecx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x148], edi
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x4028b7
mov edx, dword [esp + 0x134]
push edx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
je 0x4028f5
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
call fcn.00408c00
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call fcn.00411642
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x190], 0xffffffff
call fcn.00403c00
lea edx, [esp + 0xc0]
push edx
jmp 0x4024da
mov edx, 0x431600
lea eax, [esp + 0x50]
call fcn.004038f0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x78]
mov byte [esp + 0x190], 6
call fcn.00404cd0
mov byte [esp + 0x190], 5
cmp dword [esp + 0x68], 8
jb 0x402964
mov eax, dword [esp + 0x54]
push eax
call fcn.00411642
add esp, 4
cmp ebp, dword [esi + 4]
mov edi, 7
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jne 0x402980
call fcn.0041162d
mov ecx, dword [esp + 0x2c]
cmp ebp, dword [ecx + 4]
lea esi, [ebp + 8]
jne 0x402991
call fcn.0041162d
mov edx, dword [esi + 0x20]
mov eax, dword [edx]
push eax
push ecx
push 0x431610
push ecx
lea ecx, [esp + 0x84]
push esi
push ecx
call fcn.004080a0
add esp, 0xc
push eax
call fcn.00407e60
add esp, 0xc
push eax
call fcn.00403100
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x6c]
call fcn.00403c90
mov edx, dword [esp + 0x28]
push edx
mov byte [esp + 0x194], 7
call fcn.00401ea0
mov esi, 8
cmp dword [esp + 0x110], esi
jb 0x4029fe
mov eax, dword [esp + 0xfc]
push eax
call fcn.00411642
add esp, 4
cmp dword [esp + 0x180], esi
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], bx
jb 0x402a2d
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x12c], esi
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], bx
jb 0x402a5c
mov edx, dword [esp + 0x118]
push edx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x402a8b
mov eax, dword [esp + 0x150]
push eax
call fcn.00411642
add esp, 4
cmp dword [esp + 0x148], esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x402aba
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00411642
add esp, 4
lea esi, [esp + 0x14]
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
call fcn.00403720
jmp 0x402901
mov esi, 8
cmp dword [esp + 0x180], esi
jb 0x402b00
mov eax, dword [esp + 0x16c]
push eax
call fcn.00411642
add esp, 4
cmp dword [esp + 0x12c], esi
mov edi, 7
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], bx
jb 0x402b34
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x402b63
mov edx, dword [esp + 0x150]
push edx
call fcn.00411642
add esp, 4
cmp dword [esp + 0x148], esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x402b92
mov eax, dword [esp + 0x134]
push eax
call fcn.00411642
add esp, 4
lea esi, [esp + 0x14]
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
call fcn.00403720
jmp 0x4027e3