Function at 0x1016f4c0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1f8
mov eax, dword fs:[0x30]
push esi
push edi
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x4c], esi
test esi, esi
je 0x1016f8aa
nop word [eax + eax]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x1016f8aa
push dword [esi + 0x30]
lea eax, [esp + 0x104]
push 0x1026b368
push eax
call fcn.1016fcf0
lea ecx, [esp + 0x10c]
add esp, 0xc
mov esi, 0x811c9dc5
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016f522
sub ecx, edx
xor edx, edx
test ecx, ecx
je 0x1016f546
movsx eax, byte [esp + edx + 0x100]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1016f531
push edi
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0xa4], esi
call fcn.10170790
push ecx
push 0xbd1dd4d8
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x74]
call fcn.1016f350
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1016f75e
add eax, 4
cmp byte [eax], 0xe9
jne 0x1016f75e
mov esi, dword [eax + 1]
lea ecx, [esp + 0x28]
push 2
mov dword [esp + 0x4c], eax
add esi, eax
mov word [esp + 0x24], 0x358b
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.1012ca90
mov ecx, dword [esp + 0x28]
mov ax, word [esp + 0x20]
mov dword [esp + 0xc], 0
mov word [ecx], ax
lea eax, [ecx + 2]
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], eax
call fcn.1012ca30
mov eax, dword [esp + 0x2c]
lea edi, [esi + 9]
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0xc], eax
je 0x1016f603
xor edx, edx
mov al, byte [edi]
cmp al, byte [edx + ecx]
jne 0x1016f714
inc edx
inc edi
cmp edx, dword [esp + 0xc]
jb 0x1016f5f0
test ecx, ecx
je 0x1016f64d
mov edx, dword [esp + 0x30]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1016f62b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016fc43
push edx
push ecx
call fcn.101e1f2f
add esp, 8
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esi + 0xb]
mov eax, 2
dec eax
test ecx, ecx
je 0x1016f65c
mov ecx, dword [ecx]
test eax, eax
jne 0x1016f655
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x1016f75e
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 4]
mov ecx, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016f6a0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.1000d310
mov eax, dword [esp + 0x60]
xor ecx, ecx
mov edi, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], edi
test eax, eax
je 0x1016f8b6
cmp dword [esp + 0x64], 0x10
setae cl
mov byte [esp + 0x13], cl
test cl, cl
lea eax, [esp + 0x50]
cmovne eax, edi
movsx eax, byte [eax + esi]
push eax
call fcn.101eee10
add esp, 4
test eax, eax
jne 0x1016f8b0
mov cl, byte [esp + 0x13]
inc esi
cmp esi, dword [esp + 0xc]
jb 0x1016f6e0
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
jmp 0x1016f8c6
test ecx, ecx
je 0x1016f75e
mov edx, dword [esp + 0x30]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1016f73c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016fc43
push edx
push ecx
call fcn.101e1f2f
add esp, 8
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.1016fd30
mov edi, dword [eax]
mov eax, dword [esp + 0x68]
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x24]
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x20], eax
lea eax, [esp + 0x80]
cmp ecx, eax
je 0x1016f802
sub esi, dword [esp + 0x80]
mov edx, dword [ecx]
mov eax, esi
sar eax, 4
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 8]
sub eax, edx
mov dword [esp + 0x14], edx
sar eax, 4
cmp dword [esp + 0xc], eax
jbe 0x1016f7e8
push dword [esp + 0xc]
call fcn.101701f0
mov edx, dword [edi + 0x24]
mov dword [esp + 0x14], edx
push esi
push dword [esp + 0x84]
push edx
call fcn.101e3770
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, esi
mov dword [edi + 0x28], eax
add edi, 0x30
lea eax, [esp + 0x8c]
cmp edi, eax
je 0x1016f880
mov ecx, dword [esp + 0x90]
mov eax, 0x2aaaaaab
sub ecx, dword [esp + 0x8c]
mov esi, dword [edi]
imul ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + 8]
sar edx, 1
sub ecx, esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x44], eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x44]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x1016f85f
push ecx
mov ecx, edi
call fcn.10170130
mov esi, dword [edi]
push dword [esp + 0xc]
push dword [esp + 0x90]
push esi
call fcn.101e3770
mov eax, dword [esp + 0x18]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
nop dword [eax]
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x8c]
mov esi, dword [esi]
mov dword [esp + 0x4c], esi
call fcn.1003ef20
lea ecx, [esp + 0x80]
call fcn.10170500
test esi, esi
jne 0x1016f4f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], esi
jmp 0x1016f8b8
xor esi, esi
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test esi, esi
jne 0x1016f981
call eax
mov dword [esp + 0xc], eax
mov esi, 0x811c9dc5
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1016f909
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1016f8e0
sub eax, edx
mov edx, 0
je 0x1016f909
mov edi, dword [esp + 0x3c]
movsx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x1016f8f4
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
cmp esi, dword [esp + 0x88]
je 0x1016f95c
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [esi], xmm0
add esi, 0x10
mov dword [esp + 0x1c], esi
mov dword [esp + 0x84], esi
jmp 0x1016fbf6
lea eax, [esp + 0xa0]
push eax
push esi
lea ecx, [esp + 0x88]
call fcn.10170320
mov esi, dword [esp + 0x84]
mov dword [esp + 0x1c], esi
jmp 0x1016fbf6
call eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0xf
cmp eax, esi
jb 0x1016fc3e
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
cmovae eax, edi
push ecx
add eax, esi
lea ecx, [esp + 0xe4]
push eax
call fcn.1000d310
cmp dword [esp + 0xf4], 0x10
lea esi, [esp + 0xe0]
mov eax, dword [esp + 0xe0]
mov edi, 0x811c9dc5
cmovae esi, eax
mov dword [esp + 0x44], eax
setae byte [esp + 0x1b]
mov dword [esp + 0xc], edi
test esi, esi
je 0x1016fa31
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016fa10
sub ecx, edx
xor edx, edx
test ecx, ecx
je 0x1016fa35
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1016fa20
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
cmp dword [esp + 0x60], ecx
mov dword [esp + 0xc8], 0
cmovb ecx, dword [esp + 0x60]
cmp dword [esp + 0x64], 0x10
push ecx
cmovae eax, dword [esp + 0x54]
lea ecx, [esp + 0xcc]
push eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xf
call fcn.1000d310
cmp dword [esp + 0xdc], 0x10
lea esi, [esp + 0xc8]
mov eax, dword [esp + 0xc8]
mov edi, 0x811c9dc5
cmovae esi, eax
mov dword [esp + 0x98], eax
setae byte [esp + 0x13]
mov dword [esp + 0x14], edi
test esi, esi
je 0x1016fad6
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016fab6
sub ecx, edx
xor edx, edx
test ecx, ecx
je 0x1016fada
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1016fac5
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x3c]
mov esi, 0x811c9dc5
test edi, edi
je 0x1016fb11
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016faf0
sub ecx, edx
mov edx, 0
je 0x1016fb11
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1016fb00
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xbc], eax
cmp esi, dword [esp + 0x88]
je 0x1016fb5d
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [esi], xmm0
add esi, 0x10
mov dword [esp + 0x84], esi
jmp 0x1016fb79
lea eax, [esp + 0xb0]
push eax
push esi
lea ecx, [esp + 0x88]
call fcn.10170320
mov esi, dword [esp + 0x84]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x1c], esi
je 0x1016fbbb
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1016fbb1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016fc43
push ecx
push edx
call fcn.101e1f2f
add esp, 8
cmp byte [esp + 0x1b], 0
je 0x1016fbf2
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1016fbe8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016fc43
push ecx
push edx
call fcn.101e1f2f
add esp, 8
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x64]
cmp eax, 0x10
jb 0x1016fc26
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1016fc1c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016fc43
push ecx
push edi
call fcn.101e1f2f
add esp, 8
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x1016f677
jmp 0x1016f765
call fcn.100184d0
call fcn.101e6db2
int3