Function at 0x4d7d70
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 0x5a0563
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x5de040]
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.00406bd0
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 0x4d7e04
sub edx, dword [ebp - 0x20]
sar edx, 1
push edx
push edi
call fcn.00403ce0
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 0x4d7e40
sub edx, edi
sar edx, 1
push edx
push dword [ebx + 0xc]
call fcn.00403ce0
mov byte [ebp - 4], 2
cmp dword [esi + 0x2c], 0
jne 0x4d7e74
cmp dword [esi + 0x28], 0
jne 0x4d7e74
mov dword [esi + 0x34], 0xffffffff
jmp 0x4d8177
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 0x4d7f1d
mov edi, dword [0x5a4818]
push ecx
push 1
push 4
push 4
push eax
call edi
mov eax, dword [esi + 0x2c]
add esp, 0x14
test eax, eax
je 0x4d7ec3
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 0x4d7ee0
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 0x4d7efd
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 0x4d7f1a
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 0x4d7f48
cmp eax, 0x50414e50
je 0x4d7f48
cmp eax, 0x53415057
je 0x4d7f3f
cmp eax, 0x50415057
jne 0x4d818f
mov dword [esi + 0x5c], 1
jmp 0x4d7f56
mov dword [esi + 0x5c], 0
cmp eax, 0x53414e50
je 0x4d7f64
cmp eax, 0x53415057
je 0x4d7f64
mov eax, 1
jmp 0x4d7f66
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.0052d61d
add esp, 4
mov dword [esi + 0x4c], eax
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x1c], 0
jle 0x4d813a
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 0x4d7fcb
push eax
push 1
push 4
lea eax, [ebp - 0x20]
push 4
push eax
call dword [0x5a4818]
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 0x4d7ff6
push eax
push 1
push 4
lea eax, [ebp - 0x2c]
push 4
push eax
call dword [0x5a4818]
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 0x4d8021
push eax
push 1
push 4
lea eax, [ebp - 0x30]
push 4
push eax
call dword [0x5a4818]
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 0x4d804c
push eax
push 1
push 4
lea eax, [ebp - 0x34]
push 4
push eax
call dword [0x5a4818]
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 0x4d8077
push eax
push 1
push 4
lea eax, [ebp - 0x38]
push 4
push eax
call dword [0x5a4818]
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 0x4d80a2
push eax
push 1
push 4
lea eax, [ebp - 0x3c]
push 4
push eax
call dword [0x5a4818]
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 0x4d80cd
push eax
push 1
push 4
lea eax, [ebp - 0x40]
push 4
push eax
call dword [0x5a4818]
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 0x4d80fc
push eax
push 1
push 8
lea eax, [ebp - 0x50]
push 8
push eax
call dword [0x5a4818]
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 0x4d8127
push eax
push 1
push 4
lea eax, [ebp - 0x44]
push 4
push eax
call dword [0x5a4818]
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 0x4d7fa0
lea eax, [esi + 0x50]
push eax
push dword [esi + 0x2c]
call dword [0x5a4838]
add esp, 8
jmp 0x4d8177
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 0x5d8a30
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xfffffffe
push eax
call fcn.00580db5
int3