joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c4480
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebp, ebp
mov rdi, r8
cmp qword [0x14017fd08], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x1400c44f3
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rsp + 0xa0]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x1401d6f88], ax
lea rax, [0x1401d6f88]
mov qword [0x14017fd08], rax
mov word [0x1401d6f8a], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400aa7d0
lea r9, [0x14017fcf0]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov word [rbx], bp
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov word [rbx + rdi*2 - 2], bp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140117fa0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c4554
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x130], rax
movdqa xmm0, xmmword [0x1401522c0]
xor esi, esi
xor edi, edi
mov dword [rsp + 0x30], r9d
mov r13d, 0x400
mov r15d, r9d
mov r14, r8
mov rbp, rdx
mov rbx, rcx
movdqu xmmword [rsp + 0x34], xmm0
cmp rcx, r13
jb 0x1400c45c3
lea eax, [rsi + 1]
cmp eax, 5
jae 0x1400c45c3
mov edi, ebx
inc esi
and edi, 0x3ff
shr rbx, 0xa
inc eax
cmp rbx, r13
jae 0x1400c45a9
mov rcx, rbx
call fcn.1400c4480
cmp rbx, 0x64
jae 0x1400c4662
test edi, edi
je 0x1400c4662
imul eax, edi, 0x3e8
shr eax, 0xa
cmp rbx, 0xa
sbb ecx, ecx
xor edx, edx
and ecx, 0xffffffa6
add ecx, 0x64
div ecx
mov edi, eax
test eax, eax
je 0x1400c4662
cmp rbx, 0xa
jae 0x1400c460e
lea rbx, [0x140142ce4]
cmp eax, 0xa
jb 0x1400c4615
lea rbx, [0x14013ef10]
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x60]
mov ecx, r13d
lea edx, [r9 - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r9d, word [rsp + 0x60]
lea r8, str._c_s_u
mov edx, 0xa
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call fcn.140004dcc
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.1400aa9bc
test r15d, r15d
jne 0x1400c466b
test esi, esi
je 0x1400c4694
mov r8, r14
lea rdx, [0x140142f24]
mov rcx, rbp
call fcn.1400aa9bc
mov ecx, dword [rsp + rsi*4 + 0x30]
call fcn.1400a493c
mov rdx, rax
mov r8, r14
mov rcx, rbp
call fcn.1400aa9bc
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x140
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c4974
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ebp, ebp
movsxd rdi, eax
test eax, eax
je 0x1400c4b53
lea rcx, [rdi*2 + 2]
call fcn.140125214
mov rbx, rax
test rax, rax
je 0x1400c4b53
lea r8d, [rdi + 1]
mov word [rax], bp
mov rdx, rax
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c49e8
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov r12, rax
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x20]
mov r8d, edi
mov rdx, rbx
mov rcx, r12
mov r13, rax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [rsp + 0x30]
cmp dword [rsp + 0x20], ecx
jl 0x1400c4b33
mov rcx, rbx
call fcn.140095154
cmp rax, rbx
je 0x1400c4a88
mov r8, rsi
inc r8
cmp word [rax + r8*2], bp
jne 0x1400c4a5f
lea r8, [r8*2 + 2]
mov rdx, rax
mov rcx, rbx
call fcn.14011a0e0
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c4a7f
mov rsi, rdi
lea r9, [rsp + 0x20]
mov r8d, edi
shr rsi, 1
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea r15, [rsi + 2]
cmp r15, rdi
jae 0x1400c4b27
lea rdi, [rbx + r15*2]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bp
jne 0x1400c4ab3
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jl 0x1400c4b27
cmp rsi, 1
jb 0x1400c4b27
cmp r8, 1
jb 0x1400c4b27
mov eax, 0x2026
lea r8, [r8*2 + 2]
lea rcx, [rdi - 4]
mov word [rdi - 6], ax
mov rdx, rdi
call fcn.14011a0e0
or rbp, 0xffffffffffffffff
xor eax, eax
inc rbp
cmp word [rbx + rbp*2], ax
jne 0x1400c4af6
lea r9, [rsp + 0x20]
mov r8d, ebp
mov rdx, rbx
mov rcx, r12
dec rsi
sub rdi, 2
dec r15
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp r15, rbp
mov ebp, 0
jb 0x1400c4aaf
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call fcn.140123a48
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140117fa0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c4cd8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1400c4d56
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140117fec
mov rbx, rax
test rax, rax
je 0x1400c4d56
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.1400c4e44
mov rcx, rbx
call fcn.140117b78
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c6b58
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov edi, edx
mov rbx, rcx
cmp edx, 0x10d
jne 0x1400c6b83
call fcn.1400c6b00
mov al, 1
jmp 0x1400c6ca0
cmp edi, 0x10e
jne 0x1400c6bbb
mov ecx, 0x4fe
call fcn.1400a493c
mov r8, rax
mov dword [rsp + 0x28], 1
lea rax, [0x14013ef10]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400c6b7c
call fcn.1400c63d0
mov rsi, rax
cmp edi, 0x10f
jne 0x1400c6bdb
or dword [rbx + 0x100], 0xffffffff
lea r8, [0x14013ef10]
jmp 0x1400c6c50
lea eax, [rdi - 0x41a]
cmp eax, 0x7f
ja 0x1400c6c9e
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
call fcn.14011ac30
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x50
xor r8d, r8d
mov dword [rsp + 0x34], 0x20
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x1400c6c9e
mov rax, qword [rbx + 0xe8]
cmp qword [rsp + 0x60], rax
jae 0x1400c6c9e
movsxd rax, dword [rsp + 0x60]
imul rcx, rax, 0x1304
mov dword [rbx + 0x100], eax
add rcx, qword [rbx + 0xe0]
call fcn.140095154
mov r8, rax
lea rdx, str.ActivePath
lea rcx, str.InterfaceThemes
call fcn.1400bc168
mov edx, dword [rbx + 0x1108]
cmp edx, 0xffffffff
je 0x1400c6c7a
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, 8
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, rbx
mov dword [rbx + 0x1108], edi
call fcn.1400c524c
jmp 0x1400c6b7c
xor al, al
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400c8bf0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
lea rdx, str.ViewAddress
lea rcx, str.GeneralToolbar
mov r8d, 1
call fcn.1400bb570
test eax, eax
je 0x1400c8cd6
mov rbx, qword [0x1401bbf98]
lea r8, [rbp - 0x49]
mov edx, 3
mov rcx, rdi
call fcn.1400c7c28
or dword [rbp - 0x41], 4
mov ecx, 0x12
and dword [rbp - 0x19], 0
mov dword [rbp - 0x49], 0x4c
mov dword [rbp - 0x45], 0x173
mov qword [rbp - 0x21], rbx
mov dword [rbp - 1], 3
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0xf
mov dword [rbp - 0x3d], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [rbp - 0x39], eax
mov ecx, reloc.SHELL32.dll_SHRestricted
mov eax, dword [rbp - 0x11]
lea rdx, [rbp + 0x37]
test eax, eax
cmove eax, ecx
mov rcx, rbx
mov dword [rbp - 0x11], eax
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x43]
lea r9, [rbp - 0x49]
mov rcx, qword [rdi + 0x10]
or r8, 0xffffffffffffffff
mov edx, 0x40a
mov dword [rbp - 0x15], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140117fa0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400c9974
Capabilities:
Query or enumerate registry value

Disassembly:
mov r8d, 2
lea rdx, [0x140152998]
lea rcx, str.GeneralToolbar
jmp fcn.1400bb570

Function at 0x1400c9cc8
Capabilities:
Set registry value

Disassembly:
mov r8d, ecx
lea rdx, [0x140152998]
lea rcx, str.GeneralToolbar
jmp fcn.1400bc180

Function at 0x1400d0330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1401e8548], 0
je 0x1400d034b
or eax, 0xffffffff
jmp 0x1400d0453
mov rax, qword [0x1401d83f8]
test rax, rax
jg 0x1400d036b
dec rax
mov qword [0x1401d83f8], rax
and qword [0x1401e8458], 0
jmp 0x1400d0343
mov rbx, qword [0x1401e8458]
test rbx, rbx
jg 0x1400d03bf
mov rcx, qword [0x1401e8448]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400d05d0
movsxd rcx, eax
mov qword [0x1401e8458], rcx
test eax, eax
je 0x1400d0361
cmp rcx, 0xffffffffffffffff
je 0x1400d03f5
mov rax, qword [0x1401e8448]
add qword [0x1401e8498], rbx
mov qword [0x1401e8450], rax
call fcn.1400cfd18
mov rbx, qword [0x1401e8458]
mov rax, qword [0x1401d8430]
test byte [rax + 0x80], 1
je 0x1400d0438
cmp byte [0x1401e9661], 0
je 0x1400d040d
test rbx, rbx
je 0x1400d0438
mov rdx, qword [0x1401e8450]
lea rcx, [0x1401e9668]
mov r8, rbx
call fcn.1400d390c
jmp 0x1400d0431
lea rdx, [0x1401a8992]
lea rcx, [0x1401c97d8]
call fcn.14007cae8
jmp 0x1400d0361
mov rdi, qword [0x1401e8450]
test rbx, rbx
je 0x1400d0438
call fcn.1400d365c
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400d37d0
inc rdi
sub rbx, 1
jne 0x1400d0419
mov rbx, qword [0x1401e8458]
mov rax, qword [0x1401e8450]
dec rbx
mov qword [0x1401e8458], rbx
movzx eax, byte [rax]
inc qword [0x1401e8450]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d36c8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.1400d367c
movsd xmm0, qword [rbx]
mov eax, dword [rbx + 8]
xor ebx, ebx
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
mov ecx, dword [0x1401e95a8]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.1400d37d0
inc rbx
cmp rbx, 0xc
jl 0x1400d3702
mov rax, qword [0x1401d8430]
movzx ecx, byte [0x1401e84c7]
test byte [rax + 0x80], 2
movzx eax, byte [0x1401e84bf]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x1400d3760
or eax, 0xffffffff
jmp 0x1400d37b5
test dil, dil
je 0x1400d37b3
mov rbx, qword [0x1401e8458]
mov rax, qword [0x1401d83f8]
mov rdi, qword [0x1401e8450]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x1400d37b3
mov ecx, dword [0x1401e95a8]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400d37d0
inc rdi
sub ebx, 1
jne 0x1400d3787
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140117fa0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d37d0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x1401e95a0]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x1401e95a8]
xor rdx, rax
movzx eax, dl
lea rdx, [0x1401d7fd0]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x1401e95a4]
imul eax, eax, 0x8088405
mov dword [0x1401e95a0], r8d
inc eax
mov dword [0x1401e95a4], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x1401e95a8], ecx
ret

Function at 0x1400d3ac0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.1400d3fc4
xor edi, edi
test rsi, rsi
je 0x1400d3b38
cmp byte [r14], dil
je 0x1400d3b38
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x1400d3b6c
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x1400d3b41
mov rcx, rbx
call fcn.1400a97f8
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.1400a9820
test rsi, rsi
je 0x1400d3ba3
cmp byte [r14], dil
jne 0x1400d3ba3
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400a9820
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d3fc4
test r15, r15
je 0x1400d3bdc
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x1400d3bcb
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d3bf8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x60]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp r8, 0x40
jbe 0x1400d3c44
call fcn.1400a97f8
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400a9820
mov rdx, rbp
mov rcx, rbx
call fcn.1400d3fc4
mov edi, 0x14
jmp 0x1400d3c4c
mov rcx, rbp
call fcn.14011a0e0
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x1400d3c73
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x1400d3c5f
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.14011ac30
mov rcx, rbx
call fcn.1400a97f8
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400a9820
Function at 0x1400d7a48
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
mov rbx, rcx
mov rax, qword [rax + 0x20]
call qword [case.0x1400a07c7.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400a07c7.0]
cmp eax, 0x40
jne 0x1400d7b3e
cmp byte [rsp + 0x20], 0x4d
jne 0x1400d7b3e
cmp byte [rsp + 0x21], 0x5a
jne 0x1400d7b3e
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x1400a07c7.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400a07c7.0]
cmp eax, 0x108
jne 0x1400d7b3e
cmp byte [rsp + 0x20], 0x50
jne 0x1400d7b3e
cmp byte [rsp + 0x21], 0x45
jne 0x1400d7b3e
cmp byte [rsp + 0x22], 0
jne 0x1400d7b3e
cmp byte [rsp + 0x23], 0
jne 0x1400d7b3e
cmp byte [rsp + 0x38], 0xb
jne 0x1400d7b3e
cmp byte [rsp + 0x39], 1
jne 0x1400d7b25
cmp dword [rbp - 0x6c], 4
jbe 0x1400d7b25
mov eax, dword [rbp - 0x48]
jmp 0x1400d7b40
cmp byte [rsp + 0x38], 0xb
jne 0x1400d7b3e
cmp byte [rsp + 0x39], 2
jne 0x1400d7b3e
cmp dword [rbp - 0x5c], 4
jbe 0x1400d7b3e
mov eax, dword [rbp - 0x38]
jmp 0x1400d7b40
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140117fa0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x1400d93ec
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
mov rax, qword [rax + 0x90]
call qword [case.0x1400a07c7.0]
mov ebx, eax
test eax, eax
js 0x1400d94a7
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400d94b5
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x140157910]
mov rax, qword [rax]
call qword [case.0x1400a07c7.0]
mov ebx, eax
test eax, eax
js 0x1400d9495
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400a07c7.0]
mov ebx, eax
test eax, eax
js 0x1400d9483
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a07c7.0]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a07c7.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a07c7.0]
test ebx, ebx
js 0x1400d94b5
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x1400d9526
cmp qword [rdi + 0x10], 0
je 0x1400d9526
cmp qword [rdi + 0x58], 0
jne 0x1400d9526
mov rdx, qword [rdi + 0x50]
test rdx, rdx
je 0x1400d9526
mov rcx, rdi
call fcn.1400da170
mov rsi, rax
test rax, rax
je 0x1400d9526
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.140123a48
mov rsi, qword [rsp + 0x60]
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d9a34
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x2040
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x2030], rax
cmp dword [rcx + 0x64], 2
lea rbp, [0x14013ef10]
mov rdi, rdx
lea r15, str.open
mov r14d, 1
jne 0x1400d9c01
call fcn.1400d8bf4
xor ebx, ebx
mov edx, eax
test eax, eax
je 0x1400d9bd9
sub edx, r14d
je 0x1400d9bac
sub edx, r14d
je 0x1400d9b75
cmp edx, 2
je 0x1400d9ac7
cmp eax, 5
je 0x1400d9c01
cmp eax, 3
je 0x1400d9c01
jmp 0x1400d9bfb
mov dword [rsp + 0x28], 0x800
lea r9, [rsp + 0x30]
mov r8, rbp
mov qword [rsp + 0x20], rbp
lea rdx, str.http_shellopencommand
mov rcx, 0xffffffff80000000
call fcn.1400bb5b4
mov edx, 0x22
cmp word [rsp + 0x30], dx
jne 0x1400d9c01
lea rcx, [rsp + 0x32]
call fcn.140119228
mov rsi, rax
test rax, rax
je 0x1400d9c01
lea rcx, [rsp + 0x30]
call fcn.140095154
mov rcx, rax
lea rdx, str.opera.exe
mov r8d, 9
call fcn.1400adb58
test eax, eax
jne 0x1400d9c01
mov r9, rdi
mov word [rsi + 2], bx
lea r8, str._newwindow__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.140004dcc
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x1030]
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x30]
jmp 0x1400d9bed
mov r9, rdi
lea r8, str.__new_window__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.140004dcc
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x1030]
mov qword [rsp + 0x20], rdi
lea r8, str.chrome.exe
jmp 0x1400d9bed
mov r9, rdi
lea r8, str._new_window__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.140004dcc
lea r9, [rsp + 0x1030]
lea r8, str.firefox.exe
jmp 0x1400d9be3
mov r9, rdi
lea r8, str.iexplore.exe
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbp
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
cmp rbx, 0x20
ja 0x1400d9c1c
mov dword [rsp + 0x28], r14d
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x20], rbp
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.140117fa0
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400db860
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4360]
mov eax, 0x4460
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rbp + 0x4350], rax
mov rax, rdx
mov rdi, rcx
mov r14d, 0x800
lea rdx, [rbp + 0xf50]
mov r8d, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400dbab6
mov r9d, r14d
lea r8, [rbp + 0xf50]
lea rdx, [rbp + 0xf50]
lea rcx, [0x1401bc3f0]
call fcn.140057058
lea rcx, [rbp + 0xf50]
call fcn.140095154
mov edx, 0x3a
mov rcx, rax
call fcn.140119228
xor esi, esi
test rax, rax
je 0x1400db93c
cmp byte [0x1401eb6aa], sil
jne 0x1400db93c
lea ecx, [rsi + 0x65]
call fcn.1400a493c
mov ecx, 0x528
mov rbx, rax
call fcn.1400a493c
lea r9d, [rsi + 0x31]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.1400e7c84
cmp eax, 1
jne 0x1400dbab2
mov byte [0x1401eb6aa], al
mov r8, r14
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.1400aa9e4
lea rcx, [rsp + 0x50]
call fcn.1400951a8
mov ebx, 0xa00
cmp word [rsp + 0x50], si
jne 0x1400dba58
mov r8, r14
lea rdx, [rbp + 0x3350]
lea rcx, [rbp + 0xf50]
call fcn.1400943e8
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x3350]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400dbab6
test dword [rsp + 0x40], 0x80000
je 0x1400dbab6
mov ecx, 0x65e
call fcn.1400a493c
lea r9, [rbp + 0x3350]
jmp 0x1400dba7e
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140015594
test al, al
jne 0x1400db96a
lea rcx, [rsp + 0x50]
call fcn.140095154
cmp word [rax], si
je 0x1400dba6f
mov ecx, 0x14e
call fcn.1400a493c
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str.__s__n_s
mov rdx, rbx
lea rcx, [rbp + 0x1f50]
call fcn.140004dcc
mov ecx, 0x65
call fcn.1400a493c
mov r8, rax
lea rdx, [rbp + 0x1f50]
mov r9d, 0x34
mov rcx, rdi
call fcn.1400e7c84
cmp eax, 6
jne 0x1400dbab2
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.140083924
lea rcx, [rsp + 0x50]
call fcn.140083dd0
test al, al
je 0x1400db9d9
jmp 0x1400db96a
mov ecx, 0x6c
call fcn.1400a493c
lea r9, [rsp + 0x50]
mov r8, rax
lea rcx, [rbp + 0x1f50]
mov rdx, rbx
call fcn.140004dcc
mov ecx, 0x65
call fcn.1400a493c
mov r8, rax
lea rdx, [rbp + 0x1f50]
mov r9d, 0x30
mov rcx, rdi
call fcn.1400e7c84
xor al, al
jmp 0x1400dbab8
mov al, 1
mov rcx, qword [rbp + 0x4350]
xor rcx, rsp
call fcn.140117fa0
lea r11, [rsp + 0x4460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret