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

Disassembly:
sub esp, 0x90
push ebx
movsx ebx, word [esp + 0x98]
xor edx, edx
push ebp
mov bp, word [esp + 0xa4]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], ebx
movzx ecx, word [esp + 0xa4]
mov dword [esp + 0x2c], ecx
movzx ecx, bp
mov dword [esp + 0x18], ecx
mov ecx, 0xf
mov dword [esp + 0x1c], edi
nop
lea esi, [edx + 2]
cmp esi, 0x22
jae 0x1005ce79
xor eax, eax
mov word [esp + edx + 0x7e], ax
mov eax, 1
shl ax, cl
sub ecx, 1
mov word [esp + edx + 0x5a], ax
mov edx, esi
jns 0x1005ca10
xor ecx, ecx
test ebx, ebx
jle 0x1005ca5f
nop dword [eax]
mov eax, dword [esp + 0xa8]
mov al, byte [ecx + eax]
cmp al, 0x11
jae 0x1005cdd8
movzx eax, al
inc ecx
inc word [esp + eax*2 + 0x7c]
cmp ecx, ebx
jl 0x1005ca40
mov dword [esp + 0x14], 0
xor eax, eax
mov si, word [esp + 0x14]
nop
movzx ecx, word [esp + eax + 0x5a]
movzx edx, word [esp + eax + 0x7e]
imul edx, ecx
movzx ecx, word [esp + eax + 0x5c]
mov word [esp + eax + 0x36], si
add si, dx
movzx edx, word [esp + eax + 0x80]
imul edx, ecx
movzx ecx, word [esp + eax + 0x5e]
mov word [esp + eax + 0x38], si
add si, dx
movzx edx, word [esp + eax + 0x82]
imul edx, ecx
movzx ecx, word [esp + eax + 0x60]
mov word [esp + eax + 0x3a], si
add si, dx
movzx edx, word [esp + eax + 0x84]
imul edx, ecx
mov word [esp + eax + 0x3c], si
add eax, 8
add si, dx
cmp eax, 0x1e
jle 0x1005ca70
test si, si
jne 0x1005cdc1
movsx esi, bp
mov eax, 0x10
sub eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov edx, 1
mov eax, esi
mov dword [esp + 0x24], eax
cmp esi, edx
jl 0x1005cbfc
cmp esi, 0x20
jb 0x1005cbd8
mov eax, dword [esp + 0x20]
movzx eax, ax
movd xmm1, eax
mov eax, esi
and eax, 0x8000001f
jns 0x1005cb25
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, esi
lea ebp, [esp + 0x58]
sub ecx, eax
lea edi, [esp + 0x44]
lea eax, [esp + 0x34]
lea ebx, [esp + 0x68]
lea esi, [esp + 0x54]
nop dword [eax]
movups xmm0, xmmword [eax + edx*2]
psrlw xmm0, xmm1
movups xmmword [eax + edx*2], xmm0
lea eax, [esp + 0x78]
movups xmm0, xmmword [ebp + edx*2]
psrlw xmm0, xmm1
movups xmmword [ebp + edx*2], xmm0
movups xmm0, xmmword [edi + edx*2]
psrlw xmm0, xmm1
movups xmmword [edi + edx*2], xmm0
movups xmm0, xmmword [ebx + edx*2]
psrlw xmm0, xmm1
movups xmmword [ebx + edx*2], xmm0
movups xmm0, xmmword [esi + edx*2]
psrlw xmm0, xmm1
movups xmmword [esi + edx*2], xmm0
movups xmm0, xmmword [eax + edx*2]
psrlw xmm0, xmm1
movups xmmword [eax + edx*2], xmm0
lea eax, [esp + 0x34]
movups xmm0, xmmword [esp + edx*2 + 0x64]
psrlw xmm0, xmm1
movups xmmword [esp + edx*2 + 0x64], xmm0
movups xmm0, xmmword [esp + edx*2 + 0x88]
psrlw xmm0, xmm1
movups xmmword [esp + edx*2 + 0x88], xmm0
add edx, 0x20
cmp edx, ecx
jle 0x1005cb40
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
movsx eax, bp
mov dword [esp + 0x24], eax
cmp edx, esi
jg 0x1005cbfc
jmp 0x1005cbdc
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
movzx eax, ax
mov cx, ax
shr word [esp + edx*2 + 0x34], cl
shr word [esp + edx*2 + 0x58], cl
inc edx
cmp edx, esi
jle 0x1005cbe3
movsx eax, bp
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x20]
mov ebp, 1
movzx ecx, cx
mov edx, ecx
mov dword [esp + 0x10], edx
movzx edx, word [esp + eax*2 + 0x36]
shr edx, cl
mov ecx, eax
shl ebp, cl
mov dword [esp + 0x30], ebp
test edx, edx
je 0x1005cc42
cmp edx, ebp
jge 0x1005cc42
mov esi, dword [esp + 0xb0]
mov ecx, ebp
sub ecx, edx
xor eax, eax
shr ecx, 1
lea edi, [esi + edx*2]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x1c]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
cmp cx, word [esp + 0x2c]
jge 0x1005cdb4
movsx ecx, word [esp + 0xa4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x14]
nop dword [eax]
movzx ebp, byte [eax + ecx]
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x1005cda2
cmp ebp, 0x10
ja 0x1005ce62
movzx esi, word [esp + ebp*2 + 0x34]
movzx ecx, word [esp + ebp*2 + 0x58]
lea edx, [ecx + esi]
mov dword [esp + 0x28], edx
cmp ebp, dword [esp + 0x24]
jg 0x1005ccd8
cmp edx, dword [esp + 0x30]
jg 0x1005cdef
cmp esi, edx
jae 0x1005cd92
mov edx, dword [esp + 0xb0]
lea edi, [edx + esi*2]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
jmp 0x1005cd8e
mov cl, byte [esp + 0x10]
mov eax, esi
shr eax, cl
cmp eax, dword [esp + 0x30]
jge 0x1005ce4b
mov ecx, dword [esp + 0x20]
mov eax, esi
sar eax, cl
mov ecx, dword [esp + 0xb0]
lea edx, [ecx + eax*2]
mov ecx, dword [esp + 0x24]
sub ebp, ecx
shl esi, cl
sub ebp, 1
js 0x1005cd83
lea edi, [edi + ebx*2]
add edi, 0x84e
movzx eax, word [edx]
mov ecx, eax
test ax, ax
jne 0x1005cd40
cmp ebx, 0x3fb
jge 0x1005ce06
xor eax, eax
mov word [edi - 0x7f6], ax
mov word [edi], ax
movzx eax, bx
inc ebx
mov word [edx], ax
add edi, 2
mov ecx, eax
movzx eax, cx
mov edx, 0x3fb
mov ecx, eax
test esi, 0x8000
je 0x1005cd67
cmp cx, dx
jae 0x1005ce1d
mov ecx, dword [esp + 0x1c]
add ecx, 0x84e
jmp 0x1005cd77
cmp cx, dx
jae 0x1005ce34
mov ecx, dword [esp + 0x1c]
add ecx, 0x58
mov edx, eax
add esi, esi
sub ebp, 1
lea edx, [ecx + edx*2]
jns 0x1005cd12
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
mov word [edx], ax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xa8]
mov word [esp + ebp*2 + 0x34], dx
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], eax
cmp eax, edx
jge 0x1005cdb4
mov edi, dword [esp + 0x1c]
jmp 0x1005cc70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10
push 0x101e45fc
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xa0000035
push eax
call fcn.10153200
push 0x101e45fc
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xa0000035
push eax
call fcn.10153200
push 0x101e45fc
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xa0000035
push eax
call fcn.10153200
push 0x101e45fc
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xa0000035
push eax
call fcn.10153200
push 0x101e45fc
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xa0000035
push eax
call fcn.10153200
push 0x101e45fc
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xa0000035
push eax
call fcn.10153200
push 0x101e45fc
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xa0000035
push eax
call fcn.10153200
push 0x101e45fc
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xa0000035
push eax
call fcn.10153200
call fcn.10151c42
int3