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

Disassembly:
sub esp, 0x32c
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x50]
lea ebx, [ebp + 0x50]
mov dword [esp + 0x18], ebp
push esi
push edi
mov edi, 0x20
cmp eax, 8
jb 0x1009c594
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x1009c544
lea ecx, [ebx + 8]
call fcn.10006bb2
mov cl, al
jmp 0x1009c54a
mov cl, byte [eax]
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx]
movzx eax, cl
mov ecx, edi
sub ecx, edx
mov edi, eax
shl edi, cl
mov ecx, edi
mov dword [esp + 0x14], edi
or ecx, dword [ebp + 0x80]
mov edi, 0x20
mov dword [esp + 0x14], ecx
mov dword [ebp + 0x80], ecx
movzx ecx, byte [eax + 0x10113740]
mov eax, dword [ebx + 4]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
cmp eax, 8
jae 0x1009c530
mov ecx, dword [esp + 0x14]
jmp 0x1009c59a
mov ecx, dword [ebp + 0x80]
inc eax
mov dword [ebx], eax
mov eax, ecx
shr eax, 1
and cl, 1
mov dword [ebp + 0x80], eax
mov byte [ebp + 0xc98], cl
mov ecx, dword [ebx + 0x28]
cmp ecx, 4
ja 0x1009ce6c
mov edx, dword [ebx]
mov eax, edi
shl ecx, 3
sub eax, edx
cmp eax, ecx
jb 0x1009ce6c
cmp edx, 8
jb 0x1009c62b
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x1009c5e6
lea ecx, [ebx + 8]
call fcn.10006bb2
mov cl, al
jmp 0x1009c5ec
mov cl, byte [eax]
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx]
movzx eax, cl
mov ecx, 0x20
sub ecx, edx
mov esi, eax
shl esi, cl
add edx, 0xfffffff8
or esi, dword [ebp + 0x80]
mov dword [ebp + 0x80], esi
movzx ecx, byte [eax + 0x10113740]
mov eax, dword [ebx + 4]
shl eax, 8
or ecx, eax
mov dword [ebx], edx
mov dword [ebx + 4], ecx
cmp edx, 8
jae 0x1009c5d2
mov edi, 0x20
jmp 0x1009c631
mov esi, dword [ebp + 0x80]
mov eax, esi
add edx, 2
shr eax, 2
and esi, 3
mov dword [ebx], edx
mov dword [ebp + 0x80], eax
cmp esi, 2
ja 0x1009ce6c
mov eax, dword [ebp + 0x78]
cmp eax, 4
ja 0x1009ce6c
mov ecx, edi
shl eax, 3
sub ecx, edx
cmp ecx, eax
jb 0x1009ce6c
test esi, esi
jne 0x1009c6bd
mov byte [ebp + 0xc99], 1
mov eax, dword [ebx]
mov ecx, eax
neg ecx
and ecx, 7
shr dword [ebx + 0x30], cl
add eax, ecx
mov ecx, ebp
mov dword [ebx], eax
call fcn.1009c470
cmp byte [ebp + 0xc9a], 0
mov dword [ebp + 0xc90], eax
jne 0x1009ce5f
mov ecx, ebp
call fcn.1009c470
not eax
pop edi
movzx eax, ax
cmp dword [ebp + 0xc90], eax
pop esi
pop ebp
sete al
pop ebx
add esp, 0x32c
ret
mov byte [ebp + 0xc99], 0
cmp esi, 1
jne 0x1009c7bd
movaps xmm0, xmmword [0x100f6820]
xor eax, eax
cmp byte [ebp + 0xc9b], al
movups xmmword [esp + 0xbc], xmm0
setne al
mov dword [esp + 0x1d4], 0x8080808
movups xmmword [esp + 0xcc], xmm0
mov dword [esp + 0x1d8], 0x8080808
movups xmmword [esp + 0xdc], xmm0
lea eax, [eax*2 + 0x1e]
movups xmmword [esp + 0xec], xmm0
mov dword [ebp + 0xc94], eax
movups xmmword [esp + 0xfc], xmm0
movups xmmword [esp + 0x10c], xmm0
movups xmmword [esp + 0x11c], xmm0
movups xmmword [esp + 0x12c], xmm0
movups xmmword [esp + 0x13c], xmm0
movaps xmm0, xmmword [0x100f6830]
movups xmmword [esp + 0x14c], xmm0
movups xmmword [esp + 0x15c], xmm0
movups xmmword [esp + 0x16c], xmm0
movups xmmword [esp + 0x17c], xmm0
movups xmmword [esp + 0x18c], xmm0
movups xmmword [esp + 0x19c], xmm0
movups xmmword [esp + 0x1ac], xmm0
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t]
movups xmmword [esp + 0x1bc], xmm0
movq qword [esp + 0x1cc], xmm0
movaps xmm0, xmmword [0x100f6800]
movups xmmword [esp + 0x1dc], xmm0
movups xmmword [esp + 0x1ec], xmm0
jmp 0x1009cc32
mov edx, dword [ebx]
cmp edx, 8
jb 0x1009c825
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x1009c7d8
lea ecx, [ebx + 8]
call fcn.10006bb2
mov cl, al
jmp 0x1009c7de
mov cl, byte [eax]
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx]
movzx eax, cl
mov ecx, edi
sub ecx, edx
mov dword [esp + 0x14], eax
shl dword [esp + 0x14], cl
add edx, 0xfffffff8
mov ecx, dword [esp + 0x14]
or ecx, dword [ebp + 0x80]
mov dword [esp + 0x14], ecx
mov dword [ebp + 0x80], ecx
movzx ecx, byte [eax + 0x10113740]
mov eax, dword [ebx + 4]
shl eax, 8
or ecx, eax
mov dword [ebx], edx
mov dword [ebx + 4], ecx
cmp edx, 8
jae 0x1009c7c4
mov ecx, dword [esp + 0x14]
jmp 0x1009c82b
mov ecx, dword [ebp + 0x80]
mov edi, ecx
lea eax, [edx + 5]
and ecx, 0x1f
shr edi, 5
add ecx, 0x101
mov dword [ebx], eax
mov dword [ebp + 0x80], edi
mov dword [esp + 0x14], ecx
cmp eax, 8
jb 0x1009c89f
mov ebp, 0x20
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x1009c866
lea ecx, [ebx + 8]
call fcn.10006bb2
mov cl, al
jmp 0x1009c86c
mov cl, byte [eax]
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx]
movzx eax, cl
mov ecx, ebp
sub ecx, edx
mov edi, eax
shl edi, cl
or edi, dword [ebx + 0x30]
mov dword [ebx + 0x30], edi
movzx ecx, byte [eax + 0x10113740]
mov eax, dword [ebx + 4]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
cmp eax, 8
jae 0x1009c852
mov ebp, dword [esp + 0x20]
add eax, 5
mov dword [ebx], eax
mov eax, edi
shr eax, 5
and edi, 0x1f
inc edi
mov dword [ebx + 0x30], eax
mov dword [ebp + 0xc94], edi
mov eax, dword [ebx]
cmp eax, 8
jb 0x1009c914
nop dword [eax]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x1009c8d4
lea ecx, [ebx + 8]
call fcn.10006bb2
mov cl, al
jmp 0x1009c8da
mov cl, byte [eax]
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx]
movzx eax, cl
mov ecx, 0x20
sub ecx, edx
mov edi, eax
shl edi, cl
or edi, dword [ebp + 0x80]
mov dword [ebp + 0x80], edi
movzx ecx, byte [eax + 0x10113740]
mov eax, dword [ebx + 4]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
cmp eax, 8
jae 0x1009c8c0
jmp 0x1009c91a
mov edi, dword [ebp + 0x80]
add eax, 4
mov dword [ebx], eax
mov eax, edi
shr eax, 4
and edi, 0xf
add edi, 4
mov dword [ebp + 0x80], eax
cmp byte [ebp + 0xc9b], 0
mov dword [esp + 0x24], edi
jne 0x1009c94a
cmp dword [ebp + 0xc94], 0x1e
ja 0x1009ce6c
xor edx, edx
mov dword [esp + 0x18], edx
lea ebp, [edx + 0x20]
movzx eax, byte [edx + 0x100f67e8]
mov dword [esp + 0x1c], eax
cmp edx, edi
jae 0x1009c9de
mov eax, dword [ebx]
cmp eax, 8
jb 0x1009c9be
nop dword [eax]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x1009c984
lea ecx, [ebx + 8]
call fcn.10006bb2
mov cl, al
jmp 0x1009c98a
mov cl, byte [eax]
inc eax
mov dword [ebx + 8], eax
mov esi, dword [ebx]
movzx edx, cl
mov ecx, ebp
sub ecx, esi
mov eax, edx
shl eax, cl
or dword [ebx + 0x30], eax
mov eax, dword [ebx + 4]
movzx ecx, byte [edx + 0x10113740]
shl eax, 8
or ecx, eax
lea eax, [esi - 8]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
cmp eax, 8
jae 0x1009c970
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov ecx, dword [ebx + 0x30]
add eax, 3
mov dword [ebx], eax
mov eax, ecx
shr eax, 3
and cl, 7
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + eax + 0x88], cl
jmp 0x1009c9e6
mov byte [esp + eax + 0x88], 0
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0x13
jb 0x1009c953
mov eax, dword [ebx + 0x28]
mov ebp, dword [esp + 0x20]
cmp eax, 4
ja 0x1009ce6c
mov ecx, 0x20
shl eax, 3
sub ecx, dword [ebx]
cmp ecx, eax
jb 0x1009ce6c
mov dword [esp + 0x28], 0
xor ecx, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
nop dword [eax + eax]
movzx eax, byte [esp + ecx + 0x88]
inc ecx
inc dword [esp + eax*4 + 0x28]
cmp ecx, 0x13
jb 0x1009ca60
xor edi, edi
mov dword [esp + 0x9c], 0
xor edx, edx
mov esi, 1
nop word [eax + eax]
mov eax, dword [esp + esi*4 + 0x28]
mov ecx, 7
sub ecx, esi
mov dword [esp + 0x1c], eax
shl eax, cl
add edi, eax
cmp edi, 0x80
ja 0x1009ce6c
mov dword [esp + esi*4 + 0x28], edx
mov dword [esp + esi*4 + 0x48], edx
add edx, dword [esp + 0x1c]
mov dword [esp + esi*4 + 0x9c], edi
inc esi
cmp esi, 7
jbe 0x1009ca90
xor eax, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov cl, byte [esp + eax + 0x88]
mov byte [esp + 0x13], cl
movzx esi, cl
test cl, cl
je 0x1009cb52
mov edx, dword [esp + esi*4 + 0x28]
mov ecx, 7
sub ecx, esi
mov edi, 1
shl edi, cl
lea eax, [edx + 1]
sub edx, dword [esp + esi*4 + 0x48]
mov dword [esp + esi*4 + 0x28], eax
mov eax, dword [esp + 0x18]
mov bl, al
shl bl, 3
or bl, byte [esp + 0x13]
shl edx, cl
add edx, dword [esp + esi*4 + 0x98]
mov byte [esp + 0x13], bl
test edi, edi
je 0x1009cb52
mov ecx, edi
movzx eax, bl
mov esi, ecx
imul eax, eax, 0x1010101
shr ecx, 2
lea edi, [ebp + 0xc10]
add edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x13
jb 0x1009cae0
mov eax, dword [esp + 0xb8]
lea edi, [ebp + 0xc10]
mov ecx, 0x80
lea edi, [edi + eax]
sub ecx, eax
je 0x1009cb88
mov edx, ecx
mov eax, 0xf8f8f8f8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc94]
mov ecx, ebp
mov esi, dword [esp + 0x14]
add eax, esi
push eax
lea eax, [esp + 0x200]
push eax
call fcn.1009c060
test al, al
je 0x1009ce6c
lea ecx, [ebp + 0x50]
call fcn.1000dbce
test al, al
jne 0x1009ce6c
mov byte [esp + 0x1db], al
xorps xmm0, xmm0
push esi
lea eax, [esp + 0x200]
movq qword [esp + 0x1d1], xmm0
push eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x1dd], 0
push eax
movups xmmword [esp + 0x1c9], xmm0
mov word [esp + 0x1e5], 0
movups xmmword [esp + 0x1e8], xmm0
movups xmmword [esp + 0x1f8], xmm0
call fcn.100d8b00
push dword [ebp + 0xc94]
lea eax, [esp + 0x20c]
add eax, esi
push eax
lea eax, [esp + 0x1f0]
push eax
call fcn.100d8b00
add esp, 0x18
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x48], xmm0
movups xmmword [esp + 0x58], xmm0
movups xmmword [esp + 0x68], xmm0
movups xmmword [esp + 0x78], xmm0
nop dword [eax + eax]
movzx eax, byte [esp + ecx + 0xbc]
inc ecx
inc dword [esp + eax*4 + 0x48]
cmp ecx, 0x120
jb 0x1009cc50
xor edi, edi
mov dword [ebp + 0x88], 0
xor esi, esi
mov edx, 1
nop dword [eax + eax]
mov ebx, dword [esp + edx*4 + 0x48]
mov ecx, 0xf
sub ecx, edx
mov eax, ebx
shl eax, cl
add edi, eax
cmp edi, 0x8000
ja 0x1009ce6c
mov dword [esp + edx*4 + 0x48], esi
mov dword [ebp + edx*4 + 0xcc], esi
add esi, ebx
mov dword [ebp + edx*4 + 0x88], edi
inc edx
cmp edx, 0xf
jbe 0x1009cc80
mov dword [esp + 0x48], esi
xor ebx, ebx
mov dword [ebp + 0xcc], esi
mov dword [ebp + 0xc8], 0x8000
nop dword [eax]
movzx edx, byte [esp + ebx + 0xbc]
test edx, edx
je 0x1009cd47
mov esi, dword [esp + edx*4 + 0x48]
lea eax, [esi + 1]
mov dword [esp + edx*4 + 0x48], eax
movzx eax, bx
mov word [ebp + esi*2 + 0x50c], ax
cmp edx, 9
ja 0x1009cd47
sub esi, dword [ebp + edx*4 + 0xcc]
mov ecx, 9
sub ecx, edx
shl eax, 4
or eax, edx
shl esi, cl
mov edx, dword [ebp + edx*4 + 0x84]
mov edi, 1
shr edx, 6
add esi, edx
shl edi, cl
movzx eax, ax
lea edx, [esi*2]
test edi, edi
je 0x1009cd47
mov ecx, edi
lea edi, [edx + 0x10c]
mov edx, eax
add edi, ebp
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
inc ebx
cmp ebx, 0x120
jb 0x1009ccd0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x48], xmm0
movups xmmword [esp + 0x58], xmm0
movups xmmword [esp + 0x68], xmm0
movups xmmword [esp + 0x78], xmm0
nop dword [eax]
movzx eax, byte [esp + ecx + 0x1dc]
inc ecx
inc dword [esp + eax*4 + 0x48]
cmp ecx, 0x20
jb 0x1009cd70
xor edi, edi
mov dword [ebp + 0x74c], 0
xor esi, esi
mov edx, 1
mov ebx, dword [esp + edx*4 + 0x48]
mov ecx, 0xf
sub ecx, edx
mov eax, ebx
shl eax, cl
add edi, eax
cmp edi, 0x8000
ja 0x1009ce6c
mov dword [esp + edx*4 + 0x48], esi
mov dword [ebp + edx*4 + 0x790], esi
add esi, ebx
mov dword [ebp + edx*4 + 0x74c], edi
inc edx
cmp edx, 0xf
jbe 0x1009cd95
mov dword [esp + 0x48], esi
xor ebx, ebx
mov dword [ebp + 0x790], esi
mov dword [ebp + 0x78c], 0x8000
movzx edx, byte [esp + ebx + 0x1dc]
test edx, edx
je 0x1009ce59
mov esi, dword [esp + edx*4 + 0x48]
lea eax, [esi + 1]
mov dword [esp + edx*4 + 0x48], eax
movzx eax, bx
mov word [ebp + esi*2 + 0xbd0], ax
cmp edx, 9
ja 0x1009ce59
sub esi, dword [ebp + edx*4 + 0x790]
mov ecx, 9
sub ecx, edx
shl eax, 4
or eax, edx
shl esi, cl
mov edx, dword [ebp + edx*4 + 0x748]
mov edi, 1
shr edx, 6
add esi, edx
shl edi, cl
movzx eax, ax
lea edx, [esi*2]
test edi, edi
je 0x1009ce59
mov ecx, edi
lea edi, [edx + 0x7d0]
mov edx, eax
add edi, ebp
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
inc ebx
cmp ebx, 0x20
jb 0x1009cde2
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x32c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x32c
ret