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

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov eax, dword [esi]
mov edi, eax
mov ebp, dword [esi + 4]
lea ecx, [eax + 0x1f]
sar ecx, 5
mov dword [esp + 0x10], ecx
and edi, 0x8000001f
jns 0x1003c1f7
dec edi
or edi, 0xffffffe0
inc edi
mov ebx, dword [esp + 0x1c]
mov edx, 0x20
cmove edi, edx
cmp eax, edx
jge 0x1003c247
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp]
shl eax, cl
mov dword [ebx], eax
mov esi, dword [esi]
dec esi
test esi, esi
jle 0x1003c6c0
lea edi, [ebx + 4]
mov eax, dword [ebx]
lea edi, [edi + 4]
mov ecx, edx
mov edx, dword [ebp]
sub ecx, esi
shl edx, cl
mov ecx, esi
shr eax, cl
dec esi
or edx, eax
mov dword [edi - 4], edx
mov edx, 0x20
test esi, esi
jg 0x1003c220
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
lea edx, [ecx - 1]
xor eax, eax
mov dword [esp + 0x18], edx
test edi, edi
jle 0x1003c288
jmp 0x1003c260
mov esi, dword [ebp + edx*4]
mov ecx, 0x20
mov edx, dword [ebp + edx*4 - 4]
sub ecx, edi
shl esi, cl
mov ecx, edi
shr edx, cl
dec edi
or esi, edx
mov edx, dword [esp + 0x18]
mov dword [ebx + eax*4], esi
inc eax
test edi, edi
jg 0x1003c260
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x1003c4ac
jmp 0x1003c2a0
mov esi, dword [ebp + ecx*4 - 4]
mov edx, esi
mov edi, dword [ebp + ecx*4]
shr edx, 0x1f
mov dword [ebx + eax*4], edi
lea ecx, [edi + edi]
or edx, ecx
lea ecx, [edi*4]
mov dword [ebx + eax*4 + 4], edx
mov edx, esi
shr edx, 0x1e
or edx, ecx
lea ecx, [edi*8]
mov dword [ebx + eax*4 + 8], edx
mov edx, esi
shr edx, 0x1d
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0xc], edx
mov edx, esi
shr edx, 0x1c
shl ecx, 4
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x10], edx
mov edx, esi
shr edx, 0x1b
shl ecx, 5
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x14], edx
mov edx, esi
shr edx, 0x1a
shl ecx, 6
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x18], edx
mov edx, esi
shr edx, 0x19
shl ecx, 7
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x1c], edx
mov edx, esi
shr edx, 0x18
shl ecx, 8
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x20], edx
mov edx, esi
shr edx, 0x17
shl ecx, 9
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x24], edx
mov edx, esi
shr edx, 0x16
shl ecx, 0xa
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x28], edx
mov edx, esi
shr edx, 0x15
shl ecx, 0xb
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x2c], edx
mov edx, esi
shr edx, 0x14
shl ecx, 0xc
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x30], edx
mov edx, esi
shr edx, 0x13
shl ecx, 0xd
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x34], edx
mov edx, esi
shr edx, 0x12
shl ecx, 0xe
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x38], edx
mov edx, esi
shr edx, 0x11
shl ecx, 0xf
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x3c], edx
mov edx, esi
shr edx, 0x10
shl ecx, 0x10
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x40], edx
mov edx, esi
shr edx, 0xf
shl ecx, 0x11
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x44], edx
mov edx, esi
shr edx, 0xe
shl ecx, 0x12
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x48], edx
mov edx, esi
shr edx, 0xd
shl ecx, 0x13
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x4c], edx
mov edx, esi
shr edx, 0xc
shl ecx, 0x14
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x50], edx
mov edx, esi
shr edx, 0xb
shl ecx, 0x15
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x54], edx
mov edx, esi
shr edx, 0xa
shl ecx, 0x16
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x58], edx
mov edx, esi
shr edx, 9
shl ecx, 0x17
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x5c], edx
mov edx, esi
shr edx, 8
shl ecx, 0x18
or edx, ecx
mov ecx, edi
mov dword [ebx + eax*4 + 0x60], edx
mov edx, esi
shr edx, 7
shl ecx, 0x19
or edx, ecx
mov ecx, esi
mov dword [ebx + eax*4 + 0x64], edx
mov edx, edi
shl edx, 0x1a
shr ecx, 6
or edx, ecx
mov ecx, esi
mov dword [ebx + eax*4 + 0x68], edx
mov edx, edi
shl edx, 0x1b
shr ecx, 5
or edx, ecx
mov dword [ebx + eax*4 + 0x6c], edx
mov edx, edi
mov ecx, esi
shl edx, 0x1c
shr ecx, 4
or edx, ecx
mov ecx, esi
mov dword [ebx + eax*4 + 0x70], edx
mov edx, edi
shr ecx, 3
shl edx, 0x1d
or edx, ecx
mov ecx, esi
mov dword [ebx + eax*4 + 0x74], edx
mov edx, edi
shr ecx, 2
shl edx, 0x1e
or edx, ecx
shl edi, 0x1f
mov ecx, dword [esp + 0x18]
shr esi, 1
dec ecx
or edi, esi
mov dword [ebx + eax*4 + 0x78], edx
mov dword [ebx + eax*4 + 0x7c], edi
add eax, 0x20
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x1003c2a0
mov ecx, dword [ebp]
mov dword [ebx + eax*4], ecx
mov edx, dword [ebp]
mov ecx, dword [ebx]
add edx, edx
shr ecx, 0x1f
or edx, ecx
mov dword [ebx + eax*4 + 4], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 2
shr ecx, 0x1e
or edx, ecx
mov dword [ebx + eax*4 + 8], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 3
shr ecx, 0x1d
or edx, ecx
mov dword [ebx + eax*4 + 0xc], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 4
shr ecx, 0x1c
or edx, ecx
mov dword [ebx + eax*4 + 0x10], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 5
shr ecx, 0x1b
or edx, ecx
mov dword [ebx + eax*4 + 0x14], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 6
shr ecx, 0x1a
or edx, ecx
mov dword [ebx + eax*4 + 0x18], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 7
shr ecx, 0x19
or edx, ecx
mov dword [ebx + eax*4 + 0x1c], edx
mov ecx, dword [ebp]
movzx edx, byte [ebx + 3]
shl ecx, 8
or edx, ecx
mov dword [ebx + eax*4 + 0x20], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 9
shr ecx, 0x17
or edx, ecx
mov dword [ebx + eax*4 + 0x24], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0xa
shr ecx, 0x16
or edx, ecx
mov dword [ebx + eax*4 + 0x28], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0xb
shr ecx, 0x15
or edx, ecx
mov dword [ebx + eax*4 + 0x2c], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0xc
shr ecx, 0x14
or edx, ecx
mov dword [ebx + eax*4 + 0x30], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0xd
shr ecx, 0x13
or edx, ecx
mov dword [ebx + eax*4 + 0x34], edx
mov edx, dword [ebp]
shl edx, 0xe
mov ecx, dword [ebx]
shr ecx, 0x12
or edx, ecx
mov dword [ebx + eax*4 + 0x38], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0xf
shr ecx, 0x11
or edx, ecx
mov dword [ebx + eax*4 + 0x3c], edx
mov ecx, dword [ebp]
movzx edx, word [ebx + 2]
shl ecx, 0x10
or edx, ecx
mov dword [ebx + eax*4 + 0x40], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x11
shr ecx, 0xf
or edx, ecx
mov dword [ebx + eax*4 + 0x44], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x12
shr ecx, 0xe
or edx, ecx
mov dword [ebx + eax*4 + 0x48], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x13
shr ecx, 0xd
or edx, ecx
mov dword [ebx + eax*4 + 0x4c], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x14
shr ecx, 0xc
or edx, ecx
mov dword [ebx + eax*4 + 0x50], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x15
shr ecx, 0xb
or edx, ecx
mov dword [ebx + eax*4 + 0x54], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x16
shr ecx, 0xa
or edx, ecx
mov dword [ebx + eax*4 + 0x58], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x17
shr ecx, 9
or edx, ecx
mov dword [ebx + eax*4 + 0x5c], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x18
shr ecx, 8
or edx, ecx
mov dword [ebx + eax*4 + 0x60], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x19
shr ecx, 7
or edx, ecx
mov dword [ebx + eax*4 + 0x64], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x1a
shr ecx, 6
or edx, ecx
mov dword [ebx + eax*4 + 0x68], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shl edx, 0x1b
shr ecx, 5
or edx, ecx
mov dword [ebx + eax*4 + 0x6c], edx
mov edx, dword [ebp]
lea eax, [eax + 0x1e]
mov ecx, dword [ebx]
shr ecx, 4
shl edx, 0x1c
or edx, ecx
mov dword [ebx + eax*4 - 8], edx
mov edx, dword [ebp]
mov ecx, dword [ebx]
shr ecx, 3
shl edx, 0x1d
or edx, ecx
mov dword [ebx + eax*4 - 4], edx
lea edx, [ebx + eax*4]
mov ecx, dword [ebp]
mov eax, dword [ebx]
shl ecx, 0x1e
shr eax, 2
or ecx, eax
mov dword [edx], ecx
mov ecx, dword [ebp]
mov eax, dword [ebx]
shl ecx, 0x1f
shr eax, 1
or ecx, eax
mov dword [edx + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret