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

Disassembly:
push 0xffffffffffffffff
push 0x522a24
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x56fcac]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56fcac]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov esi, dword [esp + 0x128]
mov ebp, dword [esp + 0x124]
push str.__b_f_n_r_t
xor ebx, ebx
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], ebx
call fcn.004f2e30
add esp, 8
test eax, eax
jne 0x4a90cc
cmp byte [esi], bl
mov ecx, esi
je 0x4a903d
nop
movzx eax, byte [ecx]
sub al, 1
mov dl, 0x1e
cmp dl, al
sbb eax, eax
add eax, 1
add ecx, 1
cmp al, bl
jne 0x4a90cc
cmp byte [ecx], bl
jne 0x4a9020
push 1
mov edi, 0xf
push 0x54df7c
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00402890
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x128], ebx
call fcn.004a0a30
push 0x54df7c
push eax
push ebp
mov byte [esp + 0x134], 1
call fcn.004a0a30
mov ebp, 0x10
add esp, 0x18
cmp dword [esp + 0x54], ebp
jb 0x4a90a4
mov edx, dword [esp + 0x40]
push edx
call fcn.004aaa59
add esp, 4
cmp dword [esp + 0x30], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jb 0x4a90c3
mov eax, dword [esp + 0x1c]
push eax
call fcn.004aaa59
add esp, 4
mov eax, dword [esp + 0x14]
jmp 0x4a93ac
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4a90d1
sub eax, edx
lea eax, [eax + eax + 3]
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
cmp eax, 0xf
mov dword [esp + 0x11c], 2
mov ebp, 0x10
je 0x4a9141
push 1
push eax
lea ecx, [esp + 0xfc]
call fcn.00402a10
test al, al
je 0x4a9141
cmp dword [esp + 0x10c], ebp
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x108], ebx
jae 0x4a913f
lea eax, [esp + 0xf8]
mov byte [eax], bl
push 1
push 0x54df7c
lea ecx, [esp + 0xfc]
call fcn.00421050
cmp byte [esi], bl
mov edi, esi
je 0x4a935b
mov edi, edi
mov al, byte [edi]
movsx ecx, al
add ecx, 0xfffffff8
cmp ecx, 0x54
ja case.0x4a9178.11
movzx ecx, byte [ecx + 0x4a93f4]
jmp dword [ecx*4 + 0x4a93d4]
push 2
push 0x538e88
lea ecx, [esp + 0xfc]
call fcn.00421050
jmp 0x4a9350
push 2
push 0x538e84
lea ecx, [esp + 0xfc]
call fcn.00421050
jmp 0x4a9350
push 2
push 0x538e80
lea ecx, [esp + 0xfc]
call fcn.00421050
jmp 0x4a9350
push 2
push 0x538e7c
lea ecx, [esp + 0xfc]
call fcn.00421050
jmp 0x4a9350
push 2
push 0x538e78
lea ecx, [esp + 0xfc]
call fcn.00421050
jmp 0x4a9350
push 2
push 0x538e74
lea ecx, [esp + 0xfc]
call fcn.00421050
jmp 0x4a9350
push 2
push 0x538e70
lea ecx, [esp + 0xfc]
call fcn.00421050
jmp 0x4a9350
mov dl, al
sub dl, 1
cmp dl, 0x1e
ja 0x4a9341
push 1
push 2
lea ecx, [esp + 0x7c]
call fcn.004a87f0
lea eax, [esp + 0x74]
push 0x538e6c
push eax
mov byte [esp + 0x124], 3
call fcn.004a7dc0
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4a9266
xor eax, eax
jmp 0x4a926d
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov edx, dword [eax + 0x10]
and edx, 0xfffff9ff
or edx, 0x800
cmp esi, ebx
mov dword [eax + 0x10], edx
jne 0x4a9287
xor eax, eax
jmp 0x4a928e
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.0051d06c
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.004a8690
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x78]
call fcn.004a6140
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x128], 4
call fcn.00421440
cmp dword [esp + 0x70], ebp
jb 0x4a9300
mov eax, dword [esp + 0x5c]
push eax
call fcn.004aaa59
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.004a5230
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.0051c4bc
add esp, 4
jmp 0x4a9350
push eax
push 1
lea ecx, [esp + 0xfc]
call fcn.0046c0f0
add edi, 1
cmp byte [edi], bl
jne 0x4a9160
push 1
push 0x54df7c
lea ecx, [esp + 0xfc]
call fcn.00421050
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.004021b0
cmp dword [esp + 0x10c], ebp
jb 0x4a93aa
mov eax, dword [esp + 0xf8]
push eax
call fcn.004aaa59
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.004ead41
add esp, 0x10c
ret