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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee130
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x536364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x50], ebx
mov esi, ecx
test esi, esi
je 0x4193c1
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4193b0
sub ecx, edx
sar ecx, 1
jne 0x4193d4
cmp dword [0x537344], 8
mov esi, 0x537330
cmovae esi, dword [0x537330]
push ebx
push esi
lea eax, [ebp - 0x40]
push str._s_factor__d
push eax
call fcn.00415610
add esp, 0x10
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
cmovae edx, dword [ebp - 0x40]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419412
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004068e0
cmp dword [ebp - 0x14], 8
lea ebx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov ecx, 0x811c9dc5
mov eax, dword [ebp - 0x18]
cmovae ebx, edi
xor edx, edx
add eax, eax
je 0x41945c
mov edi, eax
movzx eax, byte [edx + ebx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x419448
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
cmp eax, 8
jb 0x419499
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41948c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195bf
push ecx
push edi
call fcn.004a1b67
mov ecx, dword [ebp - 0x44]
add esp, 8
mov edi, dword [0x541454]
mov edx, edi
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4194e4
nop word [eax + eax]
cmp dword [eax + 0x10], ecx
jae 0x4194ba
mov eax, dword [eax + 8]
jmp 0x4194be
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4194b0
cmp edx, edi
je 0x4194e4
cmp ecx, dword [edx + 0x10]
jb 0x4194e4
lea eax, [ebp - 0x44]
mov ecx, 0x541454
push eax
call fcn.00419cd0
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x41956b
mov edx, esi
lea ecx, [ebp - 0x4c]
call fcn.00418f00
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x41953d
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi + 0x34]
cmp ecx, 0x64
je 0x41950e
push 0x64
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [esi + 0x30], 8
lea edx, [esi + 0x1c]
jb 0x419519
mov edx, dword [edx]
push dword [esi + 0x44]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push dword [esi + 0x40]
cmovae ecx, dword [ebp - 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push eax
call fcn.00419070
add esp, 0x14
mov ebx, eax
jmp 0x41953f
xor ebx, ebx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x41956b
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41956b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41956b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4195a1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419597
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195c4
push edx
push ecx
call fcn.004a1b67
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret
call fcn.004c43e9
call fcn.004c43e9
int3