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

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