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

Disassembly:
push 0xffffffffffffffff
push 0x473bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x88]
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x18], esi
mov ecx, 7
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], esi
mov word [esp + 0x58], dx
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], cx
mov byte [esp + 0x80], 1
mov dword [esp + 0x18], eax
cmp byte [ebp + 0x48], cl
jne 0x43809b
mov edx, dword [0x4a5da0]
mov dword [ebp + 0x44], edx
push esi
push 8
lea ecx, [esp + 0x60]
call fcn.00437380
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x4c], esi
cmp eax, ebx
je 0x438170
cmp dword [esp + 0x6c], 8
mov esi, dword [esp + 0x58]
jae 0x4380c5
lea esi, [esp + 0x58]
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
lea ebx, [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x6c]
lea ebx, [esi + ebx*2]
push ebx
push esi
lea ebx, [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x30]
push ebx
push eax
lea eax, [ebp + 0x44]
push eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
js 0x438260
cmp eax, 1
jle 0x438128
cmp eax, 3
jne 0x438260
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43815d
movzx edx, byte [eax]
push edx
push 1
lea ecx, [esp + 0x44]
call fcn.00437380
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x43810a
jmp 0x43815d
mov eax, dword [esp + 0x1c]
cmp esi, eax
jae 0x438141
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.0042d360
jmp 0x438159
cmp dword [esp + 0x68], 0x10
jae 0x4381e0
push 0
push 8
lea ecx, [esp + 0x60]
call fcn.00437380
mov eax, dword [esp + 0x14]
mov ecx, eax
sub ecx, dword [esp + 0x18]
mov dword [ebp + 0x4c], ecx
cmp eax, ebx
jne 0x4380b6
xor esi, esi
mov ebx, 7
xor edx, edx
lea eax, [esp + 0x3c]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], esi
mov word [edi], dx
cmp edi, eax
je 0x4382f7
mov ebp, 8
cmp dword [edi + 0x14], ebp
jb 0x4381a1
mov ecx, dword [edi]
push ecx
call fcn.004533ae
add esp, 4
xor edx, edx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], esi
mov word [edi], dx
cmp dword [esp + 0x50], ebp
jae 0x4382dd
mov eax, dword [esp + 0x4c]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
call fcn.00453780
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
jmp 0x43830b
cmp byte [ebp + 0x4a], 0
je 0x438233
xor edx, edx
push 0xffffffffffffffff
push edx
mov ebx, 7
add ebp, 0x28
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
push ebp
mov ecx, edi
mov word [edi], dx
call fcn.004041b0
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x438220
mov eax, dword [esp + 0x3c]
push eax
call fcn.004533ae
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x4c], 0
jmp 0x438316
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], str.bad_conversion
call fcn.00453b7a
push 0x49db30
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], vtable.std::range_error.0
call fcn.00453ce8
cmp byte [ebp + 0x4a], 0
je 0x4382b0
xor edx, edx
push 0xffffffffffffffff
push edx
mov ebx, 7
add ebp, 0x28
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
push ebp
mov ecx, edi
mov word [edi], dx
call fcn.004041b0
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x438220
mov eax, dword [esp + 0x3c]
push eax
call fcn.004533ae
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x4c], 0
jmp 0x438316
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], str.bad_conversion
call fcn.00453b7a
push 0x49db30
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], vtable.std::range_error.0
call fcn.00453ce8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [edi], eax
mov dword [esp + 0x3c], esi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
jmp 0x43830b
cmp dword [esp + 0x50], 8
jb 0x43830b
mov eax, dword [esp + 0x3c]
push eax
call fcn.004533ae
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x3c], cx
jb 0x43832e
mov edx, dword [esp + 0x58]
push edx
call fcn.004533ae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045407e
add esp, 0x70
ret 0xc