Function at 0x504550
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
sub edi, dword [esi + 0x20]
mov dword [ebp - 0x34], 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 - 0x20], edi
mov dword [ebp - 0x30], eax
mov edi, esi
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]
sub eax, ebx
add eax, 0x3fffffe
mov dword [ebp - 0x24], 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 - 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 [esi + 0x48]
add eax, dword [esi + 0x20]
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.00502470
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 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 - 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 [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 - 0x38]
add eax, 0x7fffffe
add ecx, eax
mov eax, ecx
shr ecx, 0x1a
sub ecx, dword [ebp - 0x34]
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 - 0x30]
and eax, 0x1ffffff
mov dword [edi + 0xc], eax
add ecx, 0x7fffffe
add dword [edi + 0x10], ecx
mov eax, esi
sub eax, dword [ebp - 0x2c]
mov ecx, 0x7fffffe
add dword [edi + 0x14], eax
mov eax, ecx
sub eax, dword [ebp - 0x28]
add dword [edi + 0x18], eax
mov eax, esi
sub eax, dword [ebp - 0x24]
add dword [edi + 0x1c], eax
mov eax, esi
sub eax, dword [ebp - 0x1c]
add dword [edi + 0x24], eax
mov eax, ebx
sub ecx, dword [ebp - 0x20]
add eax, 0x50
add dword [edi + 0x20], ecx
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x78
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00502470
mov edx, dword [ebp + 0xc]
add esp, 0x24
mov eax, dword [edx + 0x50]
add eax, eax
mov ecx, eax
and eax, 0x3ffffff
mov dword [ebp + 0x14], eax
mov dword [edi + 0x78], eax
mov eax, dword [edx + 0x54]
shr ecx, 0x1a
lea ecx, [ecx + eax*2]
mov eax, ecx
shr ecx, 0x19
and eax, 0x1ffffff
mov dword [ebp + 0x10], eax
mov dword [edi + 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 [edi + 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 [edi + 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 [edi + 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 [edi + 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 [ebx + 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 + 0x6c], esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x74], ecx
mov dword [eax + 0x64], ebx
mov dword [eax + 0x68], edi
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
lea eax, [eax + eax*4]
lea eax, [eax + 0xa]
add dword [esi + eax*8], edx
lea ecx, [esi + eax*8]
mov eax, dword [ebp - 0x30]
add dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x2c]
add dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x28]
add dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x24]
add dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x20]
add dword [ecx + 0x20], eax
mov esi, dword [ebp - 0x3c]
add dword [ecx + 4], esi
add dword [ecx + 8], edi
add dword [ecx + 0xc], ebx
mov eax, dword [ebp - 0x1c]
add dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x18]
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 - 0x30]
and eax, 0x1ffffff
mov dword [edx + 0xc], eax
add ecx, 0x7fffffe
add dword [edx + 0x10], ecx
mov eax, ebx
sub eax, dword [ebp - 0x2c]
mov ecx, 0x7fffffe
add dword [edx + 0x14], eax
mov eax, ecx
sub eax, dword [ebp - 0x28]
add dword [edx + 0x18], eax
mov eax, ebx
sub eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
sub ebx, dword [ebp - 0x1c]
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