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

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