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

Disassembly:
push 0xffffffffffffffff
push 0x45b564
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4760f4]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4760f4]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x124]
push str.__b_f_n_r_t
xor ebx, ebx
push esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], ebx
call fcn.0043fdb0
add esp, 8
test eax, eax
jne 0x40bc78
mov ecx, esi
call fcn.00401e80
test al, al
jne 0x40bc78
push 1
push 0x460104
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004046f0
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x128], ebx
call fcn.00404f30
push 0x460104
push eax
push edi
mov byte [esp + 0x134], 1
call fcn.00404f30
mov ebp, 0x10
add esp, 0x18
cmp dword [esp + 0x54], ebp
jb 0x40bc4e
mov edx, dword [esp + 0x40]
push edx
call fcn.0042172b
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x30], ebp
jb 0x40bc71
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042172b
add esp, 4
mov eax, edi
jmp 0x40bf59
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40bc80
sub eax, edx
lea eax, [eax + eax + 3]
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
mov dword [esp + 0x11c], 2
mov ebp, 0x10
cmp eax, 0xf
je 0x40bcee
push 1
push eax
lea ecx, [esp + 0xfc]
call fcn.00403e40
test al, al
je 0x40bcee
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x108], ebx
cmp dword [esp + 0x10c], ebp
jae 0x40bcec
lea eax, [esp + 0xf8]
mov byte [eax], bl
push 1
push 0x460104
lea ecx, [esp + 0xfc]
call fcn.00404140
mov edi, esi
cmp byte [esi], bl
je 0x40bf08
jmp 0x40bd10
mov al, byte [edi]
movsx ecx, al
add ecx, 0xfffffff8
cmp ecx, 0x54
ja case.0x40bd28.11
movzx ecx, byte [ecx + 0x40bfa4]
jmp dword [ecx*4 + 0x40bf84]
push 2
push 0x460100
lea ecx, [esp + 0xfc]
call fcn.00404140
jmp 0x40beff
push 2
push 0x4600fc
lea ecx, [esp + 0xfc]
call fcn.00404140
jmp 0x40beff
push 2
push 0x4600f8
lea ecx, [esp + 0xfc]
call fcn.00404140
jmp 0x40beff
push 2
push 0x4600f4
lea ecx, [esp + 0xfc]
call fcn.00404140
jmp 0x40beff
push 2
push 0x4600f0
lea ecx, [esp + 0xfc]
call fcn.00404140
jmp 0x40beff
push 2
push 0x4600ec
lea ecx, [esp + 0xfc]
call fcn.00404140
jmp 0x40beff
push 2
push 0x4600e8
lea ecx, [esp + 0xfc]
call fcn.00404140
jmp 0x40beff
mov dl, al
dec dl
cmp dl, 0x1e
ja 0x40bef0
push 1
push 2
lea ecx, [esp + 0x7c]
call fcn.0040af20
lea eax, [esp + 0x74]
push 0x4600e4
push eax
mov byte [esp + 0x124], 3
call fcn.0040b240
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x40be15
xor eax, eax
jmp 0x40be1c
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov edx, dword [eax + 0x10]
and edx, 0xfffff9ff
or edx, 0x800
mov dword [eax + 0x10], edx
cmp esi, ebx
jne 0x40be36
xor eax, eax
jmp 0x40be3d
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
or dword [eax + 0x10], 4
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
lea edx, [esp + 0x34]
add eax, esi
push 4
push edx
mov byte [eax + 0x30], 0x30
call fcn.0045907f
mov ecx, dword [esi]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push edx
push ecx
call eax
movsx ecx, byte [edi]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0040add0
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x78]
call fcn.00406800
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x128], 4
call fcn.00404040
cmp dword [esp + 0x70], ebp
jb 0x40beaf
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042172b
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x11c], 2
call fcn.00403ac0
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.00458e69
add esp, 4
jmp 0x40beff
push eax
push 1
lea ecx, [esp + 0xfc]
call fcn.00403f90
inc edi
cmp byte [edi], bl
jne 0x40bd10
push 1
push 0x460104
lea ecx, [esp + 0xfc]
call fcn.00404140
mov esi, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xfc]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00404610
cmp dword [esp + 0x10c], ebp
jb 0x40bf57
mov eax, dword [esp + 0xf8]
push eax
call fcn.0042172b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.0043efc3
add esp, 0x10c
ret