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

Disassembly:
push esi
push edi
push ebx
sub esp, 0x58
mov edi, 1
mov edx, dword [esp + 0x78]
movzx eax, word [edx + edi*2]
test eax, eax
jne 0x100fcf8d
inc edi
cmp edi, 0x10
jl 0x100fcf7f
mov edx, dword [esp + 0x78]
lea esi, [edi + 1]
xor eax, eax
cmp esi, 0x10
mov word [edx + edi*2 + 0x20], ax
movzx ecx, word [edx + edi*2]
jge 0x100fd022
neg esi
add esi, 0x10
mov edx, esi
shr edx, 0x1f
add edx, esi
sar edx, 1
test edx, edx
jbe 0x100fd8d1
mov dword [esp], esi
lea eax, [edi + edi + 2]
add eax, dword [esp + 0x78]
xor ebx, ebx
mov dword [esp + 4], edi
movzx edi, word [eax + ebx*4]
lea esi, [ecx + ecx]
test edi, edi
je 0x100fcfde
mov word [eax + ebx*4 + 0x20], si
lea esi, [edi + ecx*2]
movzx edi, word [eax + ebx*4 + 2]
lea ecx, [esi + esi]
test edi, edi
je 0x100fcff2
mov word [eax + ebx*4 + 0x22], cx
lea ecx, [edi + esi*2]
inc ebx
cmp ebx, edx
jb 0x100fcfcb
mov esi, dword [esp]
lea eax, [ebx + ebx + 1]
mov edi, dword [esp + 4]
cmp eax, esi
ja 0x100fd022
add ecx, ecx
lea ebx, [eax + edi + 1]
mov eax, dword [esp + 0x78]
movzx edx, word [eax + ebx*2 - 2]
test edx, edx
je 0x100fd022
mov eax, dword [esp + 0x78]
mov word [eax + ebx*2 + 0x1e], cx
cmp dword [esp + 0x70], 0x101
jae 0x100fd038
mov eax, 0xffffff38
add esp, 0x58
pop ebx
pop edi
pop esi
ret
xor esi, esi
mov eax, dword [esp + 0x68]
movzx edx, word [eax + esi*2]
test edx, edx
je 0x100fd1d9
lea edi, [edx + edx]
movzx eax, word [edi + 0x1043f9d8]
mov dword [esp + 0x24], eax
lea ebx, [eax + 1]
mov dword [esp + 0x1c], ebx
lea ebx, [eax*8 + 8]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x78]
movzx eax, word [edi + ebx + 0x20]
lea ecx, [eax + 1]
mov word [ebx + edi + 0x20], cx
mov ecx, eax
shr ecx, 8
movzx eax, al
movzx ebx, byte [ecx + 0x1043f860]
movzx ecx, byte [eax + 0x1043f860]
shl ecx, 8
or ebx, ecx
mov ecx, edx
mov eax, dword [esp + 0x84]
neg ecx
add ecx, 0x10
shr ebx, cl
mov ecx, dword [eax + 0x10]
add ecx, ecx
sub ecx, edi
mov edi, esi
shl edi, 8
or edi, edx
mov dword [esp + 0x20], edi
movzx eax, word [ecx + 0x1043f9d8]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, 8
jl 0x100fd8db
mov dword [esp + 0x1c], ecx
mov ecx, eax
and ecx, 0xfffffff8
xor edx, edx
mov dword [esp + 0x28], ecx
movzx edi, word [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], edx
movd xmm0, edi
mov dword [esp + 0x10], edx
lea edi, [ecx + ebx*2]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], edi
punpcklwd xmm0, xmm0
mov dword [esp + 4], ebx
lea edi, [ecx + ecx + 2]
mov dword [esp + 0x14], edi
lea edx, [edi + edi*2]
mov dword [esp + 0xc], edx
lea edx, [edi + edi*4]
mov dword [esp + 0x34], edx
mov dword [esp + 8], esi
pshufd xmm0, xmm0, 0
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
nop dword [eax]
mov edi, dword [esp + 0x30]
add ecx, 8
lea eax, [edi + ebx*2]
mov edi, dword [esp + 0x34]
pextrw word [eax], xmm0, 0
pextrw word [eax + edx], xmm0, 1
pextrw word [eax + edx*2], xmm0, 2
pextrw word [esi + eax], xmm0, 3
pextrw word [eax + edx*4], xmm0, 4
pextrw word [edi + eax], xmm0, 5
lea edi, [edx*8]
sub edi, edx
add ebx, dword [esp + 0x2c]
pextrw word [eax + esi*2], xmm0, 6
pextrw word [edi + eax], xmm0, 7
cmp ecx, dword [esp + 0x28]
jb 0x100fd140
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
imul ecx, edi
cmp edi, eax
jae 0x100fd1d9
mov edx, dword [esp + 0x80]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x24]
lea edx, [edx + ebx*2]
mov ebx, dword [esp + 0x20]
inc edi
mov word [edx + ecx*2], bx
lea ecx, [ecx + esi + 1]
cmp edi, eax
jb 0x100fd1c8
mov esi, dword [esp + 8]
mov eax, esi
inc esi
cmp esi, 0x100
jb 0x100fd03a
mov edx, dword [esp + 0x68]
movzx esi, word [edx + eax*2 + 2]
test esi, esi
je 0x100fd02c
lea edi, [esi + esi]
movzx edx, word [edi + 0x1043f9d8]
mov dword [esp + 0x24], edx
lea ebx, [edx + 1]
mov dword [esp + 0x20], ebx
lea ebx, [edx*8 + 8]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x78]
movzx edx, word [edi + ebx + 0x20]
lea ecx, [edx + 1]
mov word [ebx + edi + 0x20], cx
mov ecx, edx
shr ecx, 8
movzx edx, dl
movzx ebx, byte [ecx + 0x1043f860]
movzx ecx, byte [edx + 0x1043f860]
shl ecx, 8
or ebx, ecx
mov ecx, esi
mov edx, dword [esp + 0x84]
neg ecx
add ecx, 0x10
or esi, 0xf0
shr ebx, cl
mov ecx, dword [edx + 0x10]
add ecx, ecx
sub ecx, edi
mov edi, dword [esp + 0x20]
movzx edx, word [ecx + 0x1043f9d8]
inc edx
cmp edx, 8
jl 0x100fd8e2
mov ecx, edx
movd xmm0, esi
and ecx, 0xfffffff8
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x20], edi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
lea ecx, [ecx + ebx*2]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
punpcklwd xmm0, xmm0
mov dword [esp], edx
mov dword [esp + 4], esi
lea ecx, [ecx + ecx + 2]
mov dword [esp + 0x18], ecx
lea edi, [ecx + ecx*2]
mov dword [esp + 0x10], edi
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x30], ecx
mov dword [esp + 8], ebx
pshufd xmm0, xmm0, 0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
nop dword [eax]
nop dword [eax]
mov edi, dword [esp + 0x34]
add ecx, 8
lea eax, [edi + ebx*2]
mov edi, dword [esp + 0x30]
pextrw word [eax], xmm0, 0
pextrw word [eax + edx], xmm0, 1
pextrw word [eax + edx*2], xmm0, 2
pextrw word [esi + eax], xmm0, 3
pextrw word [eax + edx*4], xmm0, 4
pextrw word [edi + eax], xmm0, 5
lea edi, [edx*8]
sub edi, edx
add ebx, dword [esp + 0x2c]
pextrw word [eax + esi*2], xmm0, 6
pextrw word [edi + eax], xmm0, 7
cmp ecx, dword [esp + 0x28]
jb 0x100fd2f0
mov edi, dword [esp + 0x20]
mov edx, dword [esp]
mov esi, dword [esp + 4]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
imul edi, ecx
cmp ecx, edx
jae 0x100fd38d
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x24]
inc eax
mov word [ecx + edi*2], si
lea edi, [edi + ebx + 1]
cmp eax, edx
jb 0x100fd37c
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x70]
lea edx, [eax + 2]
mov ecx, ebx
sub ecx, edx
cmp edx, ebx
jae 0x100fd56c
mov dword [esp + 0x2c], ecx
lea ebx, [eax + eax + 4]
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [esp + 0x24], ebx
add eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
movzx eax, word [eax + edx*2]
test eax, eax
je 0x100fd561
lea esi, [eax + eax]
movzx ecx, word [esi + 0x1043f9d8]
mov dword [esp + 0x20], ecx
lea ebx, [ecx + 1]
mov dword [esp + 0x18], ebx
lea ebx, [ecx*8 + 8]
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x78]
movzx edi, word [esi + ecx + 0x20]
lea ebx, [edi + 1]
mov word [ecx + esi + 0x20], bx
mov ebx, edi
and edi, 0xff
shr ebx, 8
movzx ecx, byte [edi + 0x1043f860]
shl ecx, 8
movzx ebx, byte [ebx + 0x1043f860]
or ebx, ecx
mov ecx, eax
mov edi, dword [esp + 0x84]
neg ecx
add ecx, 0x10
shr ebx, cl
mov ecx, dword [edi + 0x10]
mov edi, dword [esp + 0x24]
add ecx, ecx
sub ecx, esi
movzx esi, byte [edi + edx*2 + 0x1043f7f9]
shl esi, 8
movzx edi, byte [edi + edx*2 + 0x1043f7f8]
or esi, edi
or esi, eax
movzx ecx, word [ecx + 0x1043f9d8]
mov dword [esp + 0x1c], esi
inc ecx
cmp ecx, 8
jl 0x100fd8ed
mov esi, dword [esp + 0x80]
mov eax, ecx
movd xmm0, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x14], edi
and eax, 0xfffffff8
mov dword [esp + 0xc], edi
lea esi, [esi + ebx*2]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x20]
punpcklwd xmm0, xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea esi, [esi + esi + 2]
mov dword [esp + 0x10], esi
lea edi, [esi + esi*2]
lea esi, [esi + esi*4]
mov dword [esp + 0x3c], esi
mov dword [esp + 8], edx
pshufd xmm0, xmm0, 0
mov dword [esp + 0x30], eax
mov esi, edi
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
nop dword [eax]
mov edi, dword [esp + 0x38]
add ecx, 8
lea eax, [edi + ebx*2]
mov edi, dword [esp + 0x3c]
pextrw word [eax], xmm0, 0
pextrw word [eax + edx], xmm0, 1
pextrw word [eax + edx*2], xmm0, 2
pextrw word [esi + eax], xmm0, 3
pextrw word [eax + edx*4], xmm0, 4
pextrw word [edi + eax], xmm0, 5
lea edi, [edx*8]
sub edi, edx
add ebx, dword [esp + 0x34]
pextrw word [eax + esi*2], xmm0, 6
pextrw word [edi + eax], xmm0, 7
cmp ecx, dword [esp + 0x30]
jb 0x100fd4c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x18]
imul esi, eax
mov dword [esp + 0x18], esi
cmp eax, ecx
jae 0x100fd561
mov esi, dword [esp + 0x80]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
lea ebx, [esi + ebx*2]
mov esi, dword [esp + 0x1c]
inc eax
mov word [ebx + edx*2], si
lea edx, [edx + edi + 1]
cmp eax, ecx
jb 0x100fd550
mov edx, dword [esp + 8]
inc edx
cmp edx, dword [esp + 0x2c]
jb 0x100fd3b8
mov edx, dword [esp + 0x7c]
mov edi, 1
movzx eax, word [edx + edi*2]
test eax, eax
jne 0x100fd583
inc edi
cmp edi, 0x10
jl 0x100fd575
mov edx, dword [esp + 0x7c]
lea esi, [edi + 1]
xor eax, eax
cmp esi, 0x10
mov word [edx + edi*2 + 0x20], ax
movzx ecx, word [edx + edi*2]
jge 0x100fd618
neg esi
add esi, 0x10
mov edx, esi
shr edx, 0x1f
add edx, esi
sar edx, 1
test edx, edx
jbe 0x100fd8f4
mov dword [esp], esi
lea eax, [edi + edi + 2]
add eax, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 4], edi
movzx edi, word [eax + ebx*4]
lea esi, [ecx + ecx]
test edi, edi
je 0x100fd5d4
mov word [eax + ebx*4 + 0x20], si
lea esi, [edi + ecx*2]
movzx edi, word [eax + ebx*4 + 2]
lea ecx, [esi + esi]
test edi, edi
je 0x100fd5e8
mov word [eax + ebx*4 + 0x22], cx
lea ecx, [edi + esi*2]
inc ebx
cmp ebx, edx
jb 0x100fd5c1
mov esi, dword [esp]
lea eax, [ebx + ebx + 1]
mov edi, dword [esp + 4]
cmp eax, esi
ja 0x100fd618
add ecx, ecx
lea ebx, [eax + edi + 1]
mov eax, dword [esp + 0x7c]
movzx edx, word [eax + ebx*2 - 2]
test edx, edx
je 0x100fd618
mov eax, dword [esp + 0x7c]
mov word [eax + ebx*2 + 0x1e], cx
mov eax, dword [esp + 0x84]
mov esi, 1
mov ebx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
shl esi, cl
lea ebx, [ebx + esi*2]
test edx, edx
jbe 0x100fd8ba
xor eax, eax
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x6c]
movzx ecx, word [edx + eax*2]
test ecx, ecx
je 0x100fd8af
mov esi, ecx
lea ebx, [esi + esi]
movzx edi, word [ebx + 0x1043f9d8]
mov dword [esp + 0x18], edi
lea edx, [edi + 1]
mov dword [esp + 0x28], edx
lea edx, [edi*8 + 8]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x7c]
movzx edi, word [ebx + edx + 0x20]
lea ecx, [edi + 1]
mov word [edx + ebx + 0x20], cx
mov ecx, edi
shr ecx, 8
and edi, 0xff
movzx edx, byte [ecx + 0x1043f860]
movzx ecx, byte [edi + 0x1043f860]
shl ecx, 8
or edx, ecx
mov ecx, esi
mov edi, dword [esp + 0x84]
neg ecx
add ecx, 0x10
shr edx, cl
mov ecx, dword [edi + 0x14]
add ecx, ecx
sub ecx, ebx
movzx ebx, word [eax*4 + 0x1043f960]
or ebx, esi
mov dword [esp + 0x20], ebx
movzx ecx, word [ecx + 0x1043f9d8]
movzx edi, word [eax*4 + 0x1043f962]
mov ebx, dword [esp + 0x28]
inc ecx
cmp ecx, 8
jl 0x100fd8fe
mov dword [esp + 0x28], ebx
movd xmm0, edi
movzx ebx, byte [esp + 0x20]
mov dword [esp], edi
mov dword [esp + 0x1c], ecx
and ecx, 0xfffffff8
movd xmm1, ebx
mov ebx, dword [esp + 0xc]
punpcklbw xmm1, xmm1
mov dword [esp + 0x24], ecx
xor ecx, ecx
punpcklbw xmm1, xmm1
lea esi, [ebx + edx]
mov dword [esp + 0x38], esi
lea ebx, [ebx + edx*2 + 0x400]
mov esi, dword [esp + 0x18]
punpcklwd xmm0, xmm0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], ecx
lea edi, [esi + esi + 2]
mov dword [esp + 0x54], ecx
lea ecx, [esi + esi*2 + 3]
mov dword [esp + 0x40], ecx
lea ecx, [edi + edi*2]
mov dword [esp + 0x50], edi
lea edi, [edi + edi*4]
mov dword [esp + 0x4c], ecx
lea esi, [esi + esi*4 + 5]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 4], edx
pshufd xmm1, xmm1, 0
pshufd xmm0, xmm0, 0
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
lea esi, [eax + edx]
mov eax, dword [esp + 0x40]
pextrb byte [esi], xmm1, 0
pextrb byte [edi + esi], xmm1, 1
pextrb byte [esi + edi*2], xmm1, 2
pextrb byte [eax + esi], xmm1, 3
pextrb byte [esi + edi*4], xmm1, 4
pextrb byte [ebx + esi], xmm1, 5
pextrb byte [esi + eax*2], xmm1, 6
mov eax, dword [esp + 0x30]
mov ebx, eax
sub ebx, edi
add edx, eax
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
add eax, 8
pextrb byte [ebx + esi], xmm1, 7
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x54], eax
add ecx, esi
mov esi, dword [esp + 0x4c]
pextrw word [ecx], xmm0, 0
pextrw word [ecx + ebx], xmm0, 1
pextrw word [ecx + ebx*2], xmm0, 2
pextrw word [esi + ecx], xmm0, 3
pextrw word [ecx + ebx*4], xmm0, 4
pextrw word [edi + ecx], xmm0, 5
lea edi, [ebx*8]
sub edi, ebx
pextrw word [ecx + esi*2], xmm0, 6
pextrw word [edi + ecx], xmm0, 7
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx + ebx*8]
cmp eax, dword [esp + 0x24]
jb 0x100fd77b
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x24]
imul ebx, esi
cmp esi, ecx
jae 0x100fd8af
mov esi, dword [esp + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], eax
lea ebx, [esi + edx]
mov dword [esp + 0x14], ebx
lea edx, [esi + edx*2]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
inc esi
mov byte [ebx + ecx], al
mov eax, dword [esp + 0x2c]
mov word [eax + ebx*2 + 0x400], di
lea ebx, [ebx + edx + 1]
cmp esi, dword [esp + 0x1c]
jb 0x100fd88d
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0x74]
jb 0x100fd645
mov edx, dword [esp + 0x88]
xor eax, eax
mov dword [edx + 8], 2
add esp, 0x58
pop ebx
pop edi
pop esi
ret
mov eax, 1
jmp 0x100fd002
xor edi, edi
jmp 0x100fd1ab
xor ecx, ecx
mov dword [esp + 0x28], ecx
jmp 0x100fd35b
xor eax, eax
jmp 0x100fd527
mov eax, 1
jmp 0x100fd5f8
xor esi, esi
mov dword [esp + 0x24], esi
jmp 0x100fd854