joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140091d10
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
call fcn.140092a00
mov qword [0x14022d988], rax
test rax, rax
je 0x140091ecc
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140091dc7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140091dc7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x91281d42
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140091dc2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140091da0
cmp r8d, 0xc5620d6f
je 0x140091dcc
test r9d, r9d
jne 0x140091d80
mov rax, qword [rax]
jmp 0x140091d50
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [0x14022d998]
mov rcx, qword [0x14022d988]
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140091e87
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140091e87
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x4b3ad325
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140091e82
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140091e60
cmp r8d, 0x49a6f85a
je 0x140091e8c
test r9d, r9d
jne 0x140091e40
mov rax, qword [rax]
jmp 0x140091e10
mov ecx, dword [rbx + 0x24]
lea r8, [0x14022d998]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov r9d, 2
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor edx, edx
mov rcx, qword [0x14022d988]
add rax, r10
call rax
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
mov byte [0x14022d7b3], 1
add rsp, 0x28
ret
Function at 0x140092a00
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400ba040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov dword [rsp + 0x40], ecx
movabs rdx, 0xcc7198bfb9c90799
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0xb23062ba3837cb56
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140092ab0
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x140092ae2
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x48], di
jmp 0x140092aec
lea r9, [rsp + 0x30]
call fcn.1400912e0
mov qword [rsp + 0x68], rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140092b86
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140092b86
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x6e28f986
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140092b81
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140092b60
cmp r8d, 0xbde3343c
je 0x140092b8b
test r9d, r9d
jne 0x140092b40
mov rax, qword [rax]
jmp 0x140092b10
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x40]
lea rcx, [0x140092690]
call r8
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140092bfc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140092bf7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140092bf7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099170
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140099150
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x140094610
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov r14d, 7
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x14
mov eax, dword [r15 + rsi]
mov r12d, 0x20
test al, 1
jne 0x1400946b8
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov ecx, 1
lea r8, [rbx + 8]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x140094690
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ecx, 0x13a8
test al, 2
jne 0x1400946d9
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rcx + rsi], rbp
mov qword [rcx + rsi + 8], 0x33
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rcx + rsi]
mov ebx, r12d
add rbx, rsi
lea r12, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop word [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x140094745
mov rcx, rbx
call fcn.140096630
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.140096630
mov eax, eax
or rsi, rax
jmp 0x140094755
inc rdx
lea rcx, [rsp + 0x28]
call fcn.140096440
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14009478a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14009477f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140094792
mov rcx, rdi
call fcn.140004ed0
test r14, r14
jne 0x140094710
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140096630
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140096691
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140096650
mov ecx, dword [r9]
jmp 0x14009677b
cmp ecx, 0x4e0
jb 0x14009677b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400966b0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140096700
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140096910
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x1400ba040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r14, rdx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2000
mov rcx, rax
mov r15, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [rsp + 0x20], ebp
mov rdi, rax
test rax, rax
je 0x140096a19
lea r9, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1400969bb
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140096a19
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140096a19
cmp dword [rdi], ebp
jbe 0x140096a19
mov qword [rsp + 0x50], rbx
mov ebx, ebp
mov qword [rsp + 0x60], rsi
nop dword [rax + rax]
movsxd rax, ebx
mov rdx, r14
imul rsi, rax, 0x128
lea rcx, [rsi + 0x30]
add rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x1400969f7
inc ebx
cmp ebx, dword [rdi]
jb 0x1400969d0
jmp 0x1400969fc
mov rbp, qword [rsi + rdi + 0x18]
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rsp + 0x60]
mov rax, rbp
mov rbx, qword [rsp + 0x50]
jmp 0x140096a1b
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140099150
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400984ac
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 0x1400984e6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400984eb
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 0x140098534
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14009fc20]
cmp byte [rcx + rax], 0
je 0x140098534
dec r8
sub rdx, 1
jne 0x14009851a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140098c80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400985c4
mov ebx, eax
test eax, eax
jne 0x140098cb0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140098d13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140098d0a
test al, 0x10
je 0x140098d0a
bt eax, 0xa
jae 0x140098d03
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140098d24
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140098cff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140098cff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140098d0a
and dword [rsp + 0x3c], 0
jmp 0x140098d0f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140099f38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140099f82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140099f82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140099f82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140099f82
cmp dword [rcx + 0x84], 0xe
jbe 0x140099f82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140099f84
xor al, al
add rsp, 0x28
ret
Function at 0x1400017c0
Capabilities:
Compare security identifiers
Get user security identifier
List user accounts for group

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x1400213f8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor r12d, r12d
mov r15, r8
mov qword [rsp + 0x58], r12
mov rsi, rdx
mov r14, rcx
mov edi, r12d
mov ebp, r12d
test rdx, rdx
je 0x140001870
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x44
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x101
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0xb0]
mov rdx, r15
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x140001870
mov ebx, r12d
cmp dword [rsi], ebx
jbe 0x140001870
mov edx, ebx
lea rcx, [rsp + 0x60]
add rdx, rdx
mov rdx, qword [rsi + rdx*8 + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x14000187c
inc ebx
cmp ebx, dword [rsi]
jb 0x140001851
test r14, r14
jne 0x140001890
xor eax, eax
jmp 0x140001926
mov eax, 1
jmp 0x140001926
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rdx, r15
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
call sub.NETAPI32.dll_NetLocalGroupGetMembers
mov esi, eax
test eax, eax
je 0x1400018da
cmp eax, 0xea
jne 0x140001924
mov ebx, r12d
cmp dword [rsp + 0x40], ebx
jbe 0x140001905
test edi, edi
jne 0x140001905
mov rcx, qword [rsp + 0x48]
mov rdx, r14
mov eax, ebx
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
inc ebx
mov edi, eax
cmp ebx, dword [rsp + 0x40]
jb 0x1400018e3
mov rcx, qword [rsp + 0x48]
call sub.NETAPI32.dll_NetApiBufferFree
cmp esi, 0xea
jne 0x140001924
mov ecx, ebp
inc ebp
cmp ecx, 0x64
jl 0x140001890
mov eax, edi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140016590
add rsp, 0x2d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140002700
Capabilities:
Access the windows event log

Disassembly:
sub rsp, 0x28
xor r8d, r8d
lea rdx, [0x140001d40]
mov ecx, 0x12c
call fcn.1400031c0
mov qword [0x140021440], rax
test rax, rax
jne 0x140002737
lea ecx, [rax + 1]
lea rdx, str.Error_creating_echo_message_window.
add rsp, 0x28
jmp fcn.140004430
add rsp, 0x28
ret
Function at 0x140003140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov ebx, ecx
call fcn.1400038f0
movzx r8d, ax
movzx edx, bx
mov ecx, 5
call fcn.140003300
test rax, rax
jne 0x140003177
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x1400234f8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000316a
mov rcx, qword [0x1400234f8]
mov r9, rdi
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400031c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov ebx, ecx
mov rsi, rdx
call fcn.1400038f0
movzx r8d, ax
movzx edx, bx
mov ecx, 5
call fcn.140003300
test rax, rax
je 0x140003232
mov rcx, qword [0x1400234f8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003232
mov rcx, qword [0x1400234f8]
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400038f0
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x38
movzx eax, word [0x140021450]
test ax, ax
jne 0x14000396d
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0
mov r9d, keybd_event
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareOpenVPN_GUI
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003949
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, str.ui_language
call fcn.140011800
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x140003957
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov word [0x140021450], ax
call sub.COMCTL32.dll_InitMUILanguage
movzx eax, word [0x140021450]
add rsp, 0x38
ret

Function at 0x1400039c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
mov ecx, reloc.WS2_32.dll_inet_addr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, reloc.WS2_32.dll_inet_ntoa
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, ebx
mov ecx, edi
mov r8d, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140003a00
Function at 0x140003a00
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, 0x40
mov esi, r8d
mov ebx, ecx
mov ebp, edx
call fcn.1400038f0
mov rcx, qword [0x1400234f8]
mov r9d, ebp
movzx ebx, bx
mov r8d, 1
mov edx, ebx
mov dword [rsp + 0x28], 0x8040
movzx edi, ax
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_LoadImageW]
test rax, rax
jne 0x140003b05
movzx r8d, di
lea ecx, [rax + 0xe]
mov edx, ebx
call fcn.140003300
test rax, rax
je 0x140003b03
mov rcx, qword [0x1400234f8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003b03
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_LookupIconIdFromDirectory]
test eax, eax
je 0x140003b03
movzx edx, ax
movzx r8d, di
mov ecx, 3
call fcn.140003300
mov rbx, rax
test rax, rax
je 0x140003b03
mov rcx, qword [0x1400234f8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140003b03
mov rcx, qword [0x1400234f8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140003b03
mov dword [rsp + 0x30], 0x8040
mov r9d, 0x30000
mov dword [rsp + 0x28], esi
mov r8d, 1
mov edx, eax
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call qword [sym.imp.USER32.dll_CreateIconFromResourceEx]
jmp 0x140003b05
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140003b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x32
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, ebx
mov ecx, edi
mov r8d, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140003a00
Function at 0x140003c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov edi, ecx
movsxd r12, r9d
shr ecx, 4
and edi, 0xf
inc cx
mov rbp, r8
movzx r15d, cx
xor r14d, r14d
movzx esi, dx
mov r13d, 0x409
nop dword [rax]
movzx r8d, si
mov rdx, r15
mov ecx, 6
call fcn.140003300
test rax, rax
je 0x140003ca4
mov rcx, qword [0x1400234f8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140003ca4
mov ecx, r14d
movzx eax, word [rbx]
cmp ecx, edi
je 0x140003c89
lea rbx, [rbx + rax*2]
inc ecx
add rbx, 2
cmp ecx, 0x10
jl 0x140003c71
jmp 0x140003ca4
test ax, ax
je 0x140003ca4
lea rcx, [rax*2 + 2]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x140003caf
cmp si, r13w
je 0x140003d1c
mov esi, r13d
jmp 0x140003c40
movzx eax, word [rbx]
lea rdx, [rbx + 2]
xor edi, edi
mov rcx, r14
mov word [r14 + rax*2], di
movzx r8d, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
call fcn.140001950
mov r9, r14
mov r8, r12
mov rdx, rbp
mov rcx, qword [rax]
mov rax, qword [rsp + 0x80]
or rcx, 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rcx, r14
mov word [rbp + r12*2 - 2], di
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbp + rax*2], di
jne 0x140003d10
jmp 0x140003d1e
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140003d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov ebx, ecx
mov rsi, rdx
call fcn.1400038f0
movzx r8d, ax
movzx edx, bx
mov ecx, 5
call fcn.140003300
test rax, rax
je 0x140003db2
mov rcx, qword [0x1400234f8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003db2
mov rcx, qword [0x1400234f8]
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rax
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov rax, 0xffffffffffffffff
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140003dd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1400038f0
movzx r8d, ax
movzx edx, bx
mov ecx, 5
call fcn.140003300
test rax, rax
jne 0x140003df9
add rsp, 0x20
pop rbx
ret
mov rcx, qword [0x1400234f8]
mov rdx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadResource]