Function at 0x58c640
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x618400
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6ac9e8]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x80]
xor esi, esi
mov dword [esp + 0x14], ecx
cmp eax, esi
je 0x58c69e
add eax, 4
jmp 0x58c6a0
xor eax, eax
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], esi
mov byte [esp + 0x3c], 0
call fcn.00416950
mov dword [esp + 0x28], vtable.CFilename.0
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x78], esi
call fcn.00541790
sub esp, 0x18
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], esp
push ecx
push eax
call fcn.0058c590
add esp, 8
lea ecx, [esp + 0x64]
call fcn.004c1220
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x74], 1
cmp ebx, 0x10
jae 0x58c70a
lea eax, [esp + 0x50]
mov edx, dword [esp + 0x60]
add edx, eax
xor ecx, ecx
cmp eax, edx
jae 0x58c726
movzx esi, byte [eax]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, esi
cmp eax, edx
jb 0x58c716
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0058c190
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
test esi, esi
jne 0x58c799
mov esi, vtable.CFilename.0
mov dword [esp + 0x48], esi
cmp ebx, 0x10
jb 0x58c765
mov eax, dword [esp + 0x50]
push eax
call fcn.005c5896
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x28], esi
jb 0x58c792
mov ecx, dword [esp + 0x30]
push ecx
call fcn.005c5896
add esp, 4
xor al, al
jmp 0x58c864
mov eax, dword [esp + 0x30]
mov ebx, 0x10
cmp dword [esp + 0x44], ebx
jae 0x58c7ac
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x40]
push edx
push eax
call fcn.00541df0
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esi + 8]
mov dword [edi], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi + 0x10]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x14]
mov dword [edi + 0xc], eax
mov edx, dword [esi + 0x18]
mov dword [ebp], edx
mov eax, dword [esi + 0x1c]
mov dword [ebp + 4], eax
mov edx, dword [esi + 0x20]
mov dword [ebp + 8], edx
mov eax, dword [esi + 0x24]
add esp, 8
mov dword [ebp + 0xc], eax
xor eax, eax
xor dword [edi + eax*4], ecx
inc eax
cmp eax, 4
jb 0x58c803
xor eax, eax
mov edi, edi
xor dword [ebp + eax*4], ecx
inc eax
cmp eax, 4
jb 0x58c810
mov esi, vtable.CFilename.0
mov dword [esp + 0x48], esi
cmp dword [esp + 0x64], ebx
jb 0x58c836
mov ecx, dword [esp + 0x50]
push ecx
call fcn.005c5896
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x28], esi
cmp dword [esp + 0x44], ebx
jb 0x58c862
mov edx, dword [esp + 0x30]
push edx
call fcn.005c5896
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005c5ea5
add esp, 0x64
ret 0x10