Function at 0x1005b080
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119255
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10135364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x6874616d
mov dword [ebp - 0x18], 0x63616d65
lea edx, [ecx + 1]
mov word [ebp - 0x14], 0x79
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005b0c4
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
mov ecx, 0x10142ee0
call fcn.1004fe90
mov ecx, 0x101fd928
call fcn.100e3e70
movaps xmm0, xmmword [0x10128ed0]
test al, al
mov eax, 0x10
jne 0x1005b152
xorps xmm0, xmmword [0x10129160]
mov dword [ebp - 0x50], 0x455a494c
mov dword [ebp - 0x4c], 0x2a0e0e0e
mov byte [ebp - 0x48], 0x20
movups xmmword [ebp - 0x60], xmm0
xor byte [ebp + eax - 0x60], 0x20
inc eax
cmp eax, 0x19
jb 0x1005b113
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebp - 0x60]
mov edx, eax
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005b130
push 0
lea eax, [ebp - 0x18]
sub ecx, esi
push eax
push ecx
lea eax, [ebp - 0x60]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
xor eax, eax
jmp 0x1005b34f
xorps xmm0, xmmword [0x101298e0]
mov dword [ebp - 0x34], 0x5441527f
mov dword [ebp - 0x30], 0x4d7f4f49
mov dword [ebp - 0x2c], 0x4553554f
mov word [ebp - 0x28], 0x1000
mov byte [ebp - 0x26], 0x20
movups xmmword [ebp - 0x44], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x44], 0x20
inc eax
cmp eax, 0x1f
jb 0x1005b180
mov ecx, dword [0x101fd9e8]
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1b0]
call eax
mov ecx, dword [0x101fd9e8]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], 0x61656c63
mov word [ebp - 0x14], 0x72
mov eax, dword [ecx]
mov eax, dword [eax + 0x1b0]
call eax
movaps xmm0, xmmword [0x10128ed0]
mov eax, 0x10
xorps xmm0, xmmword [0x10129410]
mov word [ebp - 0x28], 0x2a44
mov byte [ebp - 0x26], 0x20
movups xmmword [ebp - 0x38], xmm0
xor byte [ebp + eax - 0x38], 0x20
inc eax
cmp eax, 0x13
jb 0x1005b1e1
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebp - 0x38]
mov edx, eax
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005b200
push 0
lea eax, [ebp - 0x18]
sub ecx, esi
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov esi, dword [0x10142738]
xor eax, eax
mov dword [ebp - 0x34], 0x434c4557
mov dword [ebp - 0x30], 0x454d4f
mov dword [ebp - 0x2c], 0x5004f54
mov word [ebp - 0x28], 0x2a53
mov byte [ebp - 0x26], 0x20
xor byte [ebp + eax - 0x34], 0x20
inc eax
cmp eax, 0xf
jb 0x1005b242
push 0x10142ee0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x60]
call fcn.10060ec0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x41000000
push ecx
mov edx, eax
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x68]
call fcn.10054640
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, dword [0x101fdbbc]
cmp ecx, dword [0x101fdbc0]
je 0x1005b2c7
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x101fdbbc], 8
jmp 0x1005b2ce
push edx
push ecx
call fcn.10054b10
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x1005b2fa
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1005b2fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1005b2fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x18]
call fcn.100543d0
push 0x10142740
call fcn.1005f9a0
mov ecx, dword [ebp - 0x4c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x1005b34a
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005b340
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10116adb
add esp, 8
mov eax, 1
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.10116660
mov esp, ebp
pop ebp
ret