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

Disassembly:
push 0xffffffffffffffff
push 0x427787
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x435300]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435300]
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.00403c00
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.00403830
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x401fff
xor eax, eax
jmp 0x402017
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 0x402065
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x402029
call fcn.0041101d
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.00408c00
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea eax, [edi - 0x1c]
push ecx
call fcn.00408c50
add esp, 4
add dword [esi + 8], 0xffffffe4
push 2
mov edi, 7
push 0x430604
lea esi, [esp + 0x138]
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
call fcn.004060c0
mov byte [esp + 0x190], 2
push ebx
push 0x430600
lea esi, [esp + 0x154]
mov dword [esp + 0x16c], edi
mov dword [esp + 0x168], ebx
mov word [esp + 0x158], bx
call fcn.004060c0
mov byte [esp + 0x190], 3
push 1
push 0x43060c
lea esi, [esp + 0x11c]
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
call fcn.004060c0
mov byte [esp + 0x190], 4
push ebx
push 0x430600
lea esi, [esp + 0x170]
mov dword [esp + 0x188], edi
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], bx
call fcn.004060c0
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.00402d50
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 0x402170
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x2c]
add eax, 0x28
cmp edi, ebx
je 0x402182
cmp edi, eax
je 0x402187
call fcn.0041101d
cmp ebp, esi
je 0x402453
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x4021b2
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 0x4021bb
call fcn.0041101d
mov esi, dword [esp + 0x18]
cmp edi, ebx
jne 0x4021c4
call fcn.0041101d
cmp ebp, dword [edi + 4]
jne 0x4021ce
call fcn.0041101d
cmp dword [esi + 0x18], 8
mov edi, dword [esi + 0x14]
lea ecx, [ebp + 8]
jb 0x4021df
mov esi, dword [esi + 4]
jmp 0x4021e2
add esi, 4
mov eax, dword [ecx + 0x14]
push esi
call fcn.00408890
test eax, eax
mov esi, dword [esp + 0x2c]
jne 0x402304
cmp ebp, dword [esi + 4]
jne 0x402201
call fcn.0041101d
mov eax, dword [ebp + 0x24]
sub eax, 4
je 0x4022c8
sub eax, 2
jne 0x40231a
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x402304
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 0x4025a7
jbe 0x402304
cmp ebp, dword [esi + 4]
jne 0x402254
call fcn.0041101d
mov esi, dword [ebp + 0x28]
push ebx
push 0x430600
call fcn.004060c0
xor edi, edi
mov dword [esp + 0x28], ebx
jmp 0x402270
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x40277b
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 0x40277b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esi, edx
cmp ebp, dword [eax + 4]
jne 0x4022b1
call fcn.0041101d
push ebx
push esi
mov esi, dword [ebp + 0x28]
or eax, 0xffffffff
call fcn.00406000
add edi, 1
add dword [esp + 0x28], 0x1c
jmp 0x402270
cmp dword [esp + 0x18], ebx
je 0x402304
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 0x402897
cmp eax, 1
je 0x4029b5
cmp eax, 2
je 0x402b72
cmp ebp, dword [esi + 4]
jne 0x40230e
call fcn.0041101d
mov ebp, dword [ebp]
mov edi, dword [esp + 0x2c]
jmp 0x402170
sub eax, 1
je 0x40243c
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 0x402352
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00411032
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 0x402386
mov edx, dword [esp + 0x118]
push edx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x4023b5
mov eax, dword [esp + 0x150]
push eax
call fcn.00411032
add esp, 4
cmp dword [esp + 0x148], esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x4023e4
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00411032
add esp, 4
lea esi, [esp + 0x14]
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
call fcn.004037c0
lea ecx, [esp + 0xc0]
mov dword [esp + 0x190], 0xffffffff
call fcn.00403ca0
lea edx, [esp + 0xc0]
push edx
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.00410118
add esp, 4
xor al, al
jmp 0x40257f
cmp ebp, dword [esi + 4]
jne 0x402446
call fcn.0041101d
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 0x402471
mov edx, dword [esp + 0x16c]
push edx
call fcn.00411032
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 0x4024a5
mov eax, dword [esp + 0x118]
push eax
call fcn.00411032
add esp, 4
cmp dword [esp + 0x164], edi
mov word [esp + 0x118], bx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], esi
jb 0x4024d4
mov ecx, dword [esp + 0x150]
push ecx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x148], edi
mov word [esp + 0x150], bx
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], esi
jb 0x402503
mov edx, dword [esp + 0x134]
push edx
call fcn.00411032
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 0x40253f
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push ecx
call fcn.00408c50
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call fcn.00411032
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.00403ca0
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.00410118
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.00410b9c
add esp, 0x180
ret
push ebx
mov edi, 7
push 0x430600
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.004060c0
mov eax, esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x190], 8
call fcn.00404d40
mov byte [esp + 0x190], 5
cmp dword [esp + 0x4c], 8
jb 0x4025f7
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00411032
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 0x402612
call fcn.0041101d
cmp ebp, dword [edi + 4]
lea esi, [ebp + 8]
jne 0x40261f
call fcn.0041101d
mov edx, dword [esi + 0x20]
push edx
push ecx
push 0x430610
push ecx
lea eax, [esp + 0x84]
push esi
push eax
call fcn.004080f0
add esp, 0xc
push eax
call fcn.00407eb0
add esp, 0xc
push eax
call fcn.00403310
mov edi, 8
cmp dword [esp + 0x180], edi
jb 0x402668
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00411032
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 0x40269c
mov edx, dword [esp + 0x118]
push edx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x164], edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x4026cb
mov eax, dword [esp + 0x150]
push eax
call fcn.00411032
add esp, 4
cmp dword [esp + 0x148], edi
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x4026fa
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00411032
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 0x402736
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push edx
call fcn.00408c50
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.00411032
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.00403ca0
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.00410118
add esp, 4
xor al, al
jmp 0x40257f
mov edi, 8
cmp dword [esp + 0x180], edi
jb 0x402799
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00411032
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 0x4027cd
mov edx, dword [esp + 0x118]
push edx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x164], edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x4027fc
mov eax, dword [esp + 0x150]
push eax
call fcn.00411032
add esp, 4
cmp dword [esp + 0x148], edi
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x40282b
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00411032
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 0x402867
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push edx
call fcn.00408c50
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.00411032
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.00403ca0
lea ecx, [esp + 0xc0]
push ecx
jmp 0x40256a
mov edi, 8
cmp dword [esp + 0x180], edi
jb 0x4028b5
mov edx, dword [esp + 0x16c]
push edx
call fcn.00411032
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 0x4028e9
mov eax, dword [esp + 0x118]
push eax
call fcn.00411032
add esp, 4
cmp dword [esp + 0x164], edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x402918
mov ecx, dword [esp + 0x150]
push ecx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x148], edi
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x402947
mov edx, dword [esp + 0x134]
push edx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
je 0x402985
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
call fcn.00408c50
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call fcn.00411032
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.00403ca0
lea edx, [esp + 0xc0]
push edx
jmp 0x40256a
mov edx, 0x430600
lea eax, [esp + 0x50]
call fcn.00403990
lea eax, [esp + 0x50]
lea ecx, [esp + 0x78]
mov byte [esp + 0x190], 6
call fcn.00404d40
mov byte [esp + 0x190], 5
cmp dword [esp + 0x68], 8
jb 0x4029f4
mov eax, dword [esp + 0x54]
push eax
call fcn.00411032
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 0x402a10
call fcn.0041101d
mov ecx, dword [esp + 0x2c]
cmp ebp, dword [ecx + 4]
lea esi, [ebp + 8]
jne 0x402a21
call fcn.0041101d
mov edx, dword [esi + 0x20]
mov eax, dword [edx]
push eax
push ecx
push 0x430610
push ecx
lea ecx, [esp + 0x84]
push esi
push ecx
call fcn.004080f0
add esp, 0xc
push eax
call fcn.00407eb0
add esp, 0xc
push eax
call fcn.00403190
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x6c]
call fcn.00403d30
mov edx, dword [esp + 0x28]
push edx
mov byte [esp + 0x194], 7
call fcn.00401f30
mov esi, 8
cmp dword [esp + 0x110], esi
jb 0x402a8e
mov eax, dword [esp + 0xfc]
push eax
call fcn.00411032
add esp, 4
cmp dword [esp + 0x180], esi
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], bx
jb 0x402abd
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x12c], esi
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], bx
jb 0x402aec
mov edx, dword [esp + 0x118]
push edx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x402b1b
mov eax, dword [esp + 0x150]
push eax
call fcn.00411032
add esp, 4
cmp dword [esp + 0x148], esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x402b4a
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00411032
add esp, 4
lea esi, [esp + 0x14]
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
call fcn.004037c0
jmp 0x402991
mov esi, 8
cmp dword [esp + 0x180], esi
jb 0x402b90
mov eax, dword [esp + 0x16c]
push eax
call fcn.00411032
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 0x402bc4
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x402bf3
mov edx, dword [esp + 0x150]
push edx
call fcn.00411032
add esp, 4
cmp dword [esp + 0x148], esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x402c22
mov eax, dword [esp + 0x134]
push eax
call fcn.00411032
add esp, 4
lea esi, [esp + 0x14]
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
call fcn.004037c0
jmp 0x402873