joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004b94
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x19650
call fcn.140018c40
sub rsp, rax
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rsp + 0x19648], rax
xor ebx, ebx
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x20], ebx
lea rcx, str.ReadURL
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenA]
test rax, rax
je 0x140004c87
mov rdi, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor ebx, ebx
mov rcx, rax
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
test rax, rax
je 0x140004c7a
mov r14, rax
lea r15, [rsp + 0x38]
mov dword [r15], 0
lea r12, [rsp + 0x40]
mov r13, qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, r14
mov rdx, r12
mov r8d, 0x195ff
mov r9, r15
call r13
mov eax, dword [rsp + 0x38]
add ebx, eax
test eax, eax
jne 0x140004c37
mov ecx, ebx
call fcn.1400085a4
mov qword [rsi], rax
lea r9, [rsp + 0x3c]
mov rcx, r14
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x19648]
xor rcx, rsp
call fcn.14000d140
mov eax, ebx
add rsp, 0x19650
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140008af4
Capabilities:
Parse pe header

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

Function at 0x140009e20
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009f74
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140009fe3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009fe3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009fe3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009fe3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009fe3
cmp dword [rcx + 0x84], 0xe
jbe 0x140009fe3
cmp dword [rcx + 0xf8], 0
je 0x140009fe3
mov ecx, ebx
call fcn.140009ea0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000a108
nop
cmp dword [rbp + 0x20], 0
je 0x14000a031
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140009f40
int3
Function at 0x140009f74
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009f74
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140009fe3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009fe3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009fe3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009fe3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009fe3
cmp dword [rcx + 0x84], 0xe
jbe 0x140009fe3
cmp dword [rcx + 0xf8], 0
je 0x140009fe3
mov ecx, ebx
call fcn.140009ea0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000a108
nop
cmp dword [rbp + 0x20], 0
je 0x14000a031
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140009f40
int3

Function at 0x14000b760
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000b788
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000b788
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011730
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140011760
xor eax, eax
jmp 0x140011823
mov rbp, rbx
cmp word [rax], si
je 0x140011785
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001176c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140011768
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140011680
movsxd r14, eax
test eax, eax
jne 0x1400117c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140011759
mov rcx, r14
call fcn.14000ff28
mov rdi, rax
test rax, rax
jne 0x1400117dc
xor ecx, ecx
call fcn.14000edc8
jmp 0x1400117b8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140011680
test eax, eax
jne 0x14001180d
mov rcx, rdi
call fcn.14000edc8
jmp 0x140011817
xor ecx, ecx
call fcn.14000edc8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140019930
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000e274
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400199ba
cmp byte [rbp - 0x21], r15b
je 0x1400199b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400199f0
call fcn.14000d2a8
test eax, eax
jne 0x1400199dc
cmp byte [rbp - 0x21], r15b
je 0x1400199d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400199f0
cmp byte [rbp - 0x21], r15b
je 0x1400199ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140010b2c
test eax, eax
jne 0x140019a90
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000e274
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140019a2f
cmp byte [rbp - 0x21], r15b
je 0x140019a64
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140019a64
call fcn.14000d2a8
test eax, eax
jne 0x140019a50
cmp byte [rbp - 0x21], r15b
je 0x140019a49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140019a64
cmp byte [rbp - 0x21], r15b
je 0x140019a61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140010b2c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140019a90
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140019a93
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140019aa1
mov rcx, rdi
call fcn.14000edc8
cmp byte [rbp + 0x3f], r15b
je 0x140019ab0
mov rcx, qword [rbp + 0x27]
call fcn.14000edc8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800034e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180003506
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.1800034e0
movzx edx, word [rdi + rbx*2]
mov ecx, eax
mov rbx, qword [rsp + 0x30]
xor rdx, rcx
movzx ecx, dl
lea rdx, [0x180029720]
shr eax, 8
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x180003540
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180003566
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.180003540
movsx edx, byte [rbx + rdi]
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov r9d, 0x20
lea ecx, [rdx - 0x41]
cmp cl, 0x19
mov ecx, edx
lea rdx, [0x180029720]
cmovbe r8d, r9d
or r8, rcx
xor r8, rax
shr eax, 8
movzx ecx, r8b
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x1800035b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1800035d6
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.1800035b0
movzx edx, word [rdi + rbx*2]
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov r9d, 0x20
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea rcx, [0x180029720]
cmovbe r8d, r9d
or r8, rdx
movzx edx, al
movzx r9d, r8b
xor r9, rdx
shr eax, 8
xor eax, dword [rcx + r9*4]
add rsp, 0x20
pop rdi
ret
Function at 0x180003b50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x470
mov rax, qword [0x18002d010]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor esi, esi
mov rbx, rcx
mov ebp, 0x103
test rcx, rcx
jne 0x180003b88
mov r8d, esi
jmp 0x180003b93
mov rdx, rbp
call fcn.18000edf8
mov r8, rax
inc r8w
cmp r8w, bp
jae 0x180003c7f
cmp si, r8w
jae 0x180003c03
mov rcx, rbx
movzx r9d, r8w
lea rdx, [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rcx]
lea rcx, [rcx + 1]
mov word [rdx], ax
lea rdx, [rdx + 2]
sub r9, 1
jne 0x180003bc0
cmp r8w, 5
jbe 0x180003c03
movzx eax, r8w
cmp word [rsp + rax*2 + 0x36], 0x2e
je 0x180003c03
mov r9d, 5
lea r8, str..dll
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.18000f278
lea rax, [rsp + 0x40]
mov r10, 0xffffffffffffffff
nop
inc r10
cmp word [rax + r10*2], si
jne 0x180003c10
dec r10
cmp r10, 0xffffffffffffffff
jne 0x180003c2a
mov eax, 0xffffffff
jmp 0x180003c6d
lea rcx, [r10 - 1]
lea rdx, [rsp + 0x40]
call fcn.1800035b0
movzx edx, word [rsp + r10*2 + 0x40]
mov r9d, 0x20
mov r8, rsi
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea rcx, [0x180029720]
cmovbe r8, r9
or r8, rdx
movzx edx, al
movzx r9d, r8b
xor r9, rdx
shr eax, 8
xor eax, dword [rcx + r9*4]
not eax
mov ecx, eax
call fcn.180003da0
test rax, rax
jne 0x180003d6f
mov qword [rsp + 0x488], rdi
test rbx, rbx
jne 0x180003c91
mov rdi, rsi
jmp 0x180003c9f
mov rdx, rbp
mov rcx, rbx
call fcn.18000edf8
mov rdi, rax
inc di
cmp di, bp
jae 0x180003d64
cmp si, di
jae 0x180003d05
lea rcx, [rsp + 0x250]
movzx r10d, di
nop dword [rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub r10, 1
jne 0x180003cc0
cmp di, 5
jbe 0x180003d05
movzx eax, di
cmp word [rsp + rax*2 + 0x246], 0x2e
je 0x180003d05
lea r9d, [r10 + 5]
mov edx, 0x104
lea r8, str..dll
lea rcx, [rsp + 0x250]
call fcn.18000f278
add di, di
lea rax, [rsp + 0x250]
mov word [rsp + 0x2a], di
sub di, 2
mov qword [rsp + 0x30], rax
mov rax, qword [0x18009eae0]
mov word [rsp + 0x28], di
test rax, rax
jne 0x180003d4a
mov edx, 0xa09b055e
mov ecx, 0x84c05e40
call fcn.180004340
mov qword [0x18009eae0], rax
test rax, rax
je 0x180003d64
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x28]
xor edx, edx
xor ecx, ecx
call rax
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x488]
mov rax, rsi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180004fc0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x180004340
Capabilities:
Hash data with crc32
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.180003da0
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.180003f80

Function at 0x180004360
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18002d010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edi, edx
mov rbx, rcx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], 0
jne 0x180004385
dec r8
cmp r8, 0xffffffffffffffff
jne 0x1800043a0
mov eax, 0xffffffff
jmp 0x1800043c6
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.1800034e0
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
lea rdx, [0x180029720]
xor eax, dword [rdx + rcx*4]
not eax
mov ecx, eax
call fcn.180003da0
test rax, rax
jne 0x18000445c
mov rax, qword [0x18009ead8]
test rax, rax
jne 0x180004407
mov ecx, 0x84c05e40
call fcn.180003da0
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.180003f80
mov qword [0x18009ead8], rax
test rax, rax
je 0x18000443b
mov rdx, rbx
lea rcx, [rsp + 0x28]
call rax
mov r10, qword [0x18009eae0]
test r10, r10
jne 0x18000443f
mov edx, 0xa09b055e
mov ecx, 0x84c05e40
call fcn.180004340
mov qword [0x18009eae0], rax
mov r10, rax
test rax, rax
jne 0x18000443f
xor eax, eax
jmp 0x18000445c
xor eax, eax
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call r10
mov rax, qword [rsp + 0x20]
mov edx, edi
mov rcx, rax
call fcn.180003f80
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180004fc0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180004ce0
Capabilities:
Check os version
Execute syscall

Disassembly:
xor al, 0x5a
mov r10, qword gs:[0x60]
cmp word [r10 + 0x118], 0xa
je 0x180004d30
cmp word [r10 + 0x118], 6
jne 0x180004d57
cmp word [r10 + 0x11c], 3
je 0x180004d32
cmp word [r10 + 0x11c], 2
je 0x180004d34
cmp word [r10 + 0x11c], 1
jne 0x180004d57
cmp word [r10 + 0x120], 0x1db1
je 0x180004d36
jmp 0x180004d57
inc eax
inc eax
inc eax
cmp qword [0x18009e9b0], 0
jne 0x180004d4c
cmp eax, 0xc390050f
pop r10
mov r10, rcx
jne 0x180004d41
syscall
nop
ret
pop r10
mov r10, rcx
jmp qword [0x18009e9b0]
ret
Function at 0x180014f4c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180014f7c
xor eax, eax
jmp 0x18001503f
mov rbp, rbx
cmp word [rax], si
je 0x180014fa1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180014f88
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180014f84
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180014e9c
movsxd r14, eax
test eax, eax
jne 0x180014fdf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180014f75
mov rcx, r14
call fcn.180012cc8
mov rdi, rax
test rax, rax
jne 0x180014ff8
xor ecx, ecx
call fcn.180012c8c
jmp 0x180014fd4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180014e9c
test eax, eax
jne 0x180015029
mov rcx, rdi
call fcn.180012c8c
jmp 0x180015033
xor ecx, ecx
call fcn.180012c8c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800196b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800196d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800196d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x14001ca60]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x14001ca70]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x14001ca70]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x14001ca70]
mov dword [rax], 1
mov rax, qword [0x14001cab0]
mov rdx, rax
mov rax, qword [0x14001caa0]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x140025024], 1
mov rax, qword [0x14001ca70]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x14001ca90]
mov rdx, rax
mov rax, qword [0x14001ca80]
mov rcx, rax
call sym._initterm
mov rax, qword [0x14001ca70]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x14001ca60]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x14001c9b0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x14001c9b0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x14001ca50]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x140025004]
lea rdx, [0x140025008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x14001c9e0]
mov rax, qword [rax]
mov rdx, qword [0x140025010]
mov qword [rax], rdx
mov rcx, qword [0x140025010]
mov rdx, qword [0x140025008]
mov eax, dword [0x140025004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14002501c], eax
mov eax, dword [0x140025020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14002501c]
mov ecx, eax
call sym.exit
mov eax, dword [0x140025024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14002501c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001ca10]
mov dword [rax], 1
mov rax, qword [0x14001ca20]
mov dword [rax], 1
mov rax, qword [0x14001ca30]
mov dword [rax], 1
mov rax, qword [0x14001c9d0]
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 0x140003795
Capabilities:
Get session user name

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x20], rcx
mov rax, rsp
mov rbx, rax
mov dword [rbp - 0x20], 0x100
mov eax, dword [rbp - 0x20]
mov edx, eax
sub rdx, 1
mov qword [rbp - 8], rdx
mov eax, eax
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.1400080c0
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_GetUserNameA]
call rax
lea rax, [rbp - 0x19]
mov qword [rbp - 0x18], rax
nop
nop
lea rcx, [rbp - 0x19]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp + 0x20]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x19]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
mov rsp, rbx
jmp 0x140003843
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 8]
pop rbx
pop rbp
ret
Function at 0x140005659
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rax, qword [0x1400250b8]
mov rcx, rax
call sym.GdiplusShutdown
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.get_exe_path_abi:cxx11___
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
mov rbx, rax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rax, rbx
mov rcx, rax
call sym._Unwind_Resume
nop