joyce8/EMBER2024-capa huggingface dataset:
Function at 0x595ff0
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x7861ab
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [esp + 0x24c]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp dword [0x8c05e8], ebx
jne 0x59604d
xor al, al
jmp 0x5961b4
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
lea edx, [esp + 0x38]
push str.SexyCacheReq_d
push edx
call fcn.006456f4
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0x304
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
push 0x304
push ebx
push ebx
mov esi, eax
push 0xf001f
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.kernel32.dll_MapViewOfFile]
cmp dword [edi + 0x18], 0x10
mov ebp, eax
jb 0x5960a2
mov ecx, dword [edi + 4]
jmp 0x5960a5
lea ecx, [edi + 4]
mov edx, ebp
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x5960a7
mov ecx, dword [esp + 0x248]
cmp dword [ecx + 0x18], 0x10
jb 0x5960c3
mov ecx, dword [ecx + 4]
jmp 0x5960c6
add ecx, 4
lea edx, [ebp + 0x100]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x5960d0
mov dword [ebp + 0x300], ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ecx, dword [0x8c05e8]
mov edx, dword [0x8c05dc]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.user32.dll_SendMessageA]
cmp eax, ebx
je 0x5961a4
push eax
lea eax, [esp + 0x138]
push str.SexyCacheData_d
push eax
call fcn.006456f4
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
push ebx
push 0xf001f
call dword [sym.imp.kernel32.dll_OpenFileMappingA]
mov edi, eax
cmp edi, ebx
je 0x596198
mov edx, dword [ebp + 0x300]
push edx
push ebx
push ebx
push 0xf001f
push edi
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov esi, eax
mov eax, dword [esp + 0x14]
push 0x8c05c0
mov dword [eax], esi
mov dword [esp + 0x18], 0x8c05c0
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
lea ecx, [esp + 0x20]
mov dword [esp + 0x240], ebx
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, 0x8c05ec
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.005c45c0
push 0x8c05c0
mov bl, 1
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x300]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
push ebp
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, bl
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00643db8
add esp, 0x230
ret 8
Function at 0x5a3600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x784be3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.006327e3
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x5a3651
mov eax, dword [esi + 0x1c]
push eax
call fcn.006441c7
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x5a5810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7850b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.005a5d20
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005a57b0
lea ecx, [esp + 0xc]
call fcn.005a50a0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5a5880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7850b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005a5a30
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005a57b0
lea ecx, [esp + 0xc]
call fcn.005a50a0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5a58f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7850b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
mov edi, esi
call fcn.005a5ef0
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005a57b0
lea ecx, [esp + 0xc]
call fcn.005a50a0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5a59c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7850b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.005a5fd0
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005a57b0
lea ecx, [esp + 0xc]
call fcn.005a50a0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x5a6240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x785df3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
lea esi, [edi + 0x28]
mov dword [edi], vtable.Sexy::BetaSupport.0
call fcn.005ed0d0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, 0xf
mov dword [edi + 0x1e8], eax
mov dword [edi + 0x1e4], ebx
mov byte [edi + 0x1d4], bl
mov dword [edi + 0x204], eax
mov dword [edi + 0x200], ebx
mov byte [edi + 0x1f0], bl
mov dword [edi + 0x220], eax
mov dword [edi + 0x21c], ebx
mov byte [edi + 0x20c], bl
mov dword [edi + 0x23c], eax
mov dword [edi + 0x238], ebx
mov byte [edi + 0x228], bl
lea eax, [edi + 0x244]
push eax
mov byte [esp + 0x20], 4
call fcn.005a80b0
mov ecx, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x1c], ebx
mov byte [edi + 0x1cc], bl
mov byte [edi + 0x1cd], 1
mov dword [edi + 0x18], ebx
call dword [sym.imp.user32.dll_GetDesktopWindow]
mov esi, eax
push esi
call dword [sym.imp.user32.dll_GetDC]
mov ebp, dword [sym.imp.kernel32.dll_MulDiv]
push 0x48
push 0x60
push 8
mov dword [esp + 0x30], eax
call ebp
push str.Tahoma
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.gdi32.dll_CreateFontA]
push 0x48
push 0x60
push 8
mov dword [edi + 8], eax
call ebp
push str.Arial
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.gdi32.dll_CreateFontA]
push 0x48
push 0x60
push 0xa
mov dword [edi + 0xc], eax
call ebp
push str.Tahoma
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.gdi32.dll_CreateFontA]
mov edx, dword [esp + 0x24]
push edx
push esi
mov dword [edi + 0x10], eax
call dword [sym.imp.user32.dll_ReleaseDC]
mov byte [edi + 0x240], bl
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x5a6990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x10c], eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SoftwarePopCapBeta
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5a6a98
push esi
push 0xff
push eax
lea ecx, [esp + 0x19]
push ecx
mov byte [esp + 0x1c], al
call fcn.0064edd0
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
add esp, 0xc
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.Name
push edx
mov dword [esp + 0x1c], 0x100
call esi
test eax, eax
jne 0x5a6a3a
mov eax, dword [esp + 4]
mov byte [esp + eax + 0x10], 0
lea eax, [esp + 0x10]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5a6a20
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x208]
call fcn.004016e0
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.Password
push edx
mov dword [esp + 0x1c], 0x100
call esi
pop esi
test eax, eax
jne 0x5a6a8d
mov eax, dword [esp]
mov byte [esp + eax + 0xc], 0
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5a6a73
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0x224]
call fcn.004016e0
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00643db8
add esp, 0x110
ret

Function at 0x5a6ab0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0x8242b8
push 0
push str.SoftwarePopCapBeta
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5a6b55
cmp dword [esi + 0x220], 0x10
mov ecx, dword [esi + 0x21c]
jb 0x5a6afb
mov eax, dword [esi + 0x20c]
jmp 0x5a6b01
lea eax, [esi + 0x20c]
mov edx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.advapi32.dll_RegSetValueExA]
push ecx
push eax
push 1
push 0
push str.Name
push edx
call edi
cmp dword [esi + 0x23c], 0x10
mov eax, dword [esi + 0x238]
jb 0x5a6b31
mov esi, dword [esi + 0x228]
jmp 0x5a6b37
add esi, 0x228
push eax
mov eax, dword [esp + 0xc]
push esi
push 1
push 0
push str.Password
push eax
call edi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x5aa170
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 0x428], 0
push edi
mov edi, dword [esp + 0xc]
je 0x5aa1b3
cmp dword [eax + 0x444], 0x10
mov ecx, dword [eax + 0x440]
jb 0x5aa19b
mov eax, dword [eax + 0x430]
jmp 0x5aa1a0
add eax, 0x430
push ecx
push eax
mov eax, dword [edi + 0x14]
push eax
push 0
mov ecx, edi
call fcn.00402330
test eax, eax
je 0x5aa213
mov ecx, dword [esi + 4]
mov dl, byte [esp + 0x10]
mov byte [ecx + 0x429], dl
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov byte [eax + 0x428], 1
mov ecx, dword [esi + 4]
push 0
push edi
add ecx, 0x42c
call fcn.00401530
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x448], eax
cmp dword [edi + 0x18], 0x10
jb 0x5aa1f7
mov eax, dword [edi + 4]
jmp 0x5aa1fa
lea eax, [edi + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x5aa21a
pop edi
mov al, 1
pop esi
ret 8
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
push edi
call eax
pop edi
xor al, al
pop esi
ret 8
Function at 0x5adea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x78b316
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
push ebx
xor al, al
lea esi, [esp + 0x14]
call fcn.00439610
add esp, 4
mov edx, eax
mov dword [esp + 0xa8], 0
call fcn.004395c0
mov esi, 0x10
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x28], esi
jb 0x5adf1b
mov eax, dword [esp + 0x14]
push eax
call fcn.006441c7
add esp, 4
cmp dword [ebx + 0x18], esi
jb 0x5adf25
mov eax, dword [ebx + 4]
jmp 0x5adf28
lea eax, [ebx + 4]
push 0x825210
push eax
call fcn.00644aa4
mov esi, eax
add esp, 8
test esi, esi
jne 0x5adf56
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
push ecx
push 1
push edx
call fcn.00644ce0
push esi
call fcn.00644dd9
mov eax, dword [edi + 4]
add esp, 0x14
cmp byte [eax + 0x6c9], 0
je 0x5ae085
cmp byte [eax + 0x6c8], 0
je 0x5ae085
push str.Buffer
lea ecx, [esp + 0x14]
call fcn.00401280
push ebx
lea edi, [esp + 0x4c]
mov dword [esp + 0xac], 1
call fcn.00439480
add esp, 4
mov ecx, dword [ebp + 0x10]
inc ecx
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, eax
mov byte [esp + 0xb0], 2
call fcn.00596340
mov ecx, edi
mov esi, eax
call fcn.004012f0
lea ecx, [esp + 0x10]
mov dword [esp + 0xa8], 0xffffffff
call fcn.004012f0
test esi, esi
je 0x5ae085
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esi + 1]
push edx
mov byte [esi], 1
call fcn.0064d2b0
add esp, 0xc
push esi
call fcn.005965b0
push esi
call fcn.005964b0
push str.Buffer
lea ecx, [esp + 0x30]
call fcn.00401280
push ebx
lea edi, [esp + 0x84]
mov dword [esp + 0xac], 3
call fcn.00439480
add esp, 4
mov esi, eax
push ebx
lea edi, [esp + 0x68]
mov byte [esp + 0xac], 4
call fcn.00439480
add esp, 4
mov ecx, eax
lea eax, [esp + 0x2c]
push eax
mov eax, esi
mov byte [esp + 0xac], 5
call fcn.005962d0
mov ecx, edi
call fcn.004012f0
lea ecx, [esp + 0x80]
call fcn.004012f0
lea ecx, [esp + 0x2c]
call fcn.004012f0
mov al, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5ae572
Capabilities:
Hide graphical window

Disassembly:
fldz
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
sub esp, 8
fstp qword [esp]
call edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x5e4]
push 0
push ecx
call dword [sym.imp.user32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov byte [edx + 0x39c], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
mov ecx, esi
pop esi
jmp edx
Function at 0x5aef40
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
cmp dword [esi + 0x398], 0
je 0x5aef68
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [esi + 0x398]
je 0x5aef68
mov byte [esi + 0x6c1], 1
pop edi
pop esi
ret
cmp byte [esi + 0x39d], 0
jne 0x5aef65
mov ecx, dword [edi + 4]
mov al, 1
mov byte [ecx + 0x39e], al
mov edx, dword [edi + 4]
mov byte [edx + 0x39d], al
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
mov eax, dword [edi + 4]
cmp byte [eax + 0x6c2], 0
je 0x5aefb1
mov esi, dword [sym.imp.kernel32.dll_Sleep]
push 0xa
call esi
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x6c2], 0
jne 0x5aefa1
mov edx, dword [edi + 4]
cmp dword [edx + 0x3b4], 0
je 0x5aefcc
mov eax, edx
mov ecx, dword [eax + 0x3b4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x3a0], 0
jne 0x5aeff8
mov eax, dword [edi + 8]
test eax, eax
je 0x5aeff8
cmp dword [eax + 0xc6c], 0
je 0x5aeff8
mov edx, eax
mov eax, dword [edx + 0xc6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x5e4]
test eax, eax
je 0x5af00e
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
call fcn.005af030
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x3b8], 0
je 0x5aef65
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
pop edi
pop esi
jmp eax
Function at 0x5b5e00
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 0x67d], 0
jne 0x5b5e3f
push 1
mov byte [eax + 0x6c0], 1
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
mov eax, dword [esi + 4]
push esi
push 0
push 0x5b5d80
mov byte [eax + 0x67d], 1
call fcn.006480e2
add esp, 0xc
pop esi
ret

Function at 0x5b5fa0
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 4]
cmp byte [eax + 0x6c2], 0
jne 0x5b5fc3
push ecx
push 0
push 0x5b5f80
mov byte [eax + 0x6c2], 1
call fcn.006480e2
add esp, 0xc
ret
Function at 0x5c2740
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.kernel32.dll_GetCurrentThread]
push edi
call esi
push eax
call dword [sym.imp.kernel32.dll_GetThreadPriority]
push 2
mov ebp, eax
call esi
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x5c277c
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edi, dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0
push 0x64
push edx
push eax
call fcn.00652a50
add dword [esp + 0x18], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ecx
adc dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x14]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea edx, [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x1c]
jl 0x5c27b7
jg 0x5c27d4
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x18]
jb 0x5c27b7
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x14]
rdtsc
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
push ebp
call esi
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
push 0x64
push eax
push ecx
call fcn.00650240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x5c3570
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x18
push ebx
push esi
lea eax, [esp + 0x18]
push edi
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor esi, esi
cmp dword [0x88b604], esi
jle 0x5c35e4
xor edi, edi
jmp 0x5c35a0
mov ecx, dword [0x8c0ab8]
sub ecx, dword [0x8c0ab4]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x5c35c6
call fcn.006441b7
mov edx, dword [0x8c0ab4]
lea eax, [edi + edx]
push eax
call fcn.005c33e0
inc esi
add esp, 4
add edi, 0x18
cmp esi, dword [0x88b604]
jl 0x5c35a0
lea ecx, [esp + 0x14]
mov dword [0x88b604], 0
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x10]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sbb eax, dword [esp + 0x20]
add dword [0x886c68], edx
pop edi
pop esi
adc dword [0x886c6c], eax
pop ebx
add esp, 0x18
ret
Function at 0x5c3bb0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x24
cmp byte [0x88b5ea], 0
push ebx
push esi
je 0x5c3bf6
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], eax
mov byte [esp + 0x20], 0
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0xc]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea esi, [esp + 0x10]
call fcn.005c3630
sub dword [0x88b600], 1
jne 0x5c3bf6
pop esi
pop ebx
add esp, 0x24
jmp fcn.005c3570
pop esi
pop ebx
add esp, 0x24
ret

Function at 0x5c6b10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x7847cb
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0x18]
mov dword [esi], vtable.Sexy::ResStreamsManager.0
call fcn.00601220
lea eax, [esi + 0x20]
call fcn.00601220
lea eax, [esi + 0x28]
call fcn.00601220
lea eax, [esi + 0x64]
push eax
call fcn.005c7760
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0x100000
mov dword [esi + 4], ecx
mov byte [esi + 9], 1
mov byte [esi + 8], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0063265d
push 0x100000
mov dword [esi + 0x30], eax
call fcn.0063265d
mov edx, dword [esi + 0x30]
push 0x100000
push ebx
push edx
mov dword [esi + 0x34], eax
call fcn.0064edd0
mov eax, dword [esi + 0x34]
push 0x100000
push ebx
push eax
call fcn.0064edd0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
add esp, 0x20
mov dword [esi + 0x10], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x5c6c20
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x784adb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.Sexy::ResStreamsManager.0
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x30]
push eax
call fcn.00644b73
mov ecx, dword [esi + 0x34]
push ecx
call fcn.00644b73
mov edx, dword [esi + 0x10]
push edx
call fcn.00644b73
mov eax, dword [esi + 0x4c]
add esp, 0xc
test eax, eax
je 0x5c6c99
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x5c6cd0
push ecx
push 0x78
push eax
call fcn.0064441b
push edi
call fcn.00644b73
add esp, 4
add esi, 0x64
call fcn.00465af0
mov edx, dword [esi + 0x14]
push edx
call fcn.006441c7
mov eax, dword [esi]
push eax
mov dword [esi + 0x14], 0
call fcn.006441c7
add esp, 8
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret