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

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