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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3898
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4f4164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd0], eax
xor eax, eax
mov dword [ebp - 0xd4], eax
push 0x4f9784
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xf4], 0x4f9758
call fcn.00452185
add esp, 4
test eax, eax
jne 0x47709c
mov al, byte [0x4f9758]
test al, al
mov byte [ebp - 0xc1], al
sete byte [ebp - 0xf0]
test al, al
jne 0x476542
inc dword [0x4f97b4]
push 0x4f9784
call fcn.004521aa
add esp, 4
mov eax, dword [0x4f9870]
xorps xmm0, xmm0
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0
mov eax, dword [eax]
movlpd qword [ebp - 0x134], xmm0
mov dword [ebp - 0x12c], 0x4d487c
mov dword [ebp - 0x124], 0
cmp dword [eax], 0
je 0x4765d2
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push 0x4cb58c
push str._DLLPROTECT__::_GenericLoadLibrary_Hook___
push str._s_s
push 0x4cb58c
push 0
push dword [ebp - 0xd4]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], ecx
call fcn.0047d770
add esp, 0x18
cmp byte [ebp - 0xc1], 0
mov byte [ebp - 4], 1
je 0x4765ee
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x477067
lea eax, [ebp - 0x11c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x20], xmm0
cmp dword [eax], 0
je 0x47662a
push str.GenericLoadLibrary_Hook_called_with:
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x20], xmm0
cmp dword [eax], 0
je 0x476667
push esi
push str.Filename:__s
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x20], xmm0
cmp dword [eax], 0
je 0x4766a9
push dword [ebp - 0xec]
push str.hFile:__x
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x20], xmm0
cmp dword [eax], 0
je 0x4766e6
push edi
push str.Flags:_0x_x
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x80], xmm0
cmp dword [eax], 0
je 0x47677a
mov eax, dword [ebp - 0xf0]
sub esp, 0x10
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, esp
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x60]
push 0xc
push str.FuncName:_
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x30]
push eax
call fcn.00490cc0
cmp dword [ebp - 0x1c], 0x10
mov eax, 5
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push 0
push str._DLLPROTECT__::_GenericLoadLibrary_Hook____
push 0
mov byte [ebp - 4], 2
call fcn.0047d640
add esp, 0x2c
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 4], 1
test al, 1
je 0x47679c
and eax, 0xfffffffe
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc8], eax
call fcn.004094a0
lea eax, [ebp - 0x11c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x20], xmm0
cmp dword [eax], 0
je 0x4767de
push dword [ebp - 0xd0]
push str.CallerAddr:_0x_x
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x20], xmm0
cmp dword [eax], 0
je 0x47693e
push 7
xor eax, eax
mov dword [ebp - 0x90], 0
push 0x4cb6ac
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.004038a0
push 7
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x4cb6ac
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.004038a0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0xd0]
call fcn.0047c460
lea eax, [ebp - 0x15c]
push eax
call fcn.00478090
add esp, 0x10
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0xfc], xmm0
cmp dword [eax], 0
je 0x4768d3
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str.CallerOffset:__s
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0x10
lea eax, [ebp - 0x15c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0xfc], xmm0
cmp dword [eax], 0
je 0x476927
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push eax
push str.CallerName:__s
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.00403690
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.00403690
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47695f
mov eax, dword [0x4f97b8]
push edi
push dword [ebp - 0xec]
push esi
call eax
mov esi, eax
jmp 0x477067
mov ecx, esi
mov dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476980
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.004038a0
mov byte [ebp - 4], 5
call fcn.00480060
cmp dword [ebp - 0x64], 8
mov edi, eax
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
mov edx, 0x811c9dc5
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xd4], edi
lea eax, [ecx + ecx]
xor ecx, ecx
test eax, eax
je 0x4769ed
mov edi, dword [ebp - 0x14]
mov esi, eax
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4769d0
mov esi, dword [ebp - 0xe0]
mov edi, dword [ebp - 0xd4]
push edx
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004385e0
mov eax, dword [eax + 4]
test eax, eax
je 0x476a95
cmp eax, dword [edi + 4]
je 0x476a95
push dword [ebp - 0xd0]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0
push 0x4cb58c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00409920
push 8
sub esp, 0x20
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0xd8], esp
push edi
call fcn.00470b50
push dword [ebp + 0x14]
mov edi, dword [ebp - 0xcc]
push edi
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push esi
call fcn.004037d0
push esi
mov byte [ebp - 4], 5
call fcn.0047ac60
mov eax, dword [0x4f97b8]
add esp, 0x64
push edi
push dword [ebp - 0xec]
push esi
call eax
mov esi, eax
jmp 0x47705f
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0046c2a0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 1
cmp byte [0x4f9912], 0
mov byte [ebp - 4], 8
je 0x476b5f
sub esp, 0x18
lea eax, [ebp - 0xbc]
mov ecx, esp
push 0
push eax
call fcn.00469010
call fcn.00481500
add esp, 0x18
test al, al
je 0x476b5f
push dword [ebp - 0xd0]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0
push 0x4cb58c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00409920
push 0xa
sub esp, 0x20
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0xd8], esp
call fcn.00470c10
push dword [ebp + 0x14]
mov byte [ebp - 4], 0xa
push dword [ebp - 0xcc]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.004037d0
push esi
mov byte [ebp - 4], 8
call fcn.0047ac60
add esp, 0x64
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x477054
cmp byte [0x4f9919], 0
jne 0x476b97
push 0
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x30]
call fcn.00469010
or dword [ebp - 0xc8], 2
lea eax, [ebp - 0x30]
push eax
call fcn.00481ec0
add esp, 4
mov byte [ebp - 0xc1], 1
test al, al
jne 0x476b9e
mov byte [ebp - 0xc1], 0
test byte [ebp - 0xc8], 2
je 0x476baf
lea ecx, [ebp - 0x30]
call fcn.00403690
cmp byte [ebp - 0xc1], 0
je 0x476bd3
push dword [ebp - 0xcc]
mov eax, dword [0x4f97b8]
push dword [ebp - 0xec]
push esi
call eax
mov esi, eax
jmp 0x477054
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], al
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xcc]
push esi
call fcn.00479300
mov ecx, eax
mov byte [ebp - 0x5c], 1
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc8], ecx
add esp, 0x14
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0xd
cmp ecx, 0xa
jne 0x476ccb
push dword [ebp - 0xd0]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0
push 0x4cb58c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00409920
push 0xa
sub esp, 0x20
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0xd8], esp
call fcn.00470c10
push dword [ebp + 0x14]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xf
push dword [ebp - 0xcc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405c80
push esi
mov byte [ebp - 4], 0xd
call fcn.0047ac60
add esp, 0x64
push 0xa
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x47702f
test ecx, ecx
je 0x476def
test byte [0x4f9914], 0x10
je 0x476d19
push dword [ebp - 0xd0]
lea eax, [ebp - 0xb8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
push eax
call fcn.00413690
push dword [ebp - 0xc8]
mov byte [ebp - 4], 0x10
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xd8], esp
call fcn.00470c10
mov byte [ebp - 4], 0x11
jmp 0x476d94
test byte [0x4f9914], 0x20
je 0x476def
cmp byte [0x4f9913], 0
je 0x476dbe
push dword [ebp - 0xd0]
lea eax, [ebp - 0xb8]
sub esp, 0x18
cmp ecx, 5
mov dword [ebp - 0xe0], esp
mov ecx, esp
push eax
jne 0x476d71
call fcn.00413690
push 0xa
sub esp, 0x20
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0xd8], esp
call fcn.00470c10
mov byte [ebp - 4], 0x13
jmp 0x476d94
call fcn.00413690
push dword [ebp - 0xc8]
mov byte [ebp - 4], 0x14
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xd8], esp
call fcn.00470c10
mov byte [ebp - 4], 0x15
push dword [ebp + 0x14]
lea eax, [ebp - 0x58]
push dword [ebp - 0xcc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405c80
push esi
mov byte [ebp - 4], 0xd
call fcn.0047ac60
mov ecx, dword [ebp - 0xc8]
add esp, 0x64
test byte [0x4f9914], 0x20
je 0x476def
cmp ecx, 5
je 0x476dd1
cmp ecx, 2
jne 0x476def
cmp ecx, 2
mov edx, 0x7e
mov eax, 5
cmove eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x47702f
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004037d0
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov esi, 0x811c9dc5
cmovae edx, dword [ebp - 0x30]
xor ecx, ecx
mov byte [ebp - 4], 0x16
add eax, eax
je 0x476e39
mov edi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x476e22
mov edi, dword [ebp - 0xd4]
push esi
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.004385e0
cmp dword [ebp - 0xd8], 0
jne 0x476f43
cmp dword [edi + 8], 0x7ffffff
je 0x4770a2
lea eax, [edi + 4]
mov dword [ebp - 0xe4], eax
push 0x20
mov byte [ebp - 4], 0x17
mov dword [ebp - 0xe0], 0
call fcn.00450e28
movups xmm0, xmmword [ebp - 0x30]
mov dword [ebp - 0xe0], eax
add esp, 4
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmmword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [eax + 0x18], xmm0
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov eax, dword [edi + 8]
inc eax
mov byte [ebp - 4], 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4cdde0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4cdde0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x476f2e
mov ecx, edi
call fcn.0047cbc0
mov eax, dword [ebp - 0xe0]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.004385e0
mov ecx, dword [eax]
jmp 0x476f34
mov ecx, dword [ebp - 0xdc]
push dword [ebp - 0xe0]
push ecx
push esi
mov ecx, edi
call fcn.0042b200
lea ecx, [ebp - 0x30]
call fcn.00403690
lea eax, [ebp - 0x58]
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe4], eax
mov byte [ebp - 0xe0], 1
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0x19
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0xfc], xmm0
cmp dword [eax], 0
je 0x476fb3
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push str.calling_TrueLoadLibraryExW_with__s
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0x10
push dword [ebp - 0xcc]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0xec]
cmovae eax, dword [ebp - 0x58]
mov ecx, dword [0x4f97b8]
push eax
call ecx
mov esi, eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00478090
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0xfc], xmm0
cmp dword [eax], 0
je 0x477024
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push esi
cmovae eax, dword [ebp - 0x58]
push eax
push str.calling_TrueLoadLibraryExW_with__s___dll_p
push 0x4d4928
push 0
call fcn.0047d8a0
add esp, 0x14
lea ecx, [ebp - 0xe8]
call fcn.00472400
mov eax, dword [ebp - 0xc0]
cmp eax, 0xffffffff
je 0x477041
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xb8]
call fcn.004094a0
lea ecx, [ebp - 0x58]
call fcn.00403690
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.0047f080
lea ecx, [ebp - 0x78]
call fcn.00403690
lea ecx, [ebp - 0x134]
call fcn.00472d10
lea ecx, [ebp - 0xf4]
call fcn.00472ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret 0x14
push eax
call fcn.0045228a
push str.unordered_map_set_too_long
call fcn.00451caa
int3