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

Disassembly:
sub esp, 0xc0
lea ecx, [eax + eax]
mov dword [esp + 0x10], ecx
lea ecx, [eax*4]
mov dword [esp], ecx
lea ecx, [eax + eax*2]
add ecx, ecx
mov dword [esp + 0x24], ecx
lea ecx, [eax*8]
sub ecx, eax
mov dword [esp + 0x34], ecx
lea ecx, [eax*8]
lea edx, [eax + eax*2]
mov dword [esp + 0x1c], ecx
lea ecx, [eax + eax*4]
mov dword [esp + 0x2c], edx
push ebx
lea edx, [eax + eax*4]
add ecx, ecx
push ebp
mov dword [esp + 0x14], edx
lea edx, [eax + eax*8]
mov ebx, eax
mov dword [esp + 0x1c], ecx
imul ebx, ebx, 0xd
mov ecx, eax
push esi
imul ecx, ecx, 0xb
mov esi, eax
mov dword [esp + 0x48], edx
lea edx, [eax*8]
sub edx, eax
lea ebp, [eax + eax*2]
shl esi, 4
sub esi, eax
mov eax, dword [esp + 0xd4]
add ebp, ebp
add eax, 0x1f
add ebp, ebp
add edx, edx
shr eax, 5
cmp dword [esp + 0xd8], 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], eax
jle 0x1004f8c0
mov ecx, dword [esp + 0xdc]
add ecx, ecx
push edi
mov edi, dword [esp + 0xd4]
add ecx, ecx
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x58], edi
jmp 0x1004f574
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x1004f8a1
add ebx, ebx
add ebx, ebx
add ebp, ebp
add ebp, ebp
lea eax, [edx*4]
lea edi, [esi*4]
mov esi, eax
sub esi, edi
mov edi, eax
sub edi, ebx
mov ebx, eax
sub ebx, ebp
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x54]
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x24]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x60], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x4c]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xb0], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x2c]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x90], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x44]
add ebx, ebx
add ebx, ebx
mov dword [esp + 0xc8], ebp
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x34]
add ebx, ebx
mov dword [esp + 0x88], ebp
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x1c]
add ebx, ebx
mov dword [esp + 0xa8], ebp
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x80], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xb8], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x78], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xb4], ebp
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + 0x50]
lea edx, [ecx + eax]
sub ecx, eax
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0x40]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x48]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xc0], ebp
mov ebp, dword [esp + 0x54]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x24]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x98], ebp
mov ebp, dword [esp + 0x4c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x2c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x44]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x94], ebp
mov ebp, dword [esp + 0x34]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x8c], ebp
mov ebp, dword [esp + 0x1c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x84], ebp
lea ebp, [ebx*4]
sub ebp, eax
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x3c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x20]
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 + 0x70], ebp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x38], eax
jmp 0x1004f764
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x98]
mov ebx, dword [eax + edx]
mov eax, dword [esp + 0x68]
and ebx, dword [eax + edx]
mov eax, dword [esp + 0xc0]
and ebx, dword [eax + edx]
mov eax, dword [esp + 0x5c]
and ebx, dword [eax + edx]
mov eax, dword [esp + 0xa0]
and ebx, dword [eax + edx]
mov eax, dword [esp + 0x78]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0xb8]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0x80]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0xa8]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0x88]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0xc8]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0x90]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0xb0]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0x60]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0x64]
and ebx, dword [eax + ecx]
mov eax, dword [esp + 0x6c]
and ebx, dword [edi + ecx]
add ecx, 4
and ebx, dword [esi + ecx - 4]
add edx, 4
and ebx, dword [eax + edx - 4]
mov eax, dword [esp + 0x74]
and ebx, dword [edx + ebp - 4]
mov ebp, dword [esp + 0xbc]
and ebx, dword [edx + eax - 4]
mov eax, dword [esp + 0x7c]
and ebx, dword [edx + eax - 4]
mov eax, dword [esp + 0x84]
and ebx, dword [edx + eax - 4]
mov eax, dword [esp + 0x8c]
and ebx, dword [edx + eax - 4]
mov eax, dword [esp + 0x94]
and ebx, dword [edx + eax - 4]
mov eax, dword [esp + 0x9c]
and ebx, dword [edx + eax - 4]
mov eax, dword [esp + 0xa4]
and ebx, dword [edx + eax - 4]
mov eax, dword [esp + 0xac]
and ebx, dword [eax + ecx - 4]
mov eax, dword [esp + 0xb4]
and ebx, dword [eax + ecx - 4]
mov eax, dword [esp + 0x30]
and ebx, dword [eax]
add eax, 4
and ebx, dword [edx - 4]
mov dword [esp + 0x30], eax
and ebx, dword [ecx - 4]
sub dword [esp + 0x38], 1
mov dword [eax + ebp - 4], ebx
jne 0x1004f760
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xcc]
add ecx, dword [esp + 0x10]
add dword [esp + 0x14], eax
sub dword [esp + 0x58], 1
mov dword [esp + 0x18], ecx
jne 0x1004f570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret