Function at 0x470800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57168c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x5e8ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x5f0384]
cmp eax, dword [esi + 4]
jle 0x470909
push 0x5f0384
call fcn.0052cf1e
add esp, 4
cmp dword [0x5f0384], 0xffffffff
jne 0x470909
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [0x5f00a8]
movups xmmword [0x5f0340], xmm0
push 0
push 0
movups xmmword [0x5f0350], xmm0
mov dword [0x5f0340], eax
mov dword [0x5f0344], 0
mov dword [0x5f0348], 0
call fcn.0044b220
mov dword [0x5f0344], eax
mov dword [0x5f034c], 0
mov dword [0x5f0350], 0
mov dword [0x5f0354], 0
push 0x5f00a8
mov ecx, 0x5f0340
mov byte [ebp - 4], 2
call fcn.004740e0
push 0x573e70
call fcn.0052cd60
push 0x5f0384
mov dword [ebp - 4], 0xffffffff
call fcn.0052ced4
add esp, 8
mov eax, dword [0x5f0324]
cmp eax, dword [esi + 4]
jle 0x4709c7
push 0x5f0324
call fcn.0052cf1e
add esp, 4
cmp dword [0x5f0324], 0xffffffff
jne 0x4709c7
mov dword [ebp - 4], 3
xorps xmm0, xmm0
mov eax, dword [0x5f0100]
movups xmmword [0x5f038c], xmm0
push 0
push 0
movups xmmword [0x5f039c], xmm0
mov dword [0x5f038c], eax
mov dword [0x5f0390], 0
mov dword [0x5f0394], 0
call fcn.0044b220
mov dword [0x5f0390], eax
mov dword [0x5f0398], 0
mov dword [0x5f039c], 0
mov dword [0x5f03a0], 0
push 0x5f0100
mov ecx, 0x5f038c
mov byte [ebp - 4], 5
call fcn.004740e0
push 0x573e60
call fcn.0052cd60
push 0x5f0324
mov dword [ebp - 4], 0xffffffff
call fcn.0052ced4
add esp, 8
mov eax, dword [0x5f0388]
cmp eax, dword [esi + 4]
jle 0x470a1e
push 0x5f0388
call fcn.0052cf1e
add esp, 4
cmp dword [0x5f0388], 0xffffffff
jne 0x470a1e
push 0x5e9ba8
mov ecx, 0x5f0328
mov dword [ebp - 4], 6
call fcn.0044c0c0
push 0x573e00
call fcn.0052cd60
push 0x5f0388
mov dword [ebp - 4], 0xffffffff
call fcn.0052ced4
add esp, 8
mov ecx, edi
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470a37
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0044a890
mov dword [ebp - 4], 7
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
cmp edx, 8
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae eax, ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
cmovae eax, ecx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x2c]
cmovae esi, ecx
mov ecx, eax
sub ecx, esi
xor edi, edi
inc ecx
shr ecx, 1
cmp esi, eax
cmova ecx, edi
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x470ab3
sub dword [ebp - 0x34], esi
movzx eax, word [esi]
push eax
call fcn.00549e5a
mov ecx, dword [ebp - 0x34]
lea esi, [esi + 2]
inc edi
add esp, 4
mov word [ecx + esi - 2], ax
cmp edi, dword [ebp - 0x38]
jne 0x470a93
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmp edx, 8
mov edx, 0x811c9dc5
cmovae esi, edi
xor ecx, ecx
add eax, eax
je 0x470ae4
mov edi, eax
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x470ad0
mov edi, dword [ebp - 0x2c]
and edx, dword [0x5f03a4]
mov ecx, dword [0x5f0398]
mov ecx, dword [ecx + edx*8]
lea edx, [edx*8 + 4]
mov dword [ebp - 0x38], ecx
mov esi, ecx
mov dword [ebp - 0x54], edx
mov eax, dword [0x5f0390]
cmp ecx, eax
je 0x470b15
mov eax, dword [0x5f0398]
mov eax, dword [edx + eax]
mov eax, dword [eax]
cmp esi, eax
je 0x470b98
cmp dword [ebp - 0x18], 8
lea ecx, [esi + 8]
mov eax, dword [ecx + 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
cmovae edx, edi
mov eax, dword [ecx + 0x14]
cmp eax, 8
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
jb 0x470b3c
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x1c]
jne 0x470b4e
push eax
call fcn.00451020
add esp, 4
test eax, eax
je 0x470b58
mov esi, dword [esi]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
jmp 0x470b02
cmp dword [ebp - 0x58], 8
lea edx, [esi + 8]
jb 0x470b63
mov edx, dword [edx]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, edi
cmp eax, dword [ebp - 0x34]
jne 0x470b89
push eax
call fcn.00451020
add esp, 4
test eax, eax
jne 0x470b89
mov eax, dword [0x5f0390]
jmp 0x470b90
mov eax, dword [0x5f0390]
mov esi, eax
cmp esi, eax
jne 0x470e27
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, eax
mov dword [ebp - 0x40], 0
mov ecx, edx
mov dword [ebp - 0x3c], 7
xor eax, eax
mov word [ebp - 0x50], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470bc4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.0044a890
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x50]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x470c11
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x470c00
and edx, dword [0x5f0358]
mov ecx, dword [0x5f034c]
mov edi, dword [0x5f0344]
mov eax, dword [ecx + edx*8]
lea edx, [edx*8 + 4]
mov dword [ebp - 0x58], eax
mov esi, eax
mov dword [ebp - 0x54], edx
cmp eax, edi
jne 0x470c3d
mov eax, edi
jmp 0x470c42
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x470cba
cmp dword [ebp - 0x3c], 8
lea ecx, [esi + 8]
mov edi, dword [ecx + 0x14]
lea edx, [ebp - 0x50]
cmovae edx, dword [ebp - 0x50]
cmp edi, 8
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x38], edi
mov edi, dword [0x5f0344]
mov dword [ebp - 0x34], eax
jb 0x470c6d
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x40]
jne 0x470c7f
push eax
call fcn.00451020
add esp, 4
test eax, eax
je 0x470c8f
mov esi, dword [esi]
mov eax, dword [ebp - 0x58]
mov ecx, dword [0x5f034c]
mov edx, dword [ebp - 0x54]
jmp 0x470c35
cmp dword [ebp - 0x38], 8
lea edx, [esi + 8]
jb 0x470c9a
mov edx, dword [edx]
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x40]
cmovae ecx, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x34]
jne 0x470cba
push eax
call fcn.00451020
add esp, 4
test eax, eax
je 0x470cbc
mov esi, edi
mov eax, dword [ebp - 0x3c]
cmp esi, edi
setne byte [ebp - 0x2d]
cmp eax, 8
jb 0x470cfc
mov ecx, dword [ebp - 0x50]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x470cf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470e7c
push edx
push ecx
call fcn.0052cac7
add esp, 8
cmp byte [ebp - 0x2d], 0
jne 0x470e24
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470d22
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.0044a890
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x40]
mov edi, dword [0x5f0338]
mov esi, dword [ebp - 0x50]
cmp eax, edi
jb 0x470dc0
mov ecx, eax
sub ecx, edi
mov dword [ebp - 0x5c], ecx
cmp eax, ecx
jb 0x470e81
cmp dword [0x5f033c], 8
mov edx, 0x5f0328
cmovae edx, dword [0x5f0328]
sub eax, ecx
cmp eax, edi
mov ecx, edi
cmovb ecx, eax
cmp dword [ebp - 0x3c], 8
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x34]
cmovae ecx, esi
cmp edi, eax
cmovb eax, edi
push eax
mov eax, dword [ebp - 0x5c]
lea ecx, [ecx + eax*2]
call fcn.00451020
add esp, 4
test eax, eax
jne 0x470dba
mov eax, dword [ebp - 0x34]
cmp edi, eax
jbe 0x470db4
or eax, 0xffffffff
test eax, eax
sete byte [ebp - 0x2d]
jmp 0x470dc4
sbb eax, eax
neg eax
test eax, eax
sete byte [ebp - 0x2d]
jmp 0x470dc4
mov byte [ebp - 0x2d], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x470dfb
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x470df1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470e86
push ecx
push esi
call fcn.0052cac7
add esp, 8
cmp byte [ebp - 0x2d], 0
jne 0x470e24
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x5dbac0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x470e24
mov edi, dword [ebp - 0x2c]
lea esi, [eax + 1]
jmp 0x470e29
mov edi, dword [ebp - 0x2c]
xor esi, esi
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x470e5c
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x470e52
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470e8b
push ecx
push edi
call fcn.0052cac7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052c886
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00548571
call fcn.0044ac30
call fcn.00548571
call fcn.00548571
int3