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

Disassembly:
push 0xffffffffffffffff
push 0x5b2638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push 0x1b
push 0x5c5bec
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
call fcn.004041a0
lea eax, [esp]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 0
call fcn.00404b30
push 0x5e88c8
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], vtable.std::out_of_range.0
call fcn.0057b3e2
push 0xffffffffffffffff
push 0x5b2896
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
push edi
push 0x12
xor esi, esi
push 0x5ccdc8
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.004041a0
mov ebp, dword [esp + 0xb8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
mov dword [esp + 0xb8], esi
call fcn.004dd110
mov ebx, eax
mov eax, dword [esp + 0x34]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0xb0], 0xffffffff
jb 0x4a92ba
mov edx, dword [esp + 0x20]
push edx
call fcn.0057ad56
add esp, 4
test bl, bl
jne 0x4a964a
mov edi, dword [esp + 0xbc]
mov ecx, edi
call fcn.00486a90
mov ecx, dword [esp + 0x14]
sub esp, 0x34
mov eax, esp
mov dword [esp + 0x44], esp
push ecx
mov dword [eax + 0x24], 0xf
mov dword [eax + 0x20], esi
mov ecx, edi
mov byte [eax + 0x10], bl
call fcn.004a9140
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, esi
mov dword [esp + 0x10], ebx
jbe 0x4a964e
mov dword [esp + 0x18], esi
jmp 0x4a9310
mov esi, dword [edi + 4]
test esi, esi
je 0x4a9643
mov ecx, dword [edi + 8]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x4a9643
mov eax, dword [esp + 0x18]
add esi, eax
xor eax, eax
mov ecx, 0xd
mov edi, esi
push 0xd
rep stosd dword es:[edi], eax
push 0x5cc440
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], eax
mov byte [esp + 0x44], al
call fcn.004041a0
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
mov dword [esp + 0xb8], 1
call fcn.004dc320
mov ebx, eax
mov eax, dword [esp + 0x50]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0xb0], 0xffffffff
jb 0x4a93ab
mov edx, dword [esp + 0x3c]
push edx
call fcn.0057ad56
add esp, 4
xor edi, edi
test bl, bl
mov eax, 0xf
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
jne 0x4a964a
push 0x11
push 0x5ccdb4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], bl
call fcn.004041a0
push esi
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
mov dword [esp + 0xb8], 2
call fcn.004dd110
mov ebx, eax
mov eax, dword [esp + 0x6c]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0xb0], 0xffffffff
jb 0x4a9424
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0057ad56
add esp, 4
test bl, bl
mov eax, 0xf
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
jne 0x4a964a
push 0xb
push 0x5ccda8
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], bl
call fcn.004041a0
lea edx, [esi + 4]
push edx
lea eax, [esp + 0x74]
push eax
mov ecx, ebp
mov dword [esp + 0xb8], 3
call fcn.004dcf30
mov ebx, eax
mov eax, dword [esp + 0x88]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0xb0], 0xffffffff
jb 0x4a94a7
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0057ad56
add esp, 4
test bl, bl
mov eax, 0xf
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edi
mov byte [esp + 0x74], 0
jne 0x4a964a
push 0x13
push 0x5ccd94
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], bl
call fcn.004041a0
lea edx, [esi + 8]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
mov dword [esp + 0xb8], 4
call fcn.004dd110
mov ebx, eax
mov eax, dword [esp + 0x34]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0xb0], 0xffffffff
jb 0x4a9527
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0057ad56
add esp, 4
test bl, bl
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
jne 0x4a964a
push 0x5cc874
lea ecx, [esp + 0x90]
call fcn.00404c90
lea edx, [esi + 0xc]
push edx
lea eax, [esp + 0x90]
push eax
mov ecx, ebp
mov dword [esp + 0xb8], 5
call fcn.004dd570
mov ebx, eax
mov eax, dword [esp + 0xa4]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0xb0], 0xffffffff
jb 0x4a959e
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0057ad56
add esp, 4
test bl, bl
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], edi
mov byte [esp + 0x90], 0
jne 0x4a964a
mov eax, dword [esi]
dec eax
je 0x4a95f7
dec eax
je 0x4a95e1
dec eax
jne 0x4a9612
mov ecx, 0x628b18
call fcn.004a8790
push eax
push ebp
mov dword [esi + 0x30], eax
call fcn.004a73b0
jmp 0x4a960b
mov ecx, 0x628aec
call fcn.004a8700
push eax
push ebp
mov dword [esi + 0x2c], eax
call fcn.004a71b0
jmp 0x4a960b
mov ecx, 0x628ac0
call fcn.004a8630
push eax
push ebp
mov dword [esi + 0x28], eax
call fcn.004a82a0
add esp, 8
test eax, eax
je 0x4a964a
mov ecx, ebp
call fcn.004dc060
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 0x34
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
jae 0x4a964e
mov edi, dword [esp + 0xbc]
mov ebx, eax
jmp 0x4a9310
mov ecx, edi
jmp 0x4a7450
xor eax, eax
jmp 0x4a9653
mov eax, 1
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret