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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebp, ebp
mov rdi, r8
cmp qword [0x140180d08], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x1400c5d6f
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 [0x1401d7f88], ax
lea rax, [0x1401d7f88]
mov qword [0x140180d08], rax
mov word [0x1401d7f8a], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400ac014
lea r9, [0x140180cf0]
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.140119970
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c5dd0
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 [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x130], rax
movdqa xmm0, xmmword [0x1401532d0]
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 0x1400c5e3f
lea eax, [rsi + 1]
cmp eax, 5
jae 0x1400c5e3f
mov edi, ebx
inc esi
and edi, 0x3ff
shr rbx, 0xa
inc eax
cmp rbx, r13
jae 0x1400c5e25
mov rcx, rbx
call fcn.1400c5cfc
cmp rbx, 0x64
jae 0x1400c5ede
test edi, edi
je 0x1400c5ede
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 0x1400c5ede
cmp rbx, 0xa
jae 0x1400c5e8a
lea rbx, [0x140143cf4]
cmp eax, 0xa
jb 0x1400c5e91
lea rbx, [0x14013ff10]
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.1400ac200
test r15d, r15d
jne 0x1400c5ee7
test esi, esi
je 0x1400c5f10
mov r8, r14
lea rdx, [0x140143f34]
mov rcx, rbp
call fcn.1400ac200
mov ecx, dword [rsp + rsi*4 + 0x30]
call fcn.1400a617c
mov rdx, rax
mov r8, r14
mov rcx, rbp
call fcn.1400ac200
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140119970
add rsp, 0x140
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c61f0
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 [0x140182c48]
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 0x1400c63cf
lea rcx, [rdi*2 + 2]
call fcn.140126be4
mov rbx, rax
test rax, rax
je 0x1400c63cf
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 0x1400c6264
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 0x1400c63af
mov rcx, rbx
call fcn.14009694c
cmp rax, rbx
je 0x1400c6304
mov r8, rsi
inc r8
cmp word [rax + r8*2], bp
jne 0x1400c62db
lea r8, [r8*2 + 2]
mov rdx, rax
mov rcx, rbx
call fcn.14011bab0
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c62fb
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 0x1400c63a3
lea rdi, [rbx + r15*2]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bp
jne 0x1400c632f
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jl 0x1400c63a3
cmp rsi, 1
jb 0x1400c63a3
cmp r8, 1
jb 0x1400c63a3
mov eax, 0x2026
lea r8, [r8*2 + 2]
lea rcx, [rdi - 4]
mov word [rdi - 6], ax
mov rdx, rdi
call fcn.14011bab0
or rbp, 0xffffffffffffffff
xor eax, eax
inc rbp
cmp word [rbx + rbp*2], ax
jne 0x1400c6372
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 0x1400c632b
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.140125418
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140119970
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 0x1400c6554
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 0x1400c65d2
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1401199bc
mov rbx, rax
test rax, rax
je 0x1400c65d2
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.1400c66c0
mov rcx, rbx
call fcn.140119548
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c83c8
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 0x1400c83f3
call fcn.1400c8370
mov al, 1
jmp 0x1400c8510
cmp edi, 0x10e
jne 0x1400c842b
mov ecx, 0x4fe
call fcn.1400a617c
mov r8, rax
mov dword [rsp + 0x28], 1
lea rax, [0x14013ff10]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400c83ec
call fcn.1400c7c4c
mov rsi, rax
cmp edi, 0x10f
jne 0x1400c844b
or dword [rbx + 0x100], 0xffffffff
lea r8, [0x14013ff10]
jmp 0x1400c84c0
lea eax, [rdi - 0x41a]
cmp eax, 0x7f
ja 0x1400c850e
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
call fcn.14011c600
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 0x1400c850e
mov rax, qword [rbx + 0xe8]
cmp qword [rsp + 0x60], rax
jae 0x1400c850e
movsxd rax, dword [rsp + 0x60]
imul rcx, rax, 0x1304
mov dword [rbx + 0x100], eax
add rcx, qword [rbx + 0xe0]
call fcn.14009694c
mov r8, rax
lea rdx, str.ActivePath
lea rcx, str.InterfaceThemes
call fcn.1400bd9a8
mov edx, dword [rbx + 0x1108]
cmp edx, 0xffffffff
je 0x1400c84ea
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.1400c6ac8
jmp 0x1400c83ec
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 0x1400ca460
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 [0x140182c48]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
lea rdx, str.ViewAddress
lea rcx, str.GeneralToolbar
mov r8d, 1
call fcn.1400bcdb0
test eax, eax
je 0x1400ca546
mov rbx, qword [0x1401bcf98]
lea r8, [rbp - 0x49]
mov edx, 3
mov rcx, rdi
call fcn.1400c9498
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.140119970
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400cb1e4
Capabilities:
Query or enumerate registry value

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

Function at 0x1400cb538
Capabilities:
Set registry value

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

Function at 0x1400d1bc4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1401e9548], 0
je 0x1400d1bdf
or eax, 0xffffffff
jmp 0x1400d1ce7
mov rax, qword [0x1401d93f8]
test rax, rax
jg 0x1400d1bff
dec rax
mov qword [0x1401d93f8], rax
and qword [0x1401e9458], 0
jmp 0x1400d1bd7
mov rbx, qword [0x1401e9458]
test rbx, rbx
jg 0x1400d1c53
mov rcx, qword [0x1401e9448]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400d1e64
movsxd rcx, eax
mov qword [0x1401e9458], rcx
test eax, eax
je 0x1400d1bf5
cmp rcx, 0xffffffffffffffff
je 0x1400d1c89
mov rax, qword [0x1401e9448]
add qword [0x1401e9498], rbx
mov qword [0x1401e9450], rax
call fcn.1400d15ac
mov rbx, qword [0x1401e9458]
mov rax, qword [0x1401d9430]
test byte [rax + 0x80], 1
je 0x1400d1ccc
cmp byte [0x1401ea661], 0
je 0x1400d1ca1
test rbx, rbx
je 0x1400d1ccc
mov rdx, qword [0x1401e9450]
lea rcx, [0x1401ea668]
mov r8, rbx
call fcn.1400d519c
jmp 0x1400d1cc5
lea rdx, [0x1401a9992]
lea rcx, [0x1401ca7d8]
call fcn.14007e268
jmp 0x1400d1bf5
mov rdi, qword [0x1401e9450]
test rbx, rbx
je 0x1400d1ccc
call fcn.1400d4eec
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400d5060
inc rdi
sub rbx, 1
jne 0x1400d1cad
mov rbx, qword [0x1401e9458]
mov rax, qword [0x1401e9450]
dec rbx
mov qword [0x1401e9458], rbx
movzx eax, byte [rax]
inc qword [0x1401e9450]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d4f58
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.1400d4f0c
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 [0x1401ea5a8]
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.1400d5060
inc rbx
cmp rbx, 0xc
jl 0x1400d4f92
mov rax, qword [0x1401d9430]
movzx ecx, byte [0x1401e94c7]
test byte [rax + 0x80], 2
movzx eax, byte [0x1401e94bf]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x1400d4ff0
or eax, 0xffffffff
jmp 0x1400d5045
test dil, dil
je 0x1400d5043
mov rbx, qword [0x1401e9458]
mov rax, qword [0x1401d93f8]
mov rdi, qword [0x1401e9450]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x1400d5043
mov ecx, dword [0x1401ea5a8]
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.1400d5060
inc rdi
sub ebx, 1
jne 0x1400d5017
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140119970
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d5060
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x1400d5350
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 [0x140182c48]
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.1400d5854
xor edi, edi
test rsi, rsi
je 0x1400d53c8
cmp byte [r14], dil
je 0x1400d53c8
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 0x1400d53fc
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x1400d53d1
mov rcx, rbx
call fcn.1400ab03c
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.1400ab064
test rsi, rsi
je 0x1400d5433
cmp byte [r14], dil
jne 0x1400d5433
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.1400ab064
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d5854
test r15, r15
je 0x1400d546c
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x1400d545b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140119970
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d5488
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 0x1400d54d4
call fcn.1400ab03c
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400ab064
mov rdx, rbp
mov rcx, rbx
call fcn.1400d5854
mov edi, 0x14
jmp 0x1400d54dc
mov rcx, rbp
call fcn.14011bab0
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x1400d5503
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x1400d54ef
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.14011c600
mov rcx, rbx
call fcn.1400ab03c
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.1400ab064
Function at 0x1400d92d8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140182c48]
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.0x1400a1ff7.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400a1ff7.0]
cmp eax, 0x40
jne 0x1400d93ce
cmp byte [rsp + 0x20], 0x4d
jne 0x1400d93ce
cmp byte [rsp + 0x21], 0x5a
jne 0x1400d93ce
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x1400a1ff7.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400a1ff7.0]
cmp eax, 0x108
jne 0x1400d93ce
cmp byte [rsp + 0x20], 0x50
jne 0x1400d93ce
cmp byte [rsp + 0x21], 0x45
jne 0x1400d93ce
cmp byte [rsp + 0x22], 0
jne 0x1400d93ce
cmp byte [rsp + 0x23], 0
jne 0x1400d93ce
cmp byte [rsp + 0x38], 0xb
jne 0x1400d93ce
cmp byte [rsp + 0x39], 1
jne 0x1400d93b5
cmp dword [rbp - 0x6c], 4
jbe 0x1400d93b5
mov eax, dword [rbp - 0x48]
jmp 0x1400d93d0
cmp byte [rsp + 0x38], 0xb
jne 0x1400d93ce
cmp byte [rsp + 0x39], 2
jne 0x1400d93ce
cmp dword [rbp - 0x5c], 4
jbe 0x1400d93ce
mov eax, dword [rbp - 0x38]
jmp 0x1400d93d0
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140119970
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x1400dac7c
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.0x1400a1ff7.0]
mov ebx, eax
test eax, eax
js 0x1400dad37
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400dad45
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x140158940]
mov rax, qword [rax]
call qword [case.0x1400a1ff7.0]
mov ebx, eax
test eax, eax
js 0x1400dad25
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400a1ff7.0]
mov ebx, eax
test eax, eax
js 0x1400dad13
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a1ff7.0]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a1ff7.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a1ff7.0]
test ebx, ebx
js 0x1400dad45
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x1400dadb6
cmp qword [rdi + 0x10], 0
je 0x1400dadb6
cmp qword [rdi + 0x58], 0
jne 0x1400dadb6
mov rdx, qword [rdi + 0x50]
test rdx, rdx
je 0x1400dadb6
mov rcx, rdi
call fcn.1400dba00
mov rsi, rax
test rax, rax
je 0x1400dadb6
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.140125418
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 0x1400db2c4
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.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x2030], rax
cmp dword [rcx + 0x64], 2
lea rbp, [0x14013ff10]
mov rdi, rdx
lea r15, str.open
mov r14d, 1
jne 0x1400db491
call fcn.1400da484
xor ebx, ebx
mov edx, eax
test eax, eax
je 0x1400db469
sub edx, r14d
je 0x1400db43c
sub edx, r14d
je 0x1400db405
cmp edx, 2
je 0x1400db357
cmp eax, 5
je 0x1400db491
cmp eax, 3
je 0x1400db491
jmp 0x1400db48b
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.1400bcdf4
mov edx, 0x22
cmp word [rsp + 0x30], dx
jne 0x1400db491
lea rcx, [rsp + 0x32]
call fcn.14011abf8
mov rsi, rax
test rax, rax
je 0x1400db491
lea rcx, [rsp + 0x30]
call fcn.14009694c
mov rcx, rax
lea rdx, str.opera.exe
mov r8d, 9
call fcn.1400af398
test eax, eax
jne 0x1400db491
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 0x1400db47d
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 0x1400db47d
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 0x1400db473
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 0x1400db4ac
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.140119970
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 0x1400dd0f0
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.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
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 0x1400dd346
mov r9d, r14d
lea r8, [rbp + 0xf50]
lea rdx, [rbp + 0xf50]
lea rcx, [0x1401bd3f0]
call fcn.140058868
lea rcx, [rbp + 0xf50]
call fcn.14009694c
mov edx, 0x3a
mov rcx, rax
call fcn.14011abf8
xor esi, esi
test rax, rax
je 0x1400dd1cc
cmp byte [0x1401ec6aa], sil
jne 0x1400dd1cc
lea ecx, [rsi + 0x65]
call fcn.1400a617c
mov ecx, 0x528
mov rbx, rax
call fcn.1400a617c
lea r9d, [rsi + 0x31]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.1400e9514
cmp eax, 1
jne 0x1400dd342
mov byte [0x1401ec6aa], al
mov r8, r14
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.1400ac228
lea rcx, [rsp + 0x50]
call fcn.1400969a0
mov ebx, 0xa00
cmp word [rsp + 0x50], si
jne 0x1400dd2e8
mov r8, r14
lea rdx, [rbp + 0x3350]
lea rcx, [rbp + 0xf50]
call fcn.140095be0
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 0x1400dd346
test dword [rsp + 0x40], 0x80000
je 0x1400dd346
mov ecx, 0x65e
call fcn.1400a617c
lea r9, [rbp + 0x3350]
jmp 0x1400dd30e
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140015644
test al, al
jne 0x1400dd1fa
lea rcx, [rsp + 0x50]
call fcn.14009694c
cmp word [rax], si
je 0x1400dd2ff
mov ecx, 0x14e
call fcn.1400a617c
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.1400a617c
mov r8, rax
lea rdx, [rbp + 0x1f50]
mov r9d, 0x34
mov rcx, rdi
call fcn.1400e9514
cmp eax, 6
jne 0x1400dd342
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.1400850f4
lea rcx, [rsp + 0x50]
call fcn.1400855a0
test al, al
je 0x1400dd269
jmp 0x1400dd1fa
mov ecx, 0x6c
call fcn.1400a617c
lea r9, [rsp + 0x50]
mov r8, rax
lea rcx, [rbp + 0x1f50]
mov rdx, rbx
call fcn.140004dcc
mov ecx, 0x65
call fcn.1400a617c
mov r8, rax
lea rdx, [rbp + 0x1f50]
mov r9d, 0x30
mov rcx, rdi
call fcn.1400e9514
xor al, al
jmp 0x1400dd348
mov al, 1
mov rcx, qword [rbp + 0x4350]
xor rcx, rsp
call fcn.140119970
lea r11, [rsp + 0x4460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret