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

Disassembly:
sub esp, 0xf4
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 + 0x3c], ecx
lea ecx, [eax*8]
mov dword [esp + 0x18], ecx
lea ecx, [eax + eax*4]
add ecx, ecx
mov dword [esp + 0x54], ecx
mov ecx, eax
imul ecx, ecx, 0xb
mov dword [esp + 0x2c], ecx
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x44], ecx
mov ecx, eax
imul ecx, ecx, 0xd
mov dword [esp + 0x24], ecx
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
lea edx, [eax + eax*2]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x28], edx
lea edx, [eax + eax*4]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov dword [esp + 0x20], edx
lea edx, [eax + eax*8]
mov ebx, dword [esp + 0x108]
mov dword [esp + 0x34], edx
mov edx, eax
mov dword [esp + 0x4c], ecx
imul edx, edx, 0x13
mov ecx, eax
shl ecx, 4
add ecx, eax
lea esi, [eax + eax*8]
mov edi, eax
lea eax, [eax + eax*4]
add eax, eax
add ebx, 0x1f
shl edi, 4
add esi, esi
add eax, eax
shr ebx, 5
cmp dword [esp + 0x10c], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0xec], esi
mov dword [esp + 0xf4], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x38], ebx
jle 0x10050819
mov eax, dword [esp + 0x110]
add eax, eax
push ebp
mov ebp, dword [esp + 0x108]
add eax, eax
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x110]
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], ebp
jmp 0x100503d4
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
test ebx, ebx
jle 0x100507fa
add esi, esi
add esi, esi
lea ebp, [edi*4]
lea ebx, [ecx*4]
mov edi, esi
sub edi, ebx
mov ebx, esi
sub ebx, ebp
mov dword [esp + 0xc8], ebx
mov ebx, dword [esp + 0x50]
add ebx, ebx
add ebx, ebx
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x60]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xc0], ebp
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x28]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xb8], ebp
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x48]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xb0], ebp
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x30]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xa0], ebp
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x58]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x98], ebp
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x38]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x90], ebp
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x1c]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x88], ebp
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x40]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x80], ebp
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x20]
add ebx, ebx
mov dword [esp + 0x78], ebp
add ebx, ebx
mov ebp, esi
sub ebp, ebx
mov ebx, dword [esp + 0x24]
add edx, edx
add ebx, ebx
add edx, edx
mov dword [esp + 0x70], ebp
add ebx, ebx
lea ecx, [edx + eax]
mov ebp, esi
sub eax, esi
sub ebp, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x6c], ebp
mov ebp, esi
add ebx, ebx
add ebx, ebx
sub ebp, ebx
mov dword [esp + 0xb4], ebp
mov ebx, dword [esp + 0x2c]
add ebx, ebx
add ebx, ebx
mov ebp, esi
sub ebp, ebx
mov dword [esp + 0xd4], ebp
mov ebx, dword [esp + 0x34]
add ebx, ebx
add ebx, ebx
mov ebp, esi
sub ebp, ebx
mov dword [esp + 0xcc], ebp
mov ebx, dword [esp + 0x10]
mov ebp, esi
sub ebp, ebx
mov dword [esp + 0xc4], ebp
mov ebp, dword [esp + 0x8c]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + 0x54]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x5c]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x50]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x60]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xf4], ebp
mov ebp, dword [esp + 0x28]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0x94], ebp
mov ebp, dword [esp + 0x48]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xe4], ebp
mov ebp, dword [esp + 0x30]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x58]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xfc], ebp
mov ebp, dword [esp + 0x38]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x1c]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xbc], ebp
mov ebp, dword [esp + 0x40]
add ebp, ebp
add ebp, ebp
sub esi, edx
sub ebp, edx
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x20]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xe0], ebp
mov ebp, dword [esp + 0x24]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xd8], ebp
lea ebp, [ebx*4]
sub ebp, edx
mov dword [esp + 0xd0], ebp
mov ebp, dword [esp + 0x2c]
add ebp, ebp
add ebp, ebp
sub ebp, edx
mov dword [esp + 0xa8], ebp
mov ebp, dword [esp + 0x34]
add ebp, ebp
add ebp, ebp
sub ebp, edx
sub ebx, edx
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x18]
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xec], ebx
mov dword [esp + 0x4c], edx
jmp 0x10050667
mov ebp, dword [esp + 0xdc]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + ecx]
mov edx, dword [esp + 0xbc]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0x7c]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0xfc]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0x84]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0xc4]
or ebx, dword [eax + edx]
mov edx, dword [esp + 0x68]
or ebx, dword [ecx + edx]
mov edx, dword [esp + 0xe4]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0x94]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0xcc]
or ebx, dword [eax + edx]
mov edx, dword [esp + 0x9c]
or ebx, dword [ecx + edx]
mov edx, dword [esp + 0xf4]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0xa4]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0xd4]
or ebx, dword [eax + edx]
mov edx, dword [esp + 0xac]
or ebx, dword [ecx + edx]
mov edx, dword [esp + 0xec]
or ebx, dword [ecx + edx]
mov edx, dword [esp + 0xb4]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0x6c]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0x70]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0x78]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0x80]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0x88]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0x90]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0x98]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0xa0]
or ebx, dword [ecx + ebp]
mov ebp, dword [esp + 0xe8]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0xa8]
or ebx, dword [edx + ecx]
mov edx, dword [esp + 0xb0]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0xb8]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0xc0]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0xc8]
or ebx, dword [edx + eax]
mov edx, dword [esp + 0xd0]
or ebx, dword [edi + eax]
add eax, 4
or ebx, dword [esi + eax - 4]
add ecx, 4
or ebx, dword [esi + ecx - 4]
or ebx, dword [edx + ecx - 4]
mov edx, dword [esp + 0xd8]
or ebx, dword [edx + ecx - 4]
mov edx, dword [esp + 0xe0]
or ebx, dword [edx + ecx - 4]
mov edx, dword [esp + 0x44]
or ebx, dword [eax - 4]
add edx, 4
or ebx, dword [edx - 4]
mov dword [esp + 0x44], edx
or ebx, dword [ecx - 4]
sub dword [esp + 0x4c], 1
mov dword [edx + ebp - 4], ebx
jne 0x10050660
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x100]
add eax, dword [esp + 0x10]
add dword [esp + 0x14], ebx
sub dword [esp + 0x64], 1
mov dword [esp + 0x18], eax
jne 0x100503d0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xf4
ret