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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ccc0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x58d984]
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x58], ebx
test esi, esi
je 0x452db1
mov ecx, esi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452da0
sub ecx, edx
sar ecx, 1
jne 0x452dc5
cmp dword [0x58cfa0], 8
mov esi, 0x58cf8c
jb 0x452dc5
mov esi, dword [0x58cf8c]
push ebx
push esi
lea eax, [ebp - 0x40]
push str._s_factor__d
push eax
call fcn.004519b0
add esp, 0x10
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
jb 0x452deb
mov edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
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 0x452e04
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403190
cmp dword [ebp - 0x14], 8
lea ebx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
jb 0x452e2b
mov ebx, edi
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, 0x811c9dc5
add eax, eax
je 0x452e54
mov edi, eax
jmp 0x452e40
movzx eax, byte [edx + ebx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x452e40
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
cmp eax, 8
jb 0x452e91
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x452e84
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453060
push ecx
push edi
call fcn.004ed797
mov ecx, dword [ebp - 0x48]
add esp, 8
mov edi, dword [0x59a424]
mov edx, edi
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x452ed6
cmp dword [eax + 0x10], ecx
jae 0x452eac
mov eax, dword [eax + 8]
jmp 0x452eb0
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x452ea2
cmp edx, edi
je 0x452ed6
cmp ecx, dword [edx + 0x10]
jb 0x452ed6
lea eax, [ebp - 0x48]
mov ecx, 0x59a424
push eax
call fcn.00452600
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x45300c
test esi, esi
je 0x452f88
mov ecx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452ef7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403190
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
jb 0x452f1c
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, 0x811c9dc5
lea edi, [eax + eax]
test edi, edi
je 0x452f41
lea ecx, [ecx]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x452f30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x4c], edx
call fcn.00403110
lea eax, [ebp - 0x4c]
mov ecx, 0x59a41c
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0043c300
mov eax, dword [eax]
cmp eax, dword [0x59a41c]
je 0x452f88
lea eax, [ebp - 0x4c]
mov ecx, 0x59a41c
push eax
call fcn.00452600
mov esi, dword [eax + 4]
test esi, esi
je 0x452f84
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov edi, dword [eax]
jmp 0x452f8c
xor edi, edi
xor esi, esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 1
test edi, edi
je 0x452fe5
mov eax, dword [edi + 0x34]
push 1
push dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.0045ec80
lea eax, [edi + 0x1c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x452fbc
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
jb 0x452fc8
mov ecx, dword [ebp - 0x40]
push dword [edi + 0x44]
push dword [edi + 0x40]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push dword [ebp - 0x44]
push eax
push ecx
call fcn.004526b0
add esp, 0x1c
mov ebx, eax
jmp 0x452fe7
xor ebx, ebx
test esi, esi
je 0x45300c
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45300c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x45300c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x453042
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453038
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453065
push edx
push ecx
call fcn.004ed797
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.004eda39
mov esp, ebp
pop ebp
ret
call fcn.0051042e
call fcn.0051042e
int3