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

Disassembly:
sub esp, 0x100
push ebx
push esi
push edi
lea ecx, [eax + eax]
mov dword [esp + 0x30], ecx
lea ecx, [eax*4]
mov dword [esp + 0xc], ecx
lea ecx, [eax + eax*2]
add ecx, ecx
mov dword [esp + 0x1c], ecx
lea ecx, [eax*8]
sub ecx, eax
mov dword [esp + 0x54], ecx
lea ecx, [eax*8]
mov dword [esp + 0x18], ecx
lea ecx, [eax + eax*4]
add ecx, ecx
mov dword [esp + 0x34], ecx
mov ecx, eax
imul ecx, ecx, 0xb
mov dword [esp + 0x4c], ecx
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, eax
imul ecx, ecx, 0xd
mov dword [esp + 0x64], ecx
lea edx, [eax + eax*2]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
mov dword [esp + 0x28], edx
lea edx, [eax + eax*4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
lea edx, [eax + eax*8]
mov ecx, eax
mov ebx, eax
shl ecx, 4
imul ebx, ebx, 0x13
sub ecx, eax
mov dword [esp + 0x5c], edx
mov edx, eax
shl edx, 4
add edx, eax
lea esi, [eax + eax*8]
mov edi, dword [esp + 0x114]
mov dword [esp + 0x44], ecx
mov ecx, eax
lea eax, [eax + eax*4]
add eax, eax
add edi, 0x1f
shl ecx, 4
add esi, esi
add eax, eax
shr edi, 5
cmp dword [esp + 0x118], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x100], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x38], edi
jle 0x10051917
mov ecx, dword [esp + 0x11c]
add ecx, ecx
push ebp
mov ebp, dword [esp + 0x114]
add ecx, ecx
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], ebp
jmp 0x10051494
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x44], ecx
test edi, edi
jle 0x100518f8
lea edi, [eax*4]
lea eax, [ebx*4]
lea ebx, [esi*4]
mov esi, eax
sub esi, edi
mov edi, eax
sub edi, ebx
lea ebp, [edx*4]
mov ebx, eax
sub ebx, ebp
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0x40]
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x48]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xf8], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x28]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xb8], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x68]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xe0], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x30]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xb0], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x50]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x100], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x38]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xa8], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x60]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xd8], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x1c]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xa0], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x58]
add ebx, ebx
mov dword [esp + 0xf0], ebp
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x20]
add ebx, ebx
mov dword [esp + 0x98], ebp
add ebx, ebx
lea edx, [eax + ecx]
mov ebp, eax
sub ecx, eax
sub ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xd0], ebp
mov ebp, eax
add ebx, ebx
add ebx, ebx
sub ebp, ebx
mov dword [esp + 0x70], ebp
mov ebx, dword [esp + 0x10]
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0x108], ebp
mov ebx, dword [esp + 0x2c]
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0x88], ebp
mov ebx, dword [esp + 0x34]
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0xc8], ebp
mov ebx, dword [esp + 0x10]
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0x80], ebp
mov ebp, dword [esp + 0x64]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xc4], ebp
mov ebp, dword [esp + 0x5c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xbc], ebp
mov ebp, dword [esp + 0x54]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xb4], ebp
mov ebp, dword [esp + 0x40]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + 0x48]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x28]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x8c], ebp
mov ebp, dword [esp + 0x68]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x30]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xe8], ebp
mov ebp, dword [esp + 0x50]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xec], ebp
mov ebp, dword [esp + 0x38]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xe4], ebp
mov ebp, dword [esp + 0x60]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xdc], ebp
mov ebp, dword [esp + 0x1c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xd4], ebp
mov ebp, dword [esp + 0x58]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xcc], ebp
mov ebp, dword [esp + 0x20]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x24]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x94], ebp
lea ebp, [ebx*4]
sub ebp, eax
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x2c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x34]
add ebp, ebp
add ebp, ebp
sub ebp, eax
sub ebx, eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x90], ebp
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x4c], eax
jmp 0x1005175b
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + edx]
and eax, dword [edx + ebx]
mov ebx, dword [esp + 0x80]
and eax, dword [ecx + ebx]
mov ebx, dword [esp + 0xc8]
and eax, dword [ecx + ebx]
mov ebx, dword [esp + 0x88]
and eax, dword [ecx + ebx]
mov ebx, dword [esp + 0x108]
and eax, dword [ecx + ebx]
mov ebx, dword [esp + 0x70]
and eax, dword [ecx + ebx]
mov ebx, dword [esp + 0xd0]
and eax, dword [ecx + ebx]
mov ebx, dword [esp + 0x98]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xf0]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xa0]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xd8]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xa8]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0x100]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xb0]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xe0]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xb8]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xf8]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0xc0]
and eax, dword [ebx + ecx]
mov ebx, dword [esp + 0x74]
and eax, dword [edi + ecx]
and eax, dword [esi + ecx]
and eax, dword [edx + ebp]
mov ebp, dword [esp + 0xfc]
and eax, dword [edx + ebx]
mov ebx, dword [esp + 0x7c]
and eax, dword [ebx + edx]
mov ebx, dword [esp + 0x84]
and eax, dword [ebx + edx]
mov ebx, dword [esp + 0x8c]
and eax, dword [edx + ebx]
mov ebx, dword [esp + 0x94]
and eax, dword [ebx + edx]
mov ebx, dword [esp + 0x9c]
and eax, dword [ebx + edx]
mov ebx, dword [esp + 0xa4]
and eax, dword [edx + ebx]
mov ebx, dword [esp + 0xac]
and eax, dword [edx + ebx]
mov ebx, dword [esp + 0xb4]
and eax, dword [edx + ebx]
mov ebx, dword [esp + 0xbc]
and eax, dword [edx + ebx]
mov ebx, dword [esp + 0xc4]
and eax, dword [edx + ebx]
mov ebx, dword [esp + 0xcc]
and eax, dword [ebx + edx]
mov ebx, dword [esp + 0xd4]
and eax, dword [ebx + edx]
mov ebx, dword [esp + 0xdc]
and eax, dword [ebx + edx]
mov ebx, dword [esp + 0xe4]
and eax, dword [ebx + edx]
mov ebx, dword [esp + 0xec]
and eax, dword [ebx + edx]
mov ebx, eax
mov eax, dword [esp + 0x44]
and ebx, dword [eax]
and ebx, dword [ecx]
and ebx, dword [edx]
add eax, 4
mov dword [eax + ebp - 4], ebx
add ecx, 4
add edx, 4
sub dword [esp + 0x4c], 1
mov dword [esp + 0x44], eax
jne 0x10051750
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x104]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10c]
add ecx, dword [esp + 0x10]
add dword [esp + 0x14], edi
sub dword [esp + 0x6c], 1
mov dword [esp + 0x18], ecx
jne 0x10051490
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x100
ret