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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7890
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x507254]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x128], eax
xor eax, eax
mov dword [ebp - 0x134], eax
push 0x50a604
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x198], 0x50a5d8
call fcn.0049159d
add esp, 4
test eax, eax
jne 0x4704e8
mov al, byte [0x50a5d8]
test al, al
mov byte [ebp - 0x111], al
sete byte [ebp - 0x194]
test al, al
jne 0x46f3a2
inc dword [0x50a634]
push 0x50a604
call fcn.004915c2
lea eax, [ebp - 0x1b0]
mov dword [ebp - 4], 0
push 0x4dd874
push eax
mov dword [ebp - 0x11c], 0x203e2d20
mov byte [ebp - 0x118], 0
call fcn.00466490
mov esi, eax
lea eax, [ebp - 0x54]
push str._DLLPROTECT__::
push eax
call fcn.00465f60
push esi
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0045daa0
lea ecx, [ebp - 0x11c]
push ecx
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004603d0
lea ecx, [ebp - 0x129]
push ecx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00460ce0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x11c], 0x202d3c20
push 0x4dd874
push eax
mov byte [ebp - 0x118], 0
call fcn.00466490
add esp, 0x40
mov esi, eax
lea eax, [ebp - 0x54]
push str._DLLPROTECT__::
push eax
call fcn.00465f60
push esi
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0045daa0
lea ecx, [ebp - 0x11c]
push ecx
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004603d0
lea ecx, [ebp - 0x129]
push ecx
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00460ce0
mov esi, dword [0x50a6f0]
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x1a8], eax
add esp, 0x2c
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], esi
movlpd qword [ebp - 0x1b0], xmm0
mov eax, dword [esi]
mov dword [ebp - 0x1a0], 0
cmp dword [eax], 0
je 0x46f4fc
lea eax, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push 0x4eb7ca
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x108]
push eax
push str._s_s
push 0x4eb7ca
push 0
push esi
mov dword [ebp - 0x1ac], ecx
call fcn.00477e30
add esp, 0x18
cmp byte [ebp - 0x111], 0
mov byte [ebp - 4], 1
je 0x46f518
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x4704b3
lea eax, [ebp - 0x190]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x48], xmm0
cmp dword [eax], 0
je 0x46f5ae
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1c], 0x290028
push str.GenericLoadLibrary_Hook
push eax
mov dword [ebp - 0x18], 0x2d0020
mov dword [ebp - 0x14], 0x20
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0045dbd0
add esp, 0x1c
lea ecx, [ebp - 0x1c]
push str.GenericLoadLibrary_Hook_called_with:
push ecx
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00460530
add esp, 0xc
push eax
push 0
call fcn.00477f60
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x48], xmm0
cmp dword [eax], 0
je 0x46f63f
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1c], 0x290028
push str.GenericLoadLibrary_Hook
push eax
mov dword [ebp - 0x18], 0x2d0020
mov dword [ebp - 0x14], 0x20
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0045dbd0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00460530
push edi
push str.Filename:__s
push eax
push 0
call fcn.00477f60
add esp, 0x38
lea eax, [ebp - 0x190]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x48], xmm0
cmp dword [eax], 0
je 0x46f6db
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1c], 0x290028
push str.GenericLoadLibrary_Hook
push eax
mov dword [ebp - 0x18], 0x2d0020
mov dword [ebp - 0x14], 0x20
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0045dbd0
add esp, 0x1c
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x130]
push str.hFile:__x
push ecx
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00460530
add esp, 0xc
push eax
push 0
call fcn.00477f60
add esp, 0x10
lea eax, [ebp - 0x190]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x48], xmm0
cmp dword [eax], 0
je 0x46f777
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1c], 0x290028
push str.GenericLoadLibrary_Hook
push eax
mov dword [ebp - 0x18], 0x2d0020
mov dword [ebp - 0x14], 0x20
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0045dbd0
add esp, 0x1c
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x124]
push str.Flags:_0x_x
push ecx
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00460530
add esp, 0xc
push eax
push 0
call fcn.00477f60
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x170], xmm0
cmp dword [eax], 0
je 0x46f9cb
mov eax, dword [ebp - 0x194]
sub esp, 0x10
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, esp
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
push 0xc
push str.FuncName:_
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x80]
push eax
call fcn.0048ae50
cmp dword [ebp - 0x6c], 0x10
lea edi, [ebp - 0x80]
mov eax, 5
mov byte [ebp - 4], 2
cmovae edi, dword [ebp - 0x80]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x1cc]
push 0x4dd874
push eax
call fcn.00466490
mov esi, eax
lea eax, [ebp - 0x54]
push str._DLLPROTECT__::
push eax
call fcn.00465f60
push esi
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.0045daa0
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.00466d10
mov edx, eax
add esp, 0x40
mov al, byte [edx + 5]
mov byte [ebp - 0x163], al
mov al, byte [edx + 6]
movzx ecx, byte [edx]
mov byte [ebp - 0x162], al
mov al, byte [edx + 7]
mov byte [ebp - 0x161], al
mov al, byte [edx + 8]
mov byte [ebp - 0x160], al
mov al, byte [edx + 9]
mov byte [ebp - 0x15f], al
mov al, byte [edx + 0xa]
mov byte [ebp - 0x15e], al
mov al, byte [edx + 0xb]
mov byte [ebp - 0x15d], al
mov al, byte [edx + 0xc]
mov byte [ebp - 0x15c], al
mov al, byte [edx + 0xd]
mov byte [ebp - 0x15b], al
mov al, byte [edx + 0xe]
mov byte [ebp - 0x168], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 0x15a], al
mov al, byte [edx + 0xf]
mov byte [ebp - 0x167], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 0x159], al
mov al, byte [edx + 0x10]
mov byte [ebp - 0x166], cl
movzx ecx, byte [edx + 3]
mov byte [ebp - 0x158], al
mov al, byte [edx + 0x11]
mov byte [ebp - 0x165], cl
movzx ecx, byte [edx + 4]
mov byte [ebp - 0x157], al
mov al, byte [edx + 0x12]
mov byte [ebp - 0x164], cl
mov byte [ebp - 0x156], al
mov al, byte [edx + 0x13]
mov byte [ebp - 0x155], al
mov al, byte [edx + 0x14]
mov byte [ebp - 0x154], al
mov al, byte [edx + 0x15]
mov byte [ebp - 0x153], al
mov al, byte [edx + 0x16]
mov byte [ebp - 0x152], al
mov al, byte [edx + 0x17]
mov byte [ebp - 0x151], al
mov al, byte [edx + 0x18]
mov byte [ebp - 0x150], al
mov al, byte [edx + 0x19]
mov byte [ebp - 0x14f], al
mov al, byte [edx + 0x1a]
mov byte [ebp - 0x14e], al
mov al, byte [edx + 0x1b]
mov byte [ebp - 0x14d], al
mov al, byte [edx + 0x1c]
mov byte [ebp - 0x14c], al
mov al, byte [edx + 0x1d]
mov byte [ebp - 0x14b], al
mov al, byte [edx + 0x1e]
mov byte [ebp - 0x14a], al
mov al, byte [edx + 0x1f]
mov byte [ebp - 0x149], al
mov al, byte [edx + 0x20]
mov byte [ebp - 0x148], al
mov al, byte [edx + 0x21]
mov byte [ebp - 0x147], al
mov al, byte [edx + 0x22]
mov byte [ebp - 0x146], al
mov al, byte [edx + 0x23]
mov byte [ebp - 0x145], al
mov al, byte [edx + 0x24]
mov byte [ebp - 0x144], al
mov al, byte [edx + 0x25]
mov byte [ebp - 0x143], al
mov al, byte [edx + 0x26]
push edi
mov byte [ebp - 0x142], al
lea eax, [ebp - 0x168]
push 0
push eax
push 0
mov dword [ebp - 0x141], 0x2d202928
mov word [ebp - 0x13d], 0x20
call fcn.00477d00
add esp, 0x10
mov eax, dword [ebp - 0x120]
mov dword [ebp - 4], 1
test al, 1
je 0x46f9ed
and eax, 0xfffffffe
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x120], eax
call fcn.00403e90
lea eax, [ebp - 0x1fc]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x170], xmm0
cmp dword [eax], 0
je 0x46fa92
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1c], 0x290028
push str.GenericLoadLibrary_Hook
push eax
mov dword [ebp - 0x18], 0x2d0020
mov dword [ebp - 0x14], 0x20
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0045dbd0
mov esi, dword [ebp - 0x128]
lea ecx, [ebp - 0x1c]
add esp, 0x1c
push esi
push str.CallerAddr:_0x_x
push ecx
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00460530
add esp, 0xc
push eax
push 0
call fcn.00477f60
add esp, 0x10
jmp 0x46fa98
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x1fc]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x170], xmm0
cmp dword [eax], 0
je 0x46fc8c
push 7
xor eax, eax
mov dword [ebp - 0x80], 0
push 0x4dd988
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.00403940
push 7
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x4dd988
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00403940
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x80]
push eax
push esi
call fcn.00476b40
lea eax, [ebp - 0x1fc]
push eax
call fcn.004715e0
add esp, 0x10
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x170], xmm0
cmp dword [eax], 0
je 0x46fbd6
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x168]
push str.GenericLoadLibrary_Hook
lea edi, [ebp - 0x58]
mov dword [ebp - 0x1c], 0x290028
cmovae edi, dword [ebp - 0x58]
push eax
mov dword [ebp - 0x18], 0x2d0020
mov dword [ebp - 0x14], 0x20
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0045dbd0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00460530
push edi
push str.CallerOffset:__s
push eax
push 0
call fcn.00477f60
add esp, 0x38
lea eax, [ebp - 0x1fc]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x170], xmm0
cmp dword [eax], 0
je 0x46fc78
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x168]
push str.GenericLoadLibrary_Hook
lea edi, [ebp - 0x80]
mov dword [ebp - 0x1c], 0x290028
cmovae edi, dword [ebp - 0x80]
push eax
mov dword [ebp - 0x18], 0x2d0020
mov dword [ebp - 0x14], 0x20
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0045dbd0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00460530
push edi
push str.CallerName:__s
push eax
push 0
call fcn.00477f60
add esp, 0x38
lea ecx, [ebp - 0x58]
call fcn.00402710
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00402710
mov esi, dword [ebp - 0x138]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46fcb8
push dword [ebp - 0x124]
mov eax, dword [0x50a638]
push dword [ebp - 0x130]
push esi
call eax
mov esi, eax
jmp 0x4704b3
mov ecx, esi
mov dword [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46fce4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x98]
call fcn.00403940
mov byte [ebp - 4], 5
call fcn.0047a430
cmp dword [ebp - 0x84], 8
mov edi, eax
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
mov edx, 0x811c9dc5
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x134], edi
lea eax, [ecx + ecx]
xor ecx, ecx
test eax, eax
je 0x46fd5e
mov esi, dword [ebp - 0x20]
mov edi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46fd41
mov esi, dword [ebp - 0x138]
mov edi, dword [ebp - 0x134]
push edx
lea eax, [ebp - 0x98]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004626e0
mov eax, dword [eax + 4]
test eax, eax
je 0x46fe06
cmp eax, dword [edi + 4]
je 0x46fe06
push dword [ebp - 0x128]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0
push 0x4eb7ca
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00403c60
push 8
sub esp, 0x20
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
call fcn.004695c0
push dword [ebp + 0x14]
mov edi, dword [ebp - 0x124]
push edi
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push esi
call fcn.0040a560
push esi
mov byte [ebp - 4], 5
call fcn.00474980
mov eax, dword [0x50a638]
add esp, 0x64
push edi
push dword [ebp - 0x130]
push esi
call eax
mov esi, eax
jmp 0x4704a8
lea eax, [ebp - 0x98]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00463d40
lea eax, [ebp - 0x98]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 1
cmp byte [0x50a793], 0
mov byte [ebp - 4], 8
je 0x46fed0
sub esp, 0x18
lea eax, [ebp - 0x10c]
mov ecx, esp
push 0
push eax
call fcn.00427440
call fcn.0047b910
add esp, 0x18
test al, al
je 0x46fed0
push dword [ebp - 0x128]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0
push 0x4eb7ca
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00403c60
push 0xa
sub esp, 0x20
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x20], esp
call fcn.00469680
push dword [ebp + 0x14]
mov byte [ebp - 4], 0xa
push dword [ebp - 0x124]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040a560
push esi
mov byte [ebp - 4], 8
call fcn.00474980
add esp, 0x64
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x47049a
cmp byte [0x50a79a], 0
mov dword [ebp - 0x138], 0
jne 0x46ff2d
push 0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00427440
or dword [ebp - 0x120], 2
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047c450
add esp, 8
test al, al
je 0x46ff2d
cmp dword [ebp - 0x138], 0
je 0x46ff24
cmp byte [0x50a79b], 0
jne 0x46ff2d
mov byte [ebp - 0x111], 1
jmp 0x46ff34
mov byte [ebp - 0x111], 0
test byte [ebp - 0x120], 2
je 0x46ff45
lea ecx, [ebp - 0x58]
call fcn.00402710
cmp byte [ebp - 0x111], 0
je 0x46ff69
push dword [ebp - 0x124]
mov eax, dword [0x50a638]
push dword [ebp - 0x130]
push esi
call eax
mov esi, eax
jmp 0x47049a
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], al
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x124]
push esi
call fcn.00472c60
mov ecx, eax
mov byte [ebp - 0x14], 1
lea eax, [ebp - 0x110]
mov dword [ebp - 0x120], ecx
add esp, 0x14
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xd
cmp ecx, 0xa
jne 0x47005e
push dword [ebp - 0x128]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0
push 0x4eb7ca
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00403c60
push 0xa
sub esp, 0x20
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x20], esp
call fcn.00469680
push dword [ebp + 0x14]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xf
push dword [ebp - 0x124]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403010
push esi
mov byte [ebp - 4], 0xd
call fcn.00474980
add esp, 0x64
push 0xa
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x470475
test ecx, ecx
je 0x470179
test byte [0x50a794], 0x10
je 0x4700a9
push dword [ebp - 0x128]
lea eax, [ebp - 0xb0]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x118], esp
push eax
call fcn.004031f0
push dword [ebp - 0x120]
mov byte [ebp - 4], 0x10
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x20], esp
call fcn.00469680
mov byte [ebp - 4], 0x11
jmp 0x47011e
test byte [0x50a794], 0x20
je 0x470179
cmp byte [0x50a798], 0
je 0x470148
push dword [ebp - 0x128]
lea eax, [ebp - 0xb0]
sub esp, 0x18
cmp ecx, 5
mov dword [ebp - 0x118], esp
mov ecx, esp
push eax
jne 0x4700fe
call fcn.004031f0
push 0xa
sub esp, 0x20
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x20], esp
call fcn.00469680
mov byte [ebp - 4], 0x13
jmp 0x47011e
call fcn.004031f0
push dword [ebp - 0x120]
mov byte [ebp - 4], 0x14
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x20], esp
call fcn.00469680
mov byte [ebp - 4], 0x15
push dword [ebp + 0x14]
lea eax, [ebp - 0x40]
push dword [ebp - 0x124]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403010
push esi
mov byte [ebp - 4], 0xd
call fcn.00474980
mov ecx, dword [ebp - 0x120]
add esp, 0x64
test byte [0x50a794], 0x20
je 0x470179
cmp ecx, 5
je 0x47015b
cmp ecx, 2
jne 0x470179
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 0x470475
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040a560
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
mov esi, 0x811c9dc5
cmovae edx, dword [ebp - 0x58]
xor ecx, ecx
mov byte [ebp - 4], 0x16
add eax, eax
je 0x4701c7
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x4701b0
mov edi, dword [ebp - 0x134]
push esi
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004626e0
cmp dword [ebp - 0x20], 0
jne 0x4702cb
cmp dword [edi + 8], 0x7ffffff
je 0x4704ee
lea eax, [edi + 4]
mov dword [ebp - 0x11c], eax
push 0x20
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x118], 0
call fcn.004a6295
movups xmm0, xmmword [ebp - 0x58]
mov dword [ebp - 0x118], eax
add esp, 4
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmmword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [eax + 0x18], xmm0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], 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 + 0x4f2c60]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4f2c60]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x4702b9
mov ecx, edi
call fcn.00477190
mov eax, dword [ebp - 0x118]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004626e0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
jmp 0x4702bc
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x118]
push ecx
push esi
mov ecx, edi
call fcn.00476f40
lea ecx, [ebp - 0x58]
call fcn.00402710
lea eax, [ebp - 0x40]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 1
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 0x19
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x170], xmm0
cmp dword [eax], 0
je 0x470389
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x4dcf10
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00465e10
mov edi, eax
lea eax, [ebp - 0x168]
push str.GenericLoadLibrary_Hook
push eax
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0045dbd0
push edi
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00460530
push dword [ebp - 0x118]
push str.calling_TrueLoadLibraryExW_with__s
push eax
push 0
call fcn.00477f60
add esp, 0x40
push dword [ebp - 0x124]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x130]
cmovae eax, dword [ebp - 0x40]
mov ecx, dword [0x50a638]
push eax
call ecx
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.004715e0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x170], xmm0
cmp dword [eax], 0
je 0x470461
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x4dcf10
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00465e10
mov edi, eax
lea eax, [ebp - 0x168]
push str.GenericLoadLibrary_Hook
push eax
call fcn.00466550
mov esi, eax
lea eax, [ebp - 0x1d4]
push 0x4dcf40
push eax
call fcn.00465ff0
push esi
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0045dbd0
push edi
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00460530
mov esi, dword [ebp - 0x10c]
push esi
push dword [ebp - 0x118]
push str.calling_TrueLoadLibraryExW_with__s___dll_p
push eax
push 0
call fcn.00477f60
add esp, 0x44
jmp 0x470467
mov esi, dword [ebp - 0x10c]
lea ecx, [ebp - 0x28]
call fcn.0046ace0
mov edi, dword [ebp - 0x134]
mov eax, dword [ebp - 0x110]
cmp eax, 0xffffffff
je 0x470487
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xb0]
call fcn.00403e90
lea ecx, [ebp - 0x40]
call fcn.00402710
lea eax, [ebp - 0x98]
mov ecx, edi
push eax
call fcn.00479560
lea ecx, [ebp - 0x98]
call fcn.00402710
lea ecx, [ebp - 0x1b0]
call fcn.0046b520
lea ecx, [ebp - 0x198]
call fcn.0046b700
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.004a6256
mov esp, ebp
pop ebp
ret 0x14
push eax
call fcn.00491256
push str.unordered_map_set_too_long
call fcn.0048faf8
int3