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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x568008]
xor eax, esp
mov dword [esp + 0x94], eax
movaps xmm0, xmmword [0x559890]
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
push esi
movaps xmm0, xmmword [str.__8__n_t_te]
push edi
movups xmmword [esp + 0x30], xmm0
mov word [esp + 0x40], 4
nop dword [eax]
mov al, byte [esp + 0x20]
xor byte [esp + ecx + 0x21], al
inc ecx
cmp ecx, 0x20
jb 0x539440
xorps xmm0, xmm0
mov byte [esp + 0x41], 0
lea ecx, [esp + 0x21]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
lea edx, [ecx + 1]
mov dword [esp + 0x64], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x539472
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.004a2240
mov ch, 0x4f
mov byte [esp + 0x19], 0
mov cl, 0x79
mov byte [esp + 0x14], ch
mov dl, 0x3f
mov byte [esp + 0x19], 0
xor cl, ch
mov dword [esp + 0x30], 0
xor dl, ch
mov byte [esp + 0x16], cl
mov al, 0x2e
mov byte [esp + 0x17], dl
xor al, ch
mov dword [esp + 0x34], 0
mov ah, 0x3a
mov byte [esp + 0x15], al
xor ah, ch
xorps xmm0, xmm0
lea ecx, [esp + 0x15]
mov byte [esp + 0x18], ah
movaps xmmword [esp + 0x20], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5394e0
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004a2240
mov dh, 0x3b
mov byte [esp + 0x1a], 0
mov cl, 0x63
mov byte [esp + 0x14], dh
mov dl, 0x4a
mov byte [esp + 0x1a], 0
xor cl, dh
mov al, 0x6f
mov ah, 0x55
mov byte [esp + 0x16], cl
mov ch, 0x6e
xor al, dh
xor dl, dh
mov byte [esp + 0x15], al
xor ah, dh
mov byte [esp + 0x17], dl
xor ch, dh
mov byte [esp + 0x18], ah
mov byte [esp + 0x19], ch
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x539537
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004a1de0
mov byte [esp + 0x14], 0x7e
mov al, 0x48
xor al, byte [esp + 0x14]
mov cl, 0xc
mov ch, 0x17
mov byte [esp + 0x15], al
mov al, byte [esp + 0x14]
mov dl, 0x46
xor cl, al
mov byte [esp + 0x1b], 0
xor ch, al
mov byte [esp + 0x16], cl
mov ah, 0x27
mov byte [esp + 0x19], ch
mov dh, 0x4d
mov byte [esp + 0x1b], 0
xor dl, al
lea ecx, [esp + 0x15]
xor ah, al
mov byte [esp + 0x17], dl
xor dh, al
mov byte [esp + 0x18], ah
mov byte [esp + 0x1a], dh
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5395a0
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004a1de0
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
jb 0x5395f0
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5395e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53976d
push ecx
push edx
call fcn.004a60c5
add esp, 8
nop
mov esi, dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
call esi
mov edi, 6
mul edi
cmp eax, edi
jae 0x539611
cmp eax, 4
jae 0x539611
call esi
mul edi
cmp eax, 4
jb 0x539608
lea ecx, [edx - 0x7ffffff6]
mov dword [esp + 0x1c], 0
cmp ecx, 0x80000000
lea eax, [ecx - 0x80000000]
lea edi, [ecx - 0x80000000]
cmovae edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jle 0x53969e
nop dword [eax]
call esi
mov ecx, 6
mul ecx
cmp eax, ecx
jae 0x539661
cmp eax, 4
jae 0x539661
mov edi, ecx
call esi
mul edi
cmp eax, 4
jb 0x539654
mov edi, dword [esp + 0x14]
lea ecx, [edx - 0x7ffffff6]
cmp ecx, 0x80000000
lea eax, [ecx - 0x80000000]
lea edx, [ecx - 0x80000000]
mov ecx, dword [esp + 0x1c]
cmovae edx, eax
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
mov al, byte [edx + eax]
mov byte [esp + ecx + 0x74], al
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, edi
jl 0x539640
cmp edi, 0x28
jae 0x539795
push 0x2000
mov byte [esp + edi + 0x78], 0
call fcn.004a634c
mov dword [esp + 0x20], eax
add esp, 4
mov eax, dword [0x568a4c]
xor edi, edi
mov ecx, dword [eax + 0x3c]
mov ecx, dword [ecx + eax + 0x78]
add ecx, eax
mov dword [esp + 0x14], ecx
mov esi, dword [ecx + 0x20]
add esi, eax
mov ecx, dword [esi]
mov edx, 0xb777415b
add ecx, eax
mov al, byte [ecx]
inc ecx
test al, al
je 0x539703
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x5396e6
cmp edx, 0x4d181ce0
je 0x53970e
mov eax, dword [0x568a4c]
inc edi
add esi, 4
jmp 0x5396d6
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x74]
mov edx, dword [0x568a4c]
push 0x1000
push dword [esp + 0x20]
push 0xffffffffffffffff
push eax
mov eax, dword [esi + 0x24]
push 0
push 0
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov eax, dword [esp + 0x64]
cmp eax, 0x10
jb 0x53977d
mov edx, dword [esp + 0x50]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x539773
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x539773
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004a60c5
add esp, 8
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.004a6087
mov esp, ebp
pop ebp
ret
call fcn.004a6477
int3