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

Disassembly:
sub esp, 0x60
push ebx
push esi
push edi
push ebp
call fcn.1c419950
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
cmp eax, ecx
jge 0x1c419922
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], eax
cmp eax, ecx
jge 0x1c419908
mov eax, ecx
mov ecx, dword [esp + 0x88]
sub eax, ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x84]
sar eax, 2
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
imul ecx, eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x1c419704
lea edx, [esp + 0x20]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov ebx, dword [esp + 0x14]
add eax, ebx
cmp eax, 0xff
jl 0x1c41964f
mov eax, 0xff
test eax, eax
jg 0x1c419655
xor eax, eax
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
add eax, ebp
cmp eax, 0xff
jl 0x1c41966e
mov eax, 0xff
test eax, eax
jg 0x1c419674
xor eax, eax
xor edi, edi
xor esi, esi
mov dword [esp + 0x18], 0xfe02
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x80]
cmp eax, esi
jle 0x1c4196db
mov dword [esp + 0x68], ecx
mov ebx, dword [esi*4 + 0x1c4c3fc8]
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax + ebx*8]
mov ecx, dword [eax + ebx*8 + 4]
lea eax, [eax + ebx*8]
mov ebx, dword [esp + 0x60]
sub ebx, ebp
mov ebp, dword [esp + 0x64]
sub ebp, ecx
mov ecx, dword [esp + 0x18]
imul ebx, ebx
imul ebp, ebp
lea eax, [ebx + ebp]
cmp eax, ecx
jge 0x1c4196cb
mov edi, esi
mov dword [esp + 0x18], eax
inc esi
mov ecx, dword [esp + 0x80]
cmp ecx, esi
jg 0x1c419693
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x94]
add edx, 4
add ecx, 8
mov ebx, dword [esp + 0x1c]
imul edi, dword [esp + 0x98]
add edi, eax
dec ebx
mov dword [edx - 4], edi
mov dword [esp + 0x1c], ebx
jne 0x1c41963b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x88]
sub eax, ecx
cdq
and edx, 3
mov ecx, dword [esp + 0x9c]
add eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 2
add eax, edx
shl eax, 4
add ecx, eax
mov eax, dword [esp + 0x78]
dec eax
cmp eax, 0xf
ja case.0x1c419742.5
xor edx, edx
mov dl, byte [eax + 0x1c419940]
jmp dword [edx*4 + 0x1c41992c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
shl eax, 8
add ecx, 4
or eax, edx
add ecx, 4
mov edx, eax
shl edx, 0x10
or eax, edx
mov dword [ecx - 8], eax
mov dword [ecx - 4], eax
mov dword [ecx], eax
jmp 0x1c4198eb
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
shl ebx, 0x10
mov esi, edi
shl esi, 0x10
mov eax, dword [esp + 0x28]
or eax, ebx
mov edx, dword [esp + 0x2c]
shl eax, 8
add ecx, 4
or eax, esi
mov ebp, dword [esp + 0x20]
or eax, edx
mov edx, dword [esp + 0x28]
shl edx, 0x10
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x2c]
or ebp, edx
shl eax, 0x10
add ecx, 4
shl ebp, 8
or ebp, eax
or ebp, edi
mov dword [ecx - 4], ebp
mov ebp, dword [esp + 0x2c]
or ebp, esi
or edi, eax
shl ebp, 8
mov esi, dword [esp + 0x28]
shl edi, 8
or ebp, ebx
or ebp, esi
or edi, edx
mov ebx, dword [esp + 0x20]
mov dword [ecx], ebp
or edi, ebx
mov dword [ecx + 4], edi
jmp case.0x1c419742.5
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
shl eax, 0x10
add ecx, 4
shl edx, 0x10
or eax, edi
shl eax, 8
mov ebx, dword [esp + 0x38]
shl ebx, 0x10
or eax, edx
or eax, esi
mov edx, dword [esp + 0x3c]
or ebx, edx
mov ebp, dword [esp + 0x28]
shl ebx, 8
mov dword [ecx - 4], eax
shl ebp, 0x10
mov eax, dword [esp + 0x2c]
shl edi, 0x10
or ebx, ebp
shl esi, 0x10
or ebx, eax
mov dword [ecx], ebx
add ecx, 4
mov ebx, dword [esp + 0x20]
shl edx, 0x10
or edi, ebx
shl edi, 8
mov ebx, dword [esp + 0x30]
shl eax, 0x10
or edi, esi
or edi, ebx
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov dword [ecx], edi
or edx, ebx
shl edx, 8
or edx, eax
or edx, ebp
mov dword [ecx + 4], edx
jmp case.0x1c419742.5
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
shl eax, 0x10
mov ebx, dword [esp + 0x40]
or eax, edx
mov edx, dword [esp + 0x48]
shl eax, 8
add ecx, 4
shl edx, 0x10
mov ebp, dword [esp + 0x50]
or eax, edx
mov edx, dword [esp + 0x30]
shl edx, 0x10
or eax, ebx
mov esi, dword [esp + 0x38]
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x58]
add ecx, 4
shl eax, 0x10
or eax, ebp
mov edi, dword [esp + 0x24]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x44]
shl edx, 0x10
or eax, esi
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
or eax, edi
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x4c]
or eax, edx
mov edx, dword [esp + 0x5c]
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
shl eax, 0x10
or eax, edx
mov edx, dword [esp + 0x3c]
shl eax, 8
shl edx, 0x10
or eax, edx
mov edx, dword [esp + 0x34]
or eax, edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x90]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, ecx
jl 0x1c419623
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
add eax, 4
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x1c4195d6
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x60
ret