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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706580
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
test edx, edx
mov edi, dword [0x7ccb78]
mov ebx, 0x780fa8
mov dword [ebp - 0x50], eax
cmovne ebx, edx
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x2d], al
mov dword [ebp - 0x40], edi
test edi, edi
je 0x4750d4
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
cmp byte [ebp - 0x2d], 0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov eax, dword [0x7c2908]
cmovne eax, dword [0x7c2900]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x47512f
mov dword [ebp - 4], 3
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
mov byte [ebp - 4], 4
jmp 0x475387
mov ecx, ebx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475150
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00449180
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x2c]
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x475196
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x475185
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x18]
and eax, edx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x4c], edx
mov esi, dword [edx + eax*8]
add eax, eax
lea ecx, [eax*4 + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], eax
nop
cmp eax, ecx
jne 0x4751c8
mov eax, ecx
jmp 0x4751d0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x475237
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ebx, [esi + 8]
cmovae eax, dword [ebp - 0x2c]
cmp dword [esi + 0x1c], 8
jb 0x4751eb
mov ebx, dword [esi + 8]
mov edx, dword [esi + 0x18]
cmp edx, dword [ebp - 0x1c]
jne 0x47522d
test edx, edx
je 0x475211
sub ebx, eax
nop dword [eax]
mov cx, word [eax + ebx]
cmp cx, word [eax]
jne 0x47522a
add eax, 2
sub edx, 1
jne 0x475200
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00478e60
mov ebx, dword [ebp - 0x34]
test al, al
je 0x47523c
mov esi, dword [ebx + 4]
jmp 0x47523c
mov ecx, dword [ebp - 0x48]
mov esi, dword [esi]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
jmp 0x4751c0
mov ebx, dword [ebp - 0x34]
mov esi, ecx
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x475276
mov edx, dword [ebp - 0x2c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47526c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4753b6
push ecx
push edx
call fcn.006d0b31
add esp, 8
cmp esi, dword [ebx + 4]
je 0x47536b
mov ebx, dword [ebp - 0x38]
mov edx, dword [esi + 0x20]
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov esi, dword [edx + 0xc]
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp - 0x36]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x35]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
mov edx, dword [edx + 4]
and ecx, eax
mov eax, dword [esi + ecx*8]
add ecx, ecx
lea ebx, [ecx*4 + 4]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [esi + ecx*4]
cmp ebx, edx
jne 0x4752db
mov ecx, edx
jmp 0x4752e3
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + esi]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x47536b
mov ecx, dword [ebp - 0x38]
cmp dword [eax + 8], ecx
je 0x4752f7
mov eax, dword [eax]
jmp 0x4752d3
cmp eax, edx
je 0x47536b
push dword [eax + 0xc]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
call fcn.00463500
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x34]
mov dword [ecx], eax
lea ecx, [ebp - 0x40]
call fcn.00462bd0
mov al, 1
jmp 0x47539a
push 0xd3
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stderrerror.cpp
push ecx
push 0x7cf920
mov edx, str.KLERR
mov ecx, 1
call fcn.0046b800
int3
mov dword [ebp - 4], 6
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
mov byte [ebp - 4], 7
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
call fcn.006d79b8
mov ecx, edi
call dword [0x70d440]
mov ecx, esi
call edi
mov ecx, eax
jmp 0x475342