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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4ec1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
push ebx
mov dword [ebp - 0x20], ebx
call fcn.0048a688
add esp, 4
test eax, eax
jne 0x407b7c
mov byte [ebp - 4], 1
lea edx, [ebp - 0x10]
mov ecx, dword [ebx + 0xd0]
mov esi, dword [ebp + 8]
push edx
mov dword [ebp - 0x18], esi
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
je 0x4077e4
nop
mov edi, dword [eax]
lea esi, [eax + 8]
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
cmp esi, ecx
je 0x4077d0
mov ecx, dword [ebp - 0x10]
push ecx
push esp
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, edi
call dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, esi
mov ecx, dword [ecx + 0x24]
cmp esi, ecx
jne 0x4077a0
jmp 0x4077e4
mov eax, dword [ebp - 0x10]
push ecx
mov edx, esp
mov dword [ebp - 0x10], 0
mov ecx, edi
mov dword [edx], eax
call dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4077f5
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x407888
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x4c]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov byte [ebp - 4], 1
add esi, 0x38
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x4c]
cmp esi, eax
je 0x40786d
mov edi, dword [esi + 0x24]
test edi, edi
je 0x407852
mov eax, dword [edi]
cmp edi, esi
mov ecx, edi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov dword [esi + 0x24], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x407888
lea eax, [ebp - 0x4c]
cmp ecx, eax
jne 0x40790d
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x407888
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x4c]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x28], 0
mov edi, dword [ebp + 8]
add edi, 8
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x407898
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x4078b6
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x4078a4
mov ecx, dword [ebx + 0xc8]
mov eax, dword [ebx + 0xbc]
and ecx, edx
mov esi, dword [eax + ecx*8 + 4]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x18], eax
cmp esi, dword [ebx + 0xb4]
je 0x407915
lea eax, [esi + 8]
push eax
push edi
call fcn.0041e330
test al, al
je 0x4078fc
mov eax, dword [ebp - 0x18]
cmp esi, dword [eax]
je 0x407915
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push edi
call fcn.0041e330
test al, al
jne 0x4078e4
test esi, esi
je 0x407915
cmp esi, dword [ebx + 0xb4]
je 0x407915
mov ecx, dword [esi + 0x20]
jmp 0x40791b
mov dword [esi + 0x24], ecx
jmp 0x407881
mov ecx, dword [ebx + 0xd4]
mov eax, dword [ebp + 8]
add eax, 0x2c
xchg dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0xd8]
add eax, 0x30
xchg dword [eax], ecx
mov edi, dword [ebx + 0x120]
test edi, edi
je 0x407afc
mov esi, dword [ebp + 8]
add esi, 0x60
push esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
call fcn.0048a688
add esp, 4
test eax, eax
jne 0x407b82
mov byte [ebp - 4], 4
lea ebx, [edi + 1]
xor ecx, ecx
mov byte [esi + 0x30], 1
xor edx, edx
mov dword [ebp - 0x40], ebx
xor edi, edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x407a88
cmp ebx, 0xc7ce0c
ja 0x407b88
push ebx
lea ecx, [ebp - 0x30]
call fcn.0041d150
mov edi, dword [ebp - 0x30]
lea esi, [edi + 0x2c]
push 0x144
lea eax, [edi + 4]
push 0
push eax
call fcn.0048eda0
lea eax, [esi + 0x1c]
mov dword [edi], 0
add esp, 0xc
mov dword [esi - 0x28], 0
add edi, 0x148
mov dword [esi - 0x24], 6
mov dword [esi - 0x1c], 0
lea esi, [esi + 0x148]
mov dword [esi - 0x160], 0
mov dword [esi - 0x15c], 0
mov dword [esi - 0x158], 0
mov dword [esi - 0x154], 0
mov dword [esi - 0x150], 0
mov dword [esi - 0x14c], 0
mov dword [esi - 0x148], 0
mov dword [esi - 0x144], 0
mov dword [esi - 0x140], 0
mov dword [esi - 0x134], 0
mov dword [esi - 0x13c], 0x4d39a0
mov dword [esi - 0x138], eax
mov dword [esi - 0x130], 0xfa
sub ebx, 1
jne 0x4079a5
push ecx
mov edx, edi
mov ecx, edi
call fcn.0041d5c0
mov edx, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [esi + 0x34], ebx
lea ebx, [esi + 0x44]
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x30]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edx
cmp ebx, eax
je 0x407ac8
mov ecx, ebx
call fcn.0041d620
mov eax, dword [ebp - 0x30]
mov dword [ebx], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
call fcn.0041d620
push esi
mov byte [ebp - 4], 1
call fcn.0048a6ad
mov ebx, dword [ebp - 0x1c]
add esp, 4
cmp byte [ebx + 0x11c], 0
je 0x407b37
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
call fcn.00407580
push ebx
call fcn.0048a6ad
mov esi, dword [ebp + 0xc]
add esp, 4
test esi, esi
je 0x407b68
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x407b68
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x407b68
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.0048a156
push eax
call fcn.0048a156
call fcn.004051a0
int3