joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180075770
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180098b38], eax
je 0x18007578b
mov eax, 0x10dd
jmp 0x1800758b0
mov rax, qword [0x180098b50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180075835
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180075800
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180075800
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800743c0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.1800776b0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180075797
mov qword [0x180098b50], 0
call fcn.180074e20
mov rax, qword [0x180098b48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180075899
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.1800776b0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180075851
mov qword [0x180098b48], 0
mov dword [0x180098b38], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180075de0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x180098b3c], 0
je 0x180075dfd
mov eax, dword [0x180098b3c]
jmp 0x180075ec3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180075e10
xor eax, eax
jmp 0x180075ec3
mov ecx, 0x10
call fcn.1800776b8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180075e7e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180075e63
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1800776b0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x180098b3c], eax
mov qword [0x180098b40], 0
mov eax, dword [rsp + 0x20]
jmp 0x180075ec3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180075e98
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180075e39
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180098b48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180098b48], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x18007744c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180077486
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18007748b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800774d4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18007ba50]
cmp byte [rcx + rax], 0
je 0x1800774d4
dec r8
sub rdx, 1
jne 0x1800774ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14001120d
Capabilities:
Execute command
Terminate process

Disassembly:
jmp 0x140012bc0
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400270f2]
call fcn.14001147e
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str._______f
call fcn.14001123a
lea rcx, str.Thank_for_playing_my_game.
call fcn.14001123a
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400112a3
Capabilities:
Terminate process

Disassembly:
jmp 0x140013fb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001134d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400167c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400167e0
xor al, al
jmp 0x140016861
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400167f3
xor al, al
jmp 0x140016861
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001681d
xor al, al
jmp 0x140016861
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016831
xor al, al
jmp 0x140016861
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016843
xor al, al
jmp 0x140016861
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001685f
xor al, al
jmp 0x140016861
mov al, 1
add rsp, 0x38
ret
Function at 0x140011415
Capabilities:
Execute command
Terminate process

Disassembly:
jmp 0x140012df0
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400270f2]
call fcn.14001147e
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str._______________________________________________________n_n_n_n
call fcn.14001123a
lea rcx, str.___________________G_a_m_e_O_v_e_r_n_n_n_n_n
call fcn.14001123a
lea rcx, str._______________________________________________________n
call fcn.14001123a
lea rcx, [0x14001d238]
call fcn.14001123a
lea rdx, [0x140020900]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
cmp dword [0x140020900], 1
jne 0x140012e76
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
jmp 0x140012e99
cmp dword [0x140020900], 2
jne 0x140012e97
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140012e48
call fcn.1400114c4
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001145b
Capabilities:
Execute command
Terminate process

Disassembly:
jmp 0x140012c40
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400270f2]
call fcn.14001147e
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str._______________________________________________________n_n_n_n
call fcn.14001123a
lea rcx, str._____________________C_l_e_a_r_____n_n_n
call fcn.14001123a
lea rcx, str.____________________________n_n
call fcn.14001123a
lea rcx, str._______________________________________________________n
call fcn.14001123a
lea rcx, [0x14001d238]
call fcn.14001123a
lea rdx, [0x140020900]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
cmp dword [0x140020900], 1
jne 0x140012cd2
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
jmp 0x140012cf5
cmp dword [0x140020900], 2
jne 0x140012cf3
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140012ca4
call fcn.1400114c4
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400114c4
Capabilities:
Execute command

Disassembly:
jmp 0x140013060
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400270f2]
call fcn.14001147e
lea rcx, str._______________________________________________________n
call fcn.14001123a
lea rcx, str._______________________Hang_Man_n_n
call fcn.14001123a
lea rcx, str.____________________0_:
call fcn.14001123a
lea rcx, str.____________________1_:
call fcn.14001123a
lea rcx, str.____________________2_:_
call fcn.14001123a
lea rcx, str._______________________________________________________n
call fcn.14001123a
lea rdx, [0x140020900]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov eax, dword [0x140020900]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x140013100
cmp dword [rbp + 0xc0], 1
je 0x140013114
cmp dword [rbp + 0xc0], 2
je 0x140013128
jmp 0x140013137
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
call fcn.140011177
jmp 0x140013149
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
call fcn.140011127
jmp 0x140013149
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
jmp 0x140013149
lea rcx, [0x14001cf24]
call qword [sym.imp.ucrtbased.dll_system]
call fcn.1400114c4
cmp dword [0x140020900], 2
jne 0x140013154
jmp 0x140013159
jmp 0x1400130c3
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret
Function at 0x1400518ec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400516e8
Function at 0x140057eec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400462f0
sub rsp, rax
mov rax, qword [0x1401d1028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400560a8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140057f3b
mov rax, rbp
jmp 0x140058043
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1d34b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005900c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1d34b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005803f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x14005803f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005900c
test rax, rax
js 0x14005803f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005803f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140058031
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140058031
cmp byte [rcx], 0xd
jne 0x140058017
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140058026
cmp byte [rcx + 1], 0xa
jne 0x140058026
inc rcx
jmp 0x140058026
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1d1420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140057ff9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140058043
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400462c0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140058264
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005827a
mov al, 1
jmp 0x1400582da
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005828b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400582d8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14005c0cc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400582d8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x1400582d8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x1400582d8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400582da
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400583ac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1401d34b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140058403
cmp word [rdx], r13w
jne 0x140058403
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140058408
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14005852d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14005854e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140058441
mov rdx, r9
mov word [rbx], cx
jmp 0x140058468
cmp r9, r8
jae 0x140058478
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140058422
jmp 0x14005852d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x140058522
cmp dword [rsp + 0x80], esi
je 0x140058522
lea r8, [0x1401d34b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400584fa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400584ca
mov word [rbx], r13w
jmp 0x14005852a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400584d7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005852a
cmp word [rsp + 0x70], r13w
jne 0x140058507
cmp rbx, r14
je 0x1400584c4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140059014
cmp word [rsp + 0x70], r13w
je 0x14005852d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1401d34b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140058527
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14005852d
Function at 0x14005ba74
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14005bafb
mov rsi, rbx
cmp word [rax], bp
je 0x14005baba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14005baa4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005baa0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140055ed0
mov rdi, rax
test rax, rax
je 0x14005bae8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140047b40
mov rbp, rdi
xor ecx, ecx
call fcn.14005520c
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005e620
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140054d5c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14005e6c1
cmp ebx, dword [rsp + 0x30]
je 0x14005e6ba
test esi, esi
je 0x14005e6ba
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14005e695
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14005e6a2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14005e67f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14005e6a6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14005e6c3
mov eax, 1
jmp 0x14005e6c3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140011118
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001e2f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400403e5]
call fcn.140011ad2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001e347
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001e453
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001e3ec
cmp qword [rbp + 0x28], 0
jle 0x14001e3ec
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001e38c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011a23
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001e442
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001e442
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011604
Capabilities:
Terminate process

Disassembly:
jmp 0x140024090
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001178a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140024ca0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140024cc0
xor al, al
jmp 0x140024d41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140024cd3
xor al, al
jmp 0x140024d41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140024cfd
xor al, al
jmp 0x140024d41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140024d11
xor al, al
jmp 0x140024d41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140024d23
xor al, al
jmp 0x140024d41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140024d3f
xor al, al
jmp 0x140024d41
mov al, 1
add rsp, 0x38
ret
Function at 0x140011aa5
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400199d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x140037028]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x1400403e5]
call fcn.140011ad2
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140019a36
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140019a3d
mov al, 1
jmp 0x140019baf
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x198], rax
call fcn.1400112da
mov dword [rbp + 0x1a0], eax
mov edx, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x1d0]
call qword [rbp + 0x198]
mov dword [rbp + 0x164], eax
call fcn.1400112da
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.14001191a
movzx eax, al
test eax, eax
je 0x140019aa2
xor al, al
jmp 0x140019baf
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x198], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x1a0], eax
cmp dword [rbp + 0x1a0], 0
je 0x140019b15
cmp dword [rbp + 0x1a0], 1
je 0x140019b20
cmp dword [rbp + 0x1a0], 3
je 0x140019b9e
jmp 0x140019bad
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140019b70
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140019b70
xor al, al
jmp 0x140019baf
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140019b8b
mov dword [rbp + 0x194], 1
jmp 0x140019b95
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140019baf
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140019baf
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002dbc0]
call fcn.1400118fc
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.14001151e
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140011bf4
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
jmp 0x140013e20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [0x140037028]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
lea rcx, [0x1400400fe]
call fcn.140011ad2
lea rdx, [rbp + 0x10]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rbp + 0x2d0]
mov qword [rcx], rax
lea r8, [rbp + 0x1cc]
mov rdx, qword [str.127.0.0.1]
mov ecx, 2
call fcn.14001104b
mov eax, 2
mov word [rbp + 0x1c8], ax
mov cx, 0xf2c
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1ca], ax
mov r8d, send
lea rdx, [rbp + 0x1c8]
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_connect]
mov rax, qword [rbp + 0x2d0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002cd90]
call fcn.1400118fc
mov rax, rdi
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.14001151e
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret