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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a03c3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x5de00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edi, dword [ebx + 8]
push 0
push 0
push dword [ebx + 0x10]
push dword [ebx + 0x14]
push dword [ebx + 0xc]
push edi
call fcn.00406a00
mov dword [ebp - 4], 0
lea ecx, [esi + 0x60]
mov edx, edi
mov dword [esi], vtable.CPNAReader.0
mov dword [esi + 0x34], 0
xorps xmm0, xmm0
mov dword [esi + 0x4c], 0
movups xmmword [ecx], xmm0
lea eax, [edx + 2]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x20], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4d83d4
sub edx, dword [ebp - 0x20]
sar edx, 1
push edx
push edi
call fcn.00403d10
mov edx, dword [ebx + 0xc]
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
lea edi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4d8410
sub edx, edi
sar edx, 1
push edx
push dword [ebx + 0xc]
call fcn.00403d10
mov byte [ebp - 4], 2
cmp dword [esi + 0x2c], 0
jne 0x4d8444
cmp dword [esi + 0x28], 0
jne 0x4d8444
mov dword [esi + 0x34], 0xffffffff
jmp 0x4d8747
lea eax, [esi + 0x38]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4d84ed
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
push ecx
push 1
push 4
push 4
push eax
call edi
mov eax, dword [esi + 0x2c]
add esp, 0x14
test eax, eax
je 0x4d8493
push eax
push 1
push 4
lea eax, [ebp - 0x20]
push 4
push eax
call edi
mov eax, dword [ebp - 0x20]
add esp, 0x14
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d84b0
push eax
push 1
push 4
lea eax, [ebp - 0x20]
push 4
push eax
call edi
mov eax, dword [ebp - 0x20]
add esp, 0x14
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d84cd
push eax
push 1
push 4
lea eax, [ebp - 0x20]
push 4
push eax
call edi
mov eax, dword [ebp - 0x20]
add esp, 0x14
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d84ea
push eax
push 1
push 4
lea eax, [ebp - 0x20]
push 4
push eax
call edi
mov eax, dword [ebp - 0x20]
add esp, 0x14
mov dword [esi + 0x48], eax
lea eax, [esi + 0x38]
mov eax, dword [eax]
cmp eax, 0x53414e50
je 0x4d8518
cmp eax, 0x50414e50
je 0x4d8518
cmp eax, 0x53415057
je 0x4d850f
cmp eax, 0x50415057
jne 0x4d875f
mov dword [esi + 0x5c], 1
jmp 0x4d8526
mov dword [esi + 0x5c], 0
cmp eax, 0x53414e50
je 0x4d8534
cmp eax, 0x53415057
je 0x4d8534
mov eax, 1
jmp 0x4d8536
xor eax, eax
mov dword [esi + 0x58], eax
xor ecx, ecx
mov eax, dword [esi + 0x48]
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052d7ad
add esp, 4
mov dword [esi + 0x4c], eax
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x1c], 0
jle 0x4d870a
xor edi, edi
nop dword [eax + eax]
mov eax, dword [esi + 0x4c]
add eax, edi
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d859b
push eax
push 1
push 4
lea eax, [ebp - 0x20]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d85c6
push eax
push 1
push 4
lea eax, [ebp - 0x2c]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x2c]
mov dword [edi + ecx + 4], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d85f1
push eax
push 1
push 4
lea eax, [ebp - 0x30]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x30]
mov dword [edi + ecx + 8], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d861c
push eax
push 1
push 4
lea eax, [ebp - 0x34]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x34]
mov dword [edi + ecx + 0xc], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d8647
push eax
push 1
push 4
lea eax, [ebp - 0x38]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x38]
mov dword [edi + ecx + 0x10], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d8672
push eax
push 1
push 4
lea eax, [ebp - 0x3c]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x3c]
mov dword [edi + ecx + 0x14], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d869d
push eax
push 1
push 4
lea eax, [ebp - 0x40]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x40]
mov dword [edi + ecx + 0x18], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d86cc
push eax
push 1
push 8
lea eax, [ebp - 0x50]
push 8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov eax, dword [ebp - 0x28]
add esp, 0x14
movsd xmm0, qword [ebp - 0x50]
movsd qword [edi + eax + 0x20], xmm0
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4d86f7
push eax
push 1
push 4
lea eax, [ebp - 0x44]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread_s]
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x44]
mov dword [edi + ecx + 0x28], eax
mov ecx, dword [ebp - 0x1c]
add edi, 0x30
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [esi + 0x48]
jl 0x4d8570
lea eax, [esi + 0x50]
push eax
push dword [esi + 0x2c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetpos]
add esp, 8
jmp 0x4d8747
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0x5d8960
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xfffffffe
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3