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

Disassembly:
sub esp, 0x84
push esi
mov esi, dword [esp + 0x90]
push edi
mov edi, ecx
lea ecx, [eax + eax]
mov dword [esp + 0x28], ecx
lea ecx, [eax*4]
mov dword [esp + 8], ecx
lea edx, [eax + eax*2]
lea ecx, [eax + eax*2]
add ecx, ecx
mov dword [esp + 0x14], edx
lea edx, [eax + eax*4]
mov dword [esp + 0x38], ecx
lea ecx, [eax*8]
mov dword [esp + 0x20], edx
lea edx, [eax*8]
sub edx, eax
mov dword [esp + 0x30], ecx
lea ecx, [eax + eax*8]
add esi, 0x1f
lea eax, [eax + eax*4]
add eax, eax
shr esi, 5
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
test edi, edi
jle 0x1004de54
mov ecx, dword [esp + 0x98]
add ecx, ecx
push ebx
mov ebx, dword [esp + 0x94]
add ecx, ecx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x10], ebx
push ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], edi
mov ebx, 1
jmp 0x1004dc40
mov dword [esp + 0x20], ecx
test esi, esi
jle 0x1004de35
mov ebx, dword [esp + 0x38]
add ebx, ebx
add ebx, ebx
lea edi, [eax*4]
mov eax, dword [esp + 0x54]
add eax, eax
add eax, eax
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 + 0x80], ebx
mov ebx, dword [esp + 0x40]
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x28]
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 + 0x1c]
mov dword [esp + 0x64], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x84], ebp
add ebx, ebx
add ebx, ebx
mov ebp, eax
sub ebp, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x5c], 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 + 0x50], ebp
mov ebp, dword [esp + 0x38]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x3c]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x40]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x28]
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x60], ebp
lea ebp, [ebx*4]
sub ebp, eax
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x1c]
lea edx, [ecx + eax]
sub ecx, eax
add ebp, ebp
add ebp, ebp
sub ebp, eax
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x30]
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 + 0x8c], ebp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], eax
jmp 0x1004dd7d
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x48]
mov ebx, dword [edx + ebx]
mov eax, dword [esp + 0x74]
or ebx, dword [eax + ecx]
mov eax, dword [esp + 0x5c]
or ebx, dword [eax + ecx]
mov eax, dword [esp + 0x84]
or ebx, dword [eax + ecx]
mov eax, dword [esp + 0x64]
or ebx, dword [eax + ecx]
mov eax, dword [esp + 0x7c]
or ebx, dword [edx + ebp]
mov ebp, dword [esp + 0x88]
or ebx, dword [eax + edx]
mov eax, dword [esp + 0x6c]
or ebx, dword [edx + eax]
mov eax, dword [esp + 0x4c]
or ebx, dword [eax + edx]
mov eax, dword [esp + 0x50]
or ebx, dword [eax + edx]
mov eax, dword [esp + 0x58]
or ebx, dword [edx + eax]
mov eax, dword [esp + 0x60]
or ebx, dword [edx + eax]
mov eax, dword [esp + 0x68]
or ebx, dword [edx + eax]
mov eax, dword [esp + 0x70]
or ebx, dword [eax + ecx]
mov eax, dword [esp + 0x78]
or ebx, dword [eax + ecx]
mov eax, dword [esp + 0x80]
or ebx, dword [eax + ecx]
mov eax, dword [esp + 0x20]
or ebx, dword [edi + ecx]
add eax, 4
or ebx, dword [esi + ecx]
add ecx, 4
or ebx, dword [ecx - 4]
add edx, 4
or ebx, dword [edx - 4]
mov dword [esp + 0x20], eax
or ebx, dword [eax - 4]
mov dword [eax + ebp - 4], ebx
mov ebx, 1
sub dword [esp + 0x24], ebx
jne 0x1004dd72
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x90]
add ecx, dword [esp + 0x10]
add dword [esp + 0x14], edi
sub dword [esp + 0x44], ebx
mov dword [esp + 0x18], ecx
jne 0x1004dc40
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x84
ret