Function at 0x10057970
Capabilities:
Accept command line arguments
Authenticate hmac
Contain obfuscated stackstrings
Create thread
Encode data using xor
Enumerate files on windows
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089224
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x100b4540]
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 + 8]
push eax
mov dword [ebp - 0x210], eax
mov dword [0x10185728], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [ebp + 0xc], 1
je 0x100579bf
xor eax, eax
jmp 0x100582df
push 0x40
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
call fcn.1005e172
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
sub esp, 0x18
mov esi, eax
mov edx, esp
mov ecx, esi
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea edi, [ecx + 1]
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057a20
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.10004870
lea eax, [ebp - 0x204]
push eax
call fcn.100052d0
mov edi, eax
add esp, 0x1c
lea eax, [ebp - 0x1fc]
cmp eax, edi
je 0x10057a92
mov esi, dword [ebp - 0x1fc]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.10004a20
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x1f8], 0
mov eax, dword [edi]
mov dword [ebp - 0x1fc], eax
mov eax, dword [edi + 4]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1f8], eax
mov dword [edi + 4], ecx
mov eax, dword [ebp - 0x204]
push dword [eax + 4]
lea eax, [ebp - 0x204]
push eax
mov ecx, eax
call fcn.10004a20
push 0x40
push dword [ebp - 0x204]
call fcn.1005e1a2
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 4
movups xmmword [ebp - 0xb4], xmm0
add esp, 8
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xb4], 0x74736f48
mov byte [ebp - 0xb0], 0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.10004a70
mov eax, dword [eax]
add eax, 0x28
cmp dword [eax + 0x14], 0x10
jb 0x10057b12
mov eax, dword [eax]
mov ecx, str.51.77.74.142
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057b37
test dl, dl
je 0x10057b33
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057b37
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057b17
xor esi, esi
jmp 0x10057b3c
sbb esi, esi
or esi, 1
mov ecx, dword [ebp - 0xa0]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x10057b7a
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10057b70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058317
push ecx
push edx
call fcn.1005e1a2
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
test esi, esi
jne 0x100582b3
call fcn.1003e360
cmp eax, 1
je 0x1005831c
cmp eax, 2
je 0x10058337
call fcn.100401d0
call fcn.1003f6b0
mov dword [ebp - 0x58], 0x71
mov eax, dword [ebp - 0x58]
xor al, 0x53
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x58]
inc al
xor al, 0x41
mov byte [ebp - 0x53], al
mov eax, dword [ebp - 0x58]
add al, 2
xor al, 0x4d
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x58]
add al, 3
xor al, 0x50
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 0x58]
add al, 4
xor al, 0x5c
mov byte [ebp - 0x50], al
mov eax, dword [ebp - 0x58]
add al, 5
xor al, 0x63
mov byte [ebp - 0x4f], al
mov eax, dword [ebp - 0x58]
add al, 6
xor al, 0x75
mov byte [ebp - 0x4e], al
mov eax, dword [ebp - 0x58]
add al, 7
xor al, 0x73
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x58]
add al, 8
xor al, 0x74
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x58]
add al, 9
xor al, 0x6f
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x58]
add al, 0xa
xor al, 0x6d
mov byte [ebp - 0x4a], al
mov eax, dword [ebp - 0x58]
add al, 0xb
xor al, 0x2e
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0x58]
add al, 0xc
xor al, 0x69
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x58]
add al, 0xd
xor al, 0x6d
mov byte [ebp - 0x47], al
mov eax, dword [ebp - 0x58]
add al, 0xe
mov byte [ebp - 0x45], 0
xor al, 0x67
xor edx, edx
mov byte [ebp - 0x46], al
mov al, byte [ebp - 0x54]
mov al, byte [ebp + edx - 0x54]
mov ecx, dword [ebp - 0x58]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x54], cl
inc edx
cmp edx, 0xf
jb 0x10057c62
lea eax, [ebp - 0x54]
mov byte [ebp - 0x45], 0
push eax
call fcn.10047700
add esp, 4
test al, al
je 0x100582fc
mov dword [ebp - 0x2c], 0x43
mov eax, dword [ebp - 0x2c]
xor al, 0x73
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x2c]
inc al
xor al, 0x65
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x2c]
add al, 2
xor al, 0x63
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x2c]
add al, 3
xor al, 0x61
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x2c]
add al, 4
xor al, 0x63
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x2c]
add al, 5
xor al, 0x5c
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x2c]
add al, 6
xor al, 0x64
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x2c]
add al, 7
xor al, 0x61
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x2c]
add al, 8
xor al, 0x74
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x2c]
add al, 9
xor al, 0x61
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x2c]
add al, 0xa
xor al, 0x5c
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x2c]
add al, 0xb
xor al, 0x73
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x2c]
add al, 0xc
xor al, 0x65
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x2c]
add al, 0xd
xor al, 0x63
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x2c]
add al, 0xe
xor al, 0x5f
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x2c]
add al, 0xf
xor al, 0x6c
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x2c]
add al, 0x10
xor al, 0x6f
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x2c]
add al, 0x11
xor al, 0x61
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x2c]
add al, 0x12
xor al, 0x64
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x2c]
add al, 0x13
xor al, 0x2e
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x2c]
add al, 0x14
xor al, 0x74
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x2c]
add al, 0x15
xor al, 0x78
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x2c]
add al, 0x16
mov byte [ebp - 0x11], 0
xor al, 0x64
xor edx, edx
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0x28]
mov al, byte [ebp + edx - 0x28]
mov ecx, dword [ebp - 0x2c]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x28], cl
inc edx
cmp edx, 0x17
jb 0x10057d83
lea eax, [ebp - 0x28]
mov byte [ebp - 0x11], 0
push eax
call fcn.10047700
add esp, 4
test al, al
je 0x100582fc
mov dword [ebp - 0x9c], 0x42
xor edx, edx
mov byte [ebp - 0x98], 0x31
mov byte [ebp - 0x97], 0x27
mov byte [ebp - 0x96], 0x21
mov byte [ebp - 0x95], 0x23
mov byte [ebp - 0x94], 0x21
mov byte [ebp - 0x93], 0x1d
mov byte [ebp - 0x92], 0x2c
mov byte [ebp - 0x91], 0x2d
mov byte [ebp - 0x90], 0x24
mov byte [ebp - 0x8f], 0x2b
mov byte [ebp - 0x8e], 0x3a
mov byte [ebp - 0x8d], 0x6c
mov byte [ebp - 0x8c], 0x36
mov byte [ebp - 0x8b], 0x3a
mov byte [ebp - 0x8a], 0x36
mov al, byte [ebp - 0x98]
mov byte [ebp - 0x89], 0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + edx - 0x98]
mov ecx, dword [ebp - 0x9c]
xor cl, al
mov byte [ebp + edx - 0x98], cl
inc edx
cmp edx, 0xf
jb 0x10057e40
lea eax, [ebp - 0x98]
mov byte [ebp - 0x89], 0
push eax
call fcn.10047700
add esp, 4
test al, al
jne 0x10057f22
mov dword [ebp - 0x88], 0x13
xor edx, edx
mov byte [ebp - 0x84], 0x60
mov byte [ebp - 0x83], 0x72
mov byte [ebp - 0x82], 0x7e
mov byte [ebp - 0x81], 0x63
mov byte [ebp - 0x80], 0x3d
mov byte [ebp - 0x7f], 0x72
mov byte [ebp - 0x7e], 0x60
mov byte [ebp - 0x7d], 0x7a
mov byte [ebp - 0x7c], al
mov al, byte [ebp - 0x84]
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x84]
mov ecx, dword [ebp - 0x88]
xor cl, al
mov byte [ebp + edx - 0x84], cl
inc edx
cmp edx, 8
jb 0x10057ec0
lea eax, [ebp - 0x84]
mov byte [ebp - 0x7c], 0
push eax
call fcn.10047700
add esp, 4
test al, al
jne 0x10057f22
push 0
push 0
push 0
push 0x1004d390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10057f19
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x64], 0x74
xor ecx, ecx
mov byte [ebp - 0x63], 0x62
mov byte [ebp - 0x62], 0x6e
mov byte [ebp - 0x61], 0x71
mov byte [ebp - 0x60], 0x2f
mov byte [ebp - 0x5f], 0x65
mov byte [ebp - 0x5e], 0x6d
mov byte [ebp - 0x5d], 0x6d
mov byte [ebp - 0x5c], 0
mov al, byte [ebp - 0x64]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x64]
dec al
mov byte [ebp + ecx - 0x64], al
inc ecx
cmp ecx, 8
jb 0x10057f50
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100582b3
call fcn.10037210
push str.cleo
call fcn.1005b520
add esp, 4
xor esi, esi
test eax, eax
je 0x10057fbd
lea eax, [ebp - 0x1f4]
push eax
push str.cleo.cs
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10057fbd
lea eax, [ebp - 0x1f4]
inc esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10057fa3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.10040920
add eax, esi
xor ecx, ecx
mov dword [0x10185730], eax
mov byte [ebp - 0x78], 0x76
mov byte [ebp - 0x77], 0x68
mov byte [ebp - 0x76], 0x66
mov byte [ebp - 0x75], 0x64
mov byte [ebp - 0x74], 0x66
mov byte [ebp - 0x73], 0x62
mov byte [ebp - 0x72], 0x71
mov byte [ebp - 0x71], 0x72
mov byte [ebp - 0x70], 0x6b
mov byte [ebp - 0x6f], 0x72
mov byte [ebp - 0x6e], 0x72
mov byte [ebp - 0x6d], 0x6e
mov byte [ebp - 0x6c], 0x31
mov byte [ebp - 0x6b], 0x76
mov byte [ebp - 0x6a], 0x68
mov byte [ebp - 0x69], 0x77
mov byte [ebp - 0x68], 0
mov al, byte [ebp - 0x78]
mov al, byte [ebp + ecx - 0x78]
sub al, 3
mov byte [ebp + ecx - 0x78], al
inc ecx
cmp ecx, 0x10
jb 0x10058012
lea eax, [ebp - 0x78]
push eax
call fcn.10047700
add esp, 4
test al, al
jne 0x1005810d
mov dword [ebp - 0x44], 0x40
mov eax, dword [ebp - 0x44]
xor al, 0x73
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x44]
inc al
xor al, 0x65
mov byte [ebp - 0x3f], al
mov eax, dword [ebp - 0x44]
add al, 2
xor al, 0x63
mov byte [ebp - 0x3e], al
mov eax, dword [ebp - 0x44]
add al, 3
xor al, 0x61
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x44]
add al, 4
xor al, 0x63
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0x44]
add al, 5
xor al, 0x5f
mov byte [ebp - 0x3b], al
mov eax, dword [ebp - 0x44]
add al, 6
xor al, 0x6e
mov byte [ebp - 0x3a], al
mov eax, dword [ebp - 0x44]
add al, 7
xor al, 0x6f
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x44]
add al, 8
xor al, 0x68
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x44]
add al, 9
xor al, 0x6f
mov byte [ebp - 0x37], al
mov eax, dword [ebp - 0x44]
add al, 0xa
xor al, 0x6f
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0x44]
add al, 0xb
xor al, 0x6b
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x44]
add al, 0xc
xor al, 0x2e
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x44]
add al, 0xd
xor al, 0x74
mov byte [ebp - 0x33], al
mov eax, dword [ebp - 0x44]
add al, 0xe
xor al, 0x78
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x44]
add al, 0xf
mov byte [ebp - 0x30], 0
xor al, 0x74
xor edx, edx
mov byte [ebp - 0x31], al
mov al, byte [ebp - 0x40]
mov al, byte [ebp + edx - 0x40]
mov ecx, dword [ebp - 0x44]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x40], cl
inc edx
cmp edx, 0x10
jb 0x100580e4
lea eax, [ebp - 0x40]
mov byte [ebp - 0x30], 0
push eax
call fcn.10047700
add esp, 4
test al, al
je 0x10058114
mov byte [0x100b3eb0], 0
mov eax, 0x1004d2c0
add eax, 0x147
push 0x147
push eax
call fcn.1000cf30
add esp, 8
cmp byte [0x100b3eb0], 0
je 0x10058220
push 0x49
call fcn.1005e172
mov esi, eax
add esp, 4
mov dword [ebp - 0x208], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x10058215
push 0x25
call fcn.1005e172
add esp, 4
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1005817d
push 0x80
mov ecx, eax
call fcn.10006d20
jmp 0x1005817f
xor eax, eax
push 0xe49
mov byte [ebp - 4], 2
mov dword [esi + 0x38], eax
call fcn.1005e172
add esp, 4
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x100581b3
push 4
push 0x10
push str.Arial
mov ecx, eax
call fcn.10006c50
jmp 0x100581b5
xor eax, eax
push 0x11
mov ecx, esi
mov dword [esi + 0x3c], eax
mov byte [esi + 0x40], 0
lea edi, [esi + 0x41]
call fcn.10040880
mov ecx, dword [ebp - 0x208]
add esi, 0x45
push 0x10
mov dword [edi], eax
call fcn.10040880
mov dword [esi], eax
call fcn.10002dd0
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x10040d40
push edi
call fcn.10001c30
push 0x10040de0
push esi
call fcn.10001c30
call fcn.100021f0
mov eax, dword [ebp - 0x208]
jmp 0x10058217
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x10185618], eax
mov byte [0x1018572e], 0x29
xor esi, esi
nop dword [eax]
push 0x5a
push 0x30
call fcn.1005ba70
mov byte [esi + 0x10185738], al
add esp, 8
movzx eax, byte [0x1018572e]
inc esi
cmp esi, eax
jl 0x10058230
push 0
push 0
push 0
push 0x1004e200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 5
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.init__]
mov dword [ecx], eax
mov ax, word [0x10090d80]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
mov ecx, 0x100b8248
call fcn.10008600
push 0x10057510
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, dword [ebp - 0x210]
mov dword [0x1018576c], eax
mov eax, dword [ebp - 0x1fc]
push dword [eax + 4]
lea eax, [ebp - 0x1fc]
push eax
mov ecx, eax
call fcn.10004a20
push 0x40
push dword [ebp - 0x1fc]
call fcn.1005e1a2
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.1005e15b
mov esp, ebp
pop ebp
ret 0xc
push 0x10
push str.SECNINE_ANTICHEAT
push 0x10090d00
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.1006f8c9
call fcn.100633c1
push 0x40
push str.SECNINE_ANTICHEAT
push 0x10090c30
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.1006f8c9
push 0x10
push str.SECNINE_ANTICHEAT
push 0x10090c80
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.1006f8c9
int3