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

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