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

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, ecx
lea ecx, [eax + eax]
mov dword [esp + 0x14], ecx
lea ecx, [eax*4]
mov dword [esp + 4], ecx
lea edx, [eax + eax*2]
lea ecx, [eax + eax*2]
add ecx, ecx
mov dword [esp + 0x34], edx
lea edx, [eax + eax*4]
push esi
mov esi, eax
mov dword [esp + 0x40], ecx
imul esi, esi, 0xb
lea ecx, [eax*8]
sub ecx, eax
mov dword [esp + 0x14], edx
lea edx, [eax + eax*8]
push edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x2c], edx
lea edx, [eax + eax*4]
mov dword [esp + 0x24], ecx
lea ecx, [eax*8]
lea eax, [eax + eax*2]
add eax, eax
add edi, 0x1f
add edx, edx
add eax, eax
shr edi, 5
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edi
test ebx, ebx
jle 0x1004e7e0
mov ecx, dword [esp + 0xb4]
add ecx, ecx
add ecx, ecx
push ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x4c], ebx
lea esp, [esp]
mov dword [esp + 0x24], ecx
test edi, edi
jle 0x1004e7c1
mov ebp, dword [esp + 0x30]
add ebp, ebp
add ebp, ebp
lea edi, [eax*4]
lea eax, [esi*4]
mov esi, eax
sub esi, edi
lea ebx, [edx*4]
mov edi, eax
sub edi, ebx
mov ebx, eax
sub ebx, ebp
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x38]
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x88], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x80], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x1c]
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 + 0x70], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x68], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x7c], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x9c], ebp
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x34]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x3c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x30]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x38]
add ebp, ebp
lea edx, [ecx + eax]
add ebp, ebp
sub ecx, eax
sub ebp, eax
mov dword [esp + 0x8c], ebp
mov ebp, dword [esp + 0x28]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x48]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x1c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x64], ebp
lea ebp, [ebx*4]
sub ebp, eax
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x40]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x5c], 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 + 0x84], ebp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x2c], eax
jmp 0x1004e6de
mov ebp, dword [esp + 0x84]
mov ebx, dword [esp + 0x94]
mov ebp, dword [edx + ebp]
mov eax, dword [esp + 0x5c]
and ebp, dword [edx + eax]
mov eax, dword [esp + 0x50]
and ebp, dword [edx + eax]
mov eax, dword [esp + 0x64]
and ebp, dword [edx + eax]
mov eax, dword [esp + 0xa4]
and ebp, dword [edx + eax]
mov eax, dword [esp + 0x6c]
and ebp, dword [edx + eax]
mov eax, dword [esp + 0x8c]
and ebp, dword [edx + eax]
mov eax, dword [esp + 0x74]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x9c]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x7c]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x54]
and ebp, dword [eax + edx]
mov eax, dword [esp + 0x58]
and ebp, dword [eax + edx]
mov eax, dword [esp + 0x60]
and ebp, dword [eax + edx]
mov eax, dword [esp + 0x68]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x70]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x78]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x80]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x88]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x90]
and ebp, dword [eax + ecx]
mov eax, dword [esp + 0x24]
and ebp, dword [edi + ecx]
add eax, 4
and ebp, dword [esi + ecx]
add ecx, 4
and ebp, dword [edx + ebx]
mov ebx, dword [esp + 0x98]
and ebp, dword [eax - 4]
add edx, 4
and ebp, dword [ecx - 4]
mov dword [esp + 0x24], eax
and ebp, dword [edx - 4]
sub dword [esp + 0x2c], 1
mov dword [ebx + eax - 4], ebp
jne 0x1004e6d0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0xa0]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
add ecx, dword [esp + 0x10]
add dword [esp + 0x14], ebx
sub dword [esp + 0x4c], 1
mov dword [esp + 0x18], ecx
jne 0x1004e550
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x9c
ret