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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi]
mov edx, dword [esi + 0x2c]
add ecx, 0x7ffffda
mov eax, ecx
mov ebx, dword [esi + 0x1c]
and eax, 0x3ffffff
shr ecx, 0x1a
sub ecx, dword [esi + 4]
add edx, 0x3fffffe
mov dword [ebp - 0x40], eax
add ecx, edx
mov edx, dword [esi + 0x30]
mov eax, ecx
and eax, 0x1ffffff
shr ecx, 0x19
sub ecx, dword [esi + 8]
add edx, 0x7fffffe
mov dword [ebp - 0x3c], eax
add ecx, edx
mov edx, dword [esi + 0x34]
mov eax, ecx
and eax, 0x3ffffff
shr ecx, 0x1a
sub ecx, dword [esi + 0xc]
add edx, 0x3fffffe
mov dword [ebp - 0x38], eax
add ecx, edx
mov eax, ecx
mov edi, dword [esi + 0x48]
and eax, 0x1ffffff
shr ecx, 0x19
sub ecx, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x38]
add eax, 0x7fffffe
mov dword [ebp - 8], edi
add eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x14]
add eax, 0x3fffffe
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x18]
add eax, 0x7fffffe
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x44]
mov esi, dword [esi + 0x20]
sub eax, ebx
add eax, 0x3fffffe
sub edi, esi
mov dword [ebp - 0x24], eax
add edi, 0x7fffffe
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0xc]
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x24]
mov eax, edx
sub eax, ecx
add eax, 0x3fffffe
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
add eax, dword [edi + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 4]
add eax, dword [edi + 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 8]
add eax, dword [edi + 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x14]
add eax, dword [edi + 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x44]
add eax, ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
add eax, esi
movzx esi, byte [ebp + 0x14]
mov dword [ebp - 0x48], eax
lea eax, [ecx + edx]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], esi
lea eax, [esi + esi*4]
lea eax, [ebx + eax*8]
push eax
lea eax, [ebp - 0x40]
push eax
push eax
call fcn.004fe7d0
mov edx, dword [ebp + 8]
mov eax, esi
xor eax, 1
mov dword [ebp - 0x18], eax
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
lea eax, [ebp - 0x68]
push eax
push edx
call fcn.004fe7d0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, edx
mov eax, dword [ecx]
add eax, dword [ebp - 0x40]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 4]
add eax, dword [ebp - 0x3c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 8]
add eax, dword [ebp - 0x38]
mov dword [ecx + 0x30], eax
mov eax, dword [ecx + 0xc]
add eax, dword [ebp - 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [ecx + 0x10]
add eax, dword [ebp - 0x30]
mov dword [ecx + 0x38], eax
mov eax, dword [ecx + 0x14]
add eax, dword [ebp - 0x2c]
mov dword [ecx + 0x3c], eax
mov eax, dword [ecx + 0x18]
add eax, dword [ebp - 0x28]
mov dword [ecx + 0x40], eax
mov eax, dword [ecx + 0x1c]
add eax, dword [ebp - 0x24]
mov dword [ecx + 0x44], eax
mov eax, dword [ecx + 0x20]
add eax, dword [ebp - 0x20]
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x24]
add eax, dword [ebp - 0x1c]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x40]
add ecx, 0x7ffffda
mov eax, ecx
shr ecx, 0x1a
sub ecx, dword [ebp - 0x3c]
and eax, 0x3ffffff
mov dword [edx], eax
mov eax, dword [esi + 4]
add eax, 0x3fffffe
add ecx, eax
mov eax, ecx
and eax, 0x1ffffff
shr ecx, 0x19
sub ecx, dword [ebp - 0x38]
mov edx, 0x3fffffe
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
add eax, 0x7fffffe
add ecx, eax
mov eax, ecx
shr ecx, 0x1a
sub ecx, dword [ebp - 0x34]
and eax, 0x3ffffff
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
add eax, 0x3fffffe
add ecx, eax
mov eax, ecx
shr ecx, 0x19
sub ecx, dword [ebp - 0x30]
and eax, 0x1ffffff
mov dword [esi + 0xc], eax
add ecx, 0x7fffffe
add dword [esi + 0x10], ecx
mov eax, edx
sub eax, dword [ebp - 0x2c]
mov ecx, 0x7fffffe
add dword [esi + 0x14], eax
mov eax, ecx
sub eax, dword [ebp - 0x28]
add dword [esi + 0x18], eax
mov eax, edx
sub eax, dword [ebp - 0x24]
add dword [esi + 0x1c], eax
mov eax, ebx
sub ecx, dword [ebp - 0x20]
add eax, 0x50
sub edx, dword [ebp - 0x1c]
add dword [esi + 0x20], ecx
add dword [esi + 0x24], edx
push eax
mov eax, edi
add eax, 0x78
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004fe7d0
mov edx, edi
add esp, 0x24
mov ecx, dword [edx + 0x50]
add ecx, ecx
mov eax, ecx
shr ecx, 0x1a
and eax, 0x3ffffff
mov dword [ebp + 0x14], eax
mov dword [esi + 0x78], eax
mov eax, dword [edx + 0x54]
lea ecx, [ecx + eax*2]
mov eax, ecx
shr ecx, 0x19
and eax, 0x1ffffff
mov dword [ebp + 0x10], eax
mov dword [esi + 0x7c], eax
mov eax, dword [edx + 0x58]
lea ecx, [ecx + eax*2]
mov eax, ecx
shr ecx, 0x1a
and eax, 0x3ffffff
mov dword [ebp - 8], eax
mov dword [esi + 0x80], eax
mov eax, dword [edx + 0x5c]
lea ecx, [ecx + eax*2]
mov eax, ecx
shr ecx, 0x19
and eax, 0x1ffffff
mov dword [ebp - 4], eax
mov dword [esi + 0x84], eax
mov eax, dword [edx + 0x60]
lea ecx, [ecx + eax*2]
mov eax, ecx
and eax, 0x3ffffff
mov dword [ebp - 0xc], eax
mov dword [esi + 0x88], eax
mov eax, dword [edx + 0x64]
shr ecx, 0x1a
lea ecx, [ecx + eax*2]
mov ebx, ecx
shr ecx, 0x19
and ebx, 0x1ffffff
mov dword [esi + 0x8c], ebx
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
lea ecx, [ecx + eax*2]
mov edi, ecx
shr ecx, 0x1a
and edi, 0x3ffffff
mov dword [esi + 0x90], edi
mov eax, dword [edx + 0x6c]
lea ecx, [ecx + eax*2]
mov esi, ecx
shr ecx, 0x19
and esi, 0x1ffffff
mov dword [ebx + 0x94], esi
mov eax, dword [edx + 0x70]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp + 0xc]
mov edx, ecx
shr ecx, 0x1a
and edx, 0x3ffffff
mov dword [ebx + 0x98], edx
mov eax, dword [eax + 0x74]
lea eax, [ecx + eax*2]
mov ecx, eax
shr eax, 0x19
imul eax, eax, 0x13
and ecx, 0x1ffffff
mov dword [ebx + 0x9c], ecx
add eax, dword [ebp + 0x14]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x64], ebx
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x74], ecx
lea eax, [eax + eax*4]
mov dword [ebx + 0x70], edx
lea eax, [eax + 0xa]
mov dword [ebx + 0x68], edi
lea ecx, [ebx + eax*8]
mov dword [ebx + 0x6c], esi
lea edx, [ebx + eax*8]
mov eax, dword [ecx]
add eax, dword [ebp - 0x40]
mov dword [edx], eax
mov eax, dword [ecx + 4]
add eax, dword [ebp - 0x3c]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
add eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
add eax, dword [ebp - 0x34]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x10]
add eax, dword [ebp - 0x30]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
add eax, dword [ebp - 0x2c]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x18]
add eax, dword [ebp - 0x28]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x1c]
add eax, dword [ebp - 0x24]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x20]
add eax, dword [ebp - 0x20]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x24]
add eax, dword [ebp - 0x1c]
mov dword [edx + 0x24], eax
mov edx, ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
lea eax, [eax + eax*4]
lea eax, [eax + 0xa]
mov ecx, dword [edx + eax*8]
lea edx, [edx + eax*8]
sub ecx, dword [ebp - 0x40]
add ecx, 0x7ffffda
mov eax, ecx
shr ecx, 0x1a
and eax, 0x3ffffff
mov dword [edx], eax
add ecx, dword [edx + 4]
sub ecx, dword [ebp - 0x3c]
add ecx, 0x3fffffe
mov eax, ecx
shr ecx, 0x19
and eax, 0x1ffffff
mov dword [edx + 4], eax
add ecx, dword [edx + 8]
sub ecx, dword [ebp - 0x38]
add ecx, 0x7fffffe
mov eax, ecx
shr ecx, 0x1a
and eax, 0x3ffffff
mov dword [edx + 8], eax
add ecx, dword [edx + 0xc]
sub ecx, dword [ebp - 0x34]
add ecx, 0x3fffffe
mov eax, ecx
shr ecx, 0x19
and eax, 0x1ffffff
mov dword [edx + 0xc], eax
add ecx, dword [edx + 0x10]
sub ecx, dword [ebp - 0x30]
add ecx, 0x7fffffe
mov dword [edx + 0x10], ecx
mov eax, dword [edx + 0x14]
sub eax, dword [ebp - 0x2c]
add eax, 0x3fffffe
mov dword [edx + 0x14], eax
mov eax, dword [edx + 0x18]
sub eax, dword [ebp - 0x28]
add eax, 0x7fffffe
mov dword [edx + 0x18], eax
mov eax, dword [edx + 0x1c]
sub eax, dword [ebp - 0x24]
add eax, 0x3fffffe
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x20]
sub eax, dword [ebp - 0x20]
add eax, 0x7fffffe
mov dword [edx + 0x20], eax
mov eax, dword [edx + 0x24]
sub eax, dword [ebp - 0x1c]
add eax, 0x3fffffe
mov dword [edx + 0x24], eax
mov esp, ebp
pop ebp
ret