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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250d0]
call fcn.14001137f
mov byte [rbp + 4], 0
jmp 0x1400121b7
movzx eax, byte [rbp + 4]
inc al
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
cmp eax, 4
jge 0x14001223c
mov byte [rbp + 0x24], 0
jmp 0x1400121cf
movzx eax, byte [rbp + 0x24]
inc al
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
cmp eax, 4
jge 0x140012237
movzx eax, byte [rbp + 4]
mov rcx, qword [rbp + 0x128]
lea rax, [rcx + rax*4]
movzx ecx, byte [rbp + 0x24]
movzx edx, byte [rbp + 0x120]
shl edx, 2
movzx r8d, byte [rbp + 4]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rbp + 0x24]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rbp + 0x130]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rbp + 0x24]
movzx edx, byte [rbp + 4]
mov r8, qword [rbp + 0x128]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x1400121c6
jmp 0x1400121ae
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400138d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250d0]
call fcn.14001137f
mov byte [rbp + 4], 0
jmp 0x1400138fe
movzx eax, byte [rbp + 4]
inc al
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
cmp eax, 4
jge 0x14001395d
mov byte [rbp + 0x24], 0
jmp 0x140013916
movzx eax, byte [rbp + 0x24]
inc al
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
cmp eax, 4
jge 0x14001395b
movzx eax, byte [rbp + 0x24]
mov rcx, qword [rbp + 0x120]
lea rax, [rcx + rax*4]
movzx ecx, byte [rbp + 4]
movzx eax, byte [rax + rcx]
lea rcx, [0x14001d190]
movzx edx, byte [rbp + 0x24]
mov r8, qword [rbp + 0x120]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rbp + 4]
movzx eax, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x14001390d
jmp 0x1400138f5
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1403c1a60]
mov dword [rax], 1
mov rax, qword [0x1403c1a70]
mov dword [rax], 1
mov rax, qword [0x1403c1a80]
mov dword [rax], 1
mov rax, qword [0x1403c1a00]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1403378a0
Capabilities:
Query environment variable

Disassembly:
push r14
mov eax, 0x10080
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14039b450
sub rsp, rax
xor eax, eax
xor edx, edx
xor esi, esi
mov r14d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x80], ax
mov r12, rcx
lea rbp, [rsp + 0x30]
lea r13, [rsp + 0x2e]
mov word [rsp + 0x30], dx
test dil, dil
je 0x140337949
nop dword [rax]
mov rax, r14
lea rbx, [rbp + rsi*2]
sub rax, rsi
cmp word [rbp + rsi*2], 0
je 0x14033790e
nop dword [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x140337900
test rax, rax
je 0x1403ac34e
mov rcx, rbx
add rsi, 1
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r13
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx edi, byte [r12 + rsi]
test dil, dil
jne 0x1403378e8
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140337978
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10080
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x140337990
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor eax, eax
xor esi, esi
mov r13d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x30], ax
mov rbp, rcx
mov r14, rdx
lea r15, [rsp + 0x30]
lea r12, [rsp + 0x2e]
test dil, dil
je 0x140337a31
nop word [rax + rax]
mov rax, r13
lea rbx, [r15 + rsi*2]
sub rax, rsi
cmp word [r15 + rsi*2], 0
je 0x1403379f6
nop word [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x1403379e8
test rax, rax
je 0x1403ac354
mov rcx, rbx
add rsi, 1
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx edi, byte [rbp + rsi]
test dil, dil
jne 0x1403379d0
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14034eae0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.1403378a0
test rax, rax
je 0x14034ec20
mov rdx, 0xffffffffffffffff
mov rcx, rax
lea r14, [rsp + 0x40]
mov r15d, 0x4e
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov rdi, r14
lea r12, [rsi + 0x28]
lea rbp, [rsp + 0x3e]
mov r13, rax
xor eax, eax
mov word [rsp + 0x40], ax
nop
mov rax, r12
mov rbx, rdi
sub rax, rsi
cmp word [rdi], 0
je 0x14034eb5e
nop
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x14034eb50
test rax, rax
je 0x1403ac406
mov rcx, rbx
add rsi, 1
add rdi, 2
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, rbp
mov byte [rsp + 0x3e], r15b
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x3f], 0
call sub.msvcrt.dll_mbstowcs
movzx r15d, byte [rsi]
test r15b, r15b
jne 0x14034eb40
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rdx, qword [0x1403eac38]
mov rsi, qword [rax + 0x1f0]
mov rax, qword [0x1403c1bd0]
mov rbx, qword [rax + 0x1b8]
test rdx, rdx
je 0x14034ec78
mov r8, rbx
mov rcx, rsi
call fcn.14033a340
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.14034bb10
sub qword [rbx], 1
jne 0x14034ec09
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [rdx + 0x30]
mov rax, qword [rsp + 0x28]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1403ea508]
lea rsi, [0x1403ea508]
test bl, bl
je 0x14034ec40
mov rax, qword [0x1403ea510]
lea rsi, [0x1403ea510]
test rax, rax
jne 0x14034ec09
cmp byte [0x1403ea722], 0
jne 0x14034ec56
movzx ecx, bl
call fcn.1403183b0
mov rdx, 0xffffffffffffffff
lea rcx, [0x1403ea520]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x14034eca5
add qword [rax], 1
jmp 0x14034ec09
mov rdx, qword [0x1403eabb0]
mov rdi, qword [rax + 0x1a8]
test rdx, rdx
je 0x14034ecb0
mov r8, rdi
mov rcx, rsi
call fcn.14033a340
mov qword [0x1403eac38], rax
mov rdx, rax
jmp 0x14034ebd3
call qword [sym.imp.python310.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1403ba3ae]
call qword [sym.imp.python310.dll_PyImport_ImportModule]
mov qword [0x1403eabb0], rax
mov rdx, rax
test rax, rax
je 0x1403ac406
jmp 0x14034ec8b
Function at 0x140390e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1403ea4f1], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x140390ed8
lea rdx, [0x1403bd952]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140390f40
mov rbx, qword [0x1403ea3a8]
jmp 0x140390e95
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x140390e90
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140380090
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1403ea3a8], rax
mov ebx, dword [rax]
mov qword [0x1403ea3a8], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1403ea3a8], rdx
call fcn.14038ff80
cmp eax, ebx
jne 0x140390fc7
mov byte [0x1403ea4f1], 1
jmp 0x140390e6c
cmp byte [0x1403ea4f0], 0
jne 0x140390e83
mov rbx, qword [sym.imp.python310.dll_PyDict_New]
call rbx
mov qword [0x1403eae28], rax
call rbx
mov qword [0x1403eae20], rax
call rbx
mov qword [0x1403eae18], rax
call rbx
mov qword [0x1403eae10], rax
call rbx
mov qword [0x1403eae08], rax
call rbx
mov qword [0x1403eae00], rax
call rbx
mov qword [0x1403eadf8], rax
call rbx
mov byte [0x1403ea4f0], 1
mov qword [0x1403eadf0], rax
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xda0
mov qword [0x1403ea3a0], rax
jmp 0x140390e83
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14039a130
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1403ab8b0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1403ab8b0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x14039ae02
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1403eb2e8]
test eax, eax
je 0x14039ae9a
lea rax, [0x1403eb2c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1403eb2f0]
mov qword [rbp - 8], rax
jmp 0x14039ae7e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14039ae72
cmp qword [rbp - 0x10], 0
je 0x14039ae72
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14039ae38
lea rax, [0x1403eb2c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14039ae9b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14039afa0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14039afc8
mov eax, 0
jmp 0x14039b016
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14039aff1
mov eax, 0
jmp 0x14039b016
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14039b011
mov eax, 0
jmp 0x14039b016
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14039b01c
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 0x14039b09a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14039b091
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 0x14039b091
mov rax, qword [rbp - 8]
jmp 0x14039b0af
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 0x14039b064
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400705bd
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14009b0b0
mov rax, rcx
neg rcx
test rax, 7
je 0x14009b0cd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14009b128
test al, 7
jne 0x14009b0c0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14009b0e1
mov rdx, qword [rax - 8]
test dl, dl
je 0x14009b152
test dh, dh
je 0x14009b14c
shr rdx, 0x10
test dl, dl
je 0x14009b146
test dh, dh
je 0x14009b140
shr rdx, 0x10
test dl, dl
je 0x14009b13a
test dh, dh
je 0x14009b134
shr edx, 0x10
test dl, dl
je 0x14009b12e
test dh, dh
jne 0x14009b0e1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400708dd
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140090380
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14008fd00
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400903bf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14019d020]
jmp 0x1400903c9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140070a2c
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401160b0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140115ee0
lea rcx, [rsp + 0x40]
call fcn.140116060
movzx eax, al
test eax, eax
jne 0x1401160f8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140115f10
mov rax, qword [rsp + 0x70]
jmp 0x1401162c9
lea rcx, [rsp + 0x40]
call fcn.140116030
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140115fd0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140116030
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.140071445
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14011619e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140115f10
mov rax, qword [rsp + 0x80]
jmp 0x1401162c9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400707e3
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400706c1
lea rcx, [rsp + 0x48]
call fcn.1400703a1
movzx eax, al
test eax, eax
jne 0x140116205
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14006f776
lea rcx, [rsp + 0x40]
call fcn.140115f10
mov rax, qword [rsp + 0x88]
jmp 0x1401162c9
lea rcx, [rsp + 0x48]
call fcn.140070ce3
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140116030
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.140071445
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14011629b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14006f776
lea rcx, [rsp + 0x40]
call fcn.140115f10
mov rax, qword [rsp + 0xa0]
jmp 0x1401162c9
lea rcx, [rsp + 0x48]
call fcn.14007069e
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14006f776
lea rcx, [rsp + 0x40]
call fcn.140115f10
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140070a36
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400902b0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.14008fc80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400902f1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14019d020]
jmp 0x1400902f7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140070ab8
Capabilities:
Get geographical location

Disassembly:
jmp 0x140123d20
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.140122c50
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140123d87
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x14019d030]
jmp 0x140123da9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14007034c
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140070ac7
Capabilities:
Terminate process

Disassembly:
jmp 0x140077170
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 0x140070c93
Capabilities:
Print debug messages

Disassembly:
jmp 0x140130470
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140130496
jmp 0x140130513
mov rcx, qword [rbp + 0x30]
call fcn.1400705bd
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1401304af
jmp 0x140130513
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1401304cc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14006f8bb
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.14006fc7b
test eax, eax
jne 0x140130513
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140070775
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140071111
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400784c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400784e0
xor al, al
jmp 0x140078561
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400784f3
xor al, al
jmp 0x140078561
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 0x14007851d
xor al, al
jmp 0x140078561
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140078531
xor al, al
jmp 0x140078561
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140078543
xor al, al
jmp 0x140078561
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14007855f
xor al, al
jmp 0x140078561
mov al, 1
add rsp, 0x38
ret
Function at 0x1400715cb
Capabilities:
Terminate process

Disassembly:
jmp 0x1401059d0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401059fe
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140071cd8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140071670
Capabilities:
Convert ip address from string
Initialize winsock library
Send data
Send data on socket

Disassembly:
jmp 0x140075b00
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x14019c0a5]
call fcn.140072057
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rbp + 0x1c4], eax
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x1e8], rax
mov rax, qword [str.0.0.0.0]
mov qword [rbp + 0x210], rax
lea rax, [rbp + 0x218]
mov rdi, rax
xor eax, eax
mov ecx, 0xf7
rep stosb byte [rdi], al
mov eax, 2
mov word [rbp + 0x328], ax
mov cx, 0x1b58
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x32a], ax
lea r8, [rbp + 0x32c]
lea rdx, [rbp + 0x210]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, send
lea rdx, [rbp + 0x328]
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.WS2_32.dll_bind]
mov dword [rbp + 0x1c4], eax
mov edx, 5
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.WS2_32.dll_listen]
mov dword [rbp + 0x1c4], eax
mov dword [rbp + 0x384], socket
lea r8, [rbp + 0x384]
lea rdx, [rbp + 0x358]
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x3a8], rax
lea rcx, [rbp + 0x3d0]
call fcn.140075a60
lea rcx, [rbp + 0x3d4]
call fcn.1400705bd
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x3d4]
mov rcx, qword [rbp + 0x3a8]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 0x1c4], eax
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rbp - 0x20]
lea rdx, [0x140159140]
call fcn.1400717d3
mov rcx, qword [rbp + 0x728]
xor rcx, rbp
call fcn.140070775
lea rsp, [rbp + 0x738]
pop rdi
pop rbp
ret

Function at 0x140071d37
Capabilities:
Print debug messages

Disassembly:
jmp 0x14010ca60
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret