joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180124d98
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180109e40
sub rsp, rax
mov rax, qword [0x180179140]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18011f088
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180124de7
mov rax, rbp
jmp 0x180124eef
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x17b610]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180125dd8
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x17b610]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180124eeb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180124eeb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180125dd8
test rax, rax
js 0x180124eeb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180124eeb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180124edd
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180124edd
cmp byte [rcx], 0xd
jne 0x180124ec3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180124ed2
cmp byte [rcx + 1], 0xa
jne 0x180124ed2
inc rcx
jmp 0x180124ed2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x179570]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180124ea5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180124eef
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180109ea0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180125178
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x18017b610]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1801251cf
cmp word [rdx], r13w
jne 0x1801251cf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1801251d4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1801252f9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18012531a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18012520d
mov rdx, r9
mov word [rbx], cx
jmp 0x180125234
cmp r9, r8
jae 0x180125244
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1801251ee
jmp 0x1801252f9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801252ee
cmp dword [rsp + 0x80], esi
je 0x1801252ee
lea r8, [0x18017b610]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1801252c6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180125296
mov word [rbx], r13w
jmp 0x1801252f6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1801252a3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1801252f6
cmp word [rsp + 0x70], r13w
jne 0x1801252d3
cmp rbx, r14
je 0x180125290
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180125de0
cmp word [rsp + 0x70], r13w
je 0x1801252f9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x18017b610]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1801252f3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1801252f9
Function at 0x18012a1e0
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 0x18012a210
xor eax, eax
jmp 0x18012a2d3
mov rbp, rbx
cmp word [rax], si
je 0x18012a235
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18012a21c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18012a218
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.180128948
movsxd r14, eax
test eax, eax
jne 0x18012a273
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18012a209
mov rcx, r14
call fcn.1801238e4
mov rdi, rax
test rax, rax
jne 0x18012a28c
xor ecx, ecx
call fcn.180122548
jmp 0x18012a268
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.180128948
test eax, eax
jne 0x18012a2bd
mov rcx, rdi
call fcn.180122548
jmp 0x18012a2c7
xor ecx, ecx
call fcn.180122548
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 0x18012a2f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x18012a377
mov rsi, rbx
cmp word [rax], bp
je 0x18012a336
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18012a320
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18012a31c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1801238e4
mov rdi, rax
test rax, rax
je 0x18012a364
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.18014af30
mov rbp, rdi
xor ecx, ecx
call fcn.180122548
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18012d518
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18011f6ac
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18012d5b9
cmp ebx, dword [rsp + 0x30]
je 0x18012d5b2
test esi, esi
je 0x18012d5b2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18012d58d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18012d59a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18012d577
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18012d59e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18012d5bb
mov eax, 1
jmp 0x18012d5bb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1801318b8
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180125de0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180125de0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180131a08
cmp rax, 0xffffffffffffffff
je 0x180131a08
xor edi, edi
test rbp, rbp
jle 0x1801319b3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180122b34
mov rbx, rax
test rax, rax
jne 0x180131940
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1801319a9
mov edx, 0x8000
mov ecx, r14d
call fcn.18013173c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180121fe0
cmp eax, 0xffffffff
je 0x180131989
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180131950
mov edx, r15d
mov ecx, r14d
call fcn.18013173c
jmp 0x1801319a9
cmp byte [rsi + 0x38], dil
je 0x1801319a0
cmp dword [rsi + 0x34], 5
jne 0x1801319a0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1801319a9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180122548
jmp 0x180131a1c
jns 0x180131a1c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180125de0
cmp rax, 0xffffffffffffffff
jne 0x1801319d4
cmp byte [rsi + 0x30], dil
je 0x180131a1c
mov edi, dword [rsi + 0x2c]
jmp 0x180131a1c
mov ecx, r14d
call fcn.18012ae6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180131a1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180131a1c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180131a15
mov eax, dword [rsi + 0x2c]
jmp 0x180131a1a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180125de0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1801323a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1801323c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1801323c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18013d150
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, rcx
test rdx, rdx
jne 0x18013d254
movdqa xmm0, xmmword [0x180162510]
lea rdx, [rsp + 0x30]
movdqa xmm1, xmmword [0x180160cc0]
lea rcx, [rbp - 0x68]
movabs rax, 0xf5d06b73146ce1d
mov qword [rsp + 0x70], rax
movabs rax, 0xf61df23882b5854e
mov qword [rsp + 0x78], rax
movabs rax, 0x16caef8e541171c4
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x80], rax
movdqa xmm0, xmmword [0x180162270]
movdqu xmmword [rsp + 0x40], xmm1
movdqa xmm1, xmmword [0x180160900]
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
call fcn.18000ae40
lea r8, [rbp - 0x28]
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x28], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp + 8], xmm0
mov edx, 0x100000
lea rcx, [0x18017bd90]
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov rbx, qword [rsp + 0x130]
add rsp, 0x120
pop rbp
ret
lea r8, [rbp - 0x78]
call fcn.18013f9c0
test eax, eax
jne 0x18013d306
movdqa xmm0, xmmword [0x180162510]
lea rdx, [rsp + 0x30]
movdqa xmm1, xmmword [0x180160cc0]
lea rcx, [rbp - 0x28]
xor eax, eax
mov word [rsp + 0x60], 0xd1ab
mov dword [rsp + 0x63], eax
mov byte [rsp + 0x67], al
movabs rax, 0xf5d06b73146ce1d
mov qword [rsp + 0x68], rax
movabs rax, 0xf61df23882b5854e
mov qword [rsp + 0x70], rax
movabs rax, 0x16caef8e541171c4
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [0x180162230]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x62], 0x7e
movdqu xmmword [rsp + 0x50], xmm0
call fcn.18000b5b0
lea r8, [rbp - 0x68]
movups xmm2, xmmword [rax]
movups xmmword [rbp - 0x68], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x48], xmm1
mov eax, dword [rax + 0x30]
mov dword [rbp - 0x38], eax
jmp 0x18013d203
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.180143e70
mov rbx, qword [rsp + 0x130]
add rsp, 0x120
pop rbp
ret
Function at 0x1801431e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
xor r15d, r15d
mov r14, rdx
mov r13, rcx
test rdx, rdx
je 0x180143320
mov rax, qword [rcx + 0xf0]
mov rcx, rdx
call rax
cmp eax, 0xffffffff
je 0x180143320
movabs rax, 0x2ea5818e5c665640
mov dword [rbp - 0x49], 0xee22468f
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x49]
movabs rax, 0xd8e85bd0980c611d
mov dword [rbp - 0x45], 0xaeb02cb4
movabs r12, 0x53a4a43623c65917
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x11]
mov dword [rbp - 0x41], 0x2e197e0d
mov dword [rbp - 0x3d], 0xdbc8
mov qword [rbp - 0x39], r12
call fcn.18000bbb0
mov rdi, 0xffffffffffffffff
mov rsi, rdi
movups xmm1, xmmword [rax]
lea rax, [rbp + 0xf]
movups xmmword [rbp + 0xf], xmm1
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x180143293
mov rbx, rdi
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x1801432a0
add rbx, rsi
lea rbx, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1801433eb
nop dword [rax + rax]
inc rdi
cmp word [r14 + rdi*2], r15w
jne 0x1801432e0
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.1801159dc
mov r8, rsi
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.180110790
mov rax, qword [r13 + 0x198]
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call rax
test eax, eax
je 0x180143344
mov r15, rbx
mov rax, r15
lea r11, [rsp + 0xb0]
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
movdqa xmm0, xmmword [0x180160af0]
lea rdx, [rbp - 0x49]
movdqa xmm1, xmmword [0x180160470]
lea rcx, [rbp + 0xf]
movabs rax, 0x2ea5818e5c665640
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], rax
movabs rax, 0xd8e85bd0980c611d
mov qword [rbp - 0x19], rax
movdqu xmmword [rbp - 0x49], xmm0
movdqu xmmword [rbp - 0x39], xmm1
call fcn.18000bfb0
mov r9, r14
lea r8, [rbp - 0x11]
mov edx, 0x100000
lea rcx, [0x18017bd90]
movups xmm1, xmmword [rax]
movups xmmword [rbp - 0x11], xmm1
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 1], xmm0
mov eax, dword [rax + 0x18]
mov dword [rbp + 7], eax
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.180146f60
xor eax, eax
jmp 0x180143323
Function at 0x180143c00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov r15, r9
mov rbx, rdx
mov r13, rcx
cmp r8d, 0x1f
jb 0x180143cf2
mov eax, dword [rdx + 0xb]
lea ecx, [r8 - 0x10]
movsd xmm0, qword [rdx + 3]
lea r14d, [r8 - 0xf]
mov dword [rsp + 0x58], eax
add rcx, rdx
xor eax, eax
movsd qword [rsp + 0x50], xmm0
xorps xmm0, xmm0
mov qword [rbp - 0x50], rax
movups xmmword [rsp + 0x60], xmm0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x60], 0x58
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x64], 1
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x70], 0xc
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x70], 0x10
mov esi, r14d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r14d
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x180143cf2
lea rdx, [rbx + 0xf]
mov r8d, esi
mov rcx, rax
call fcn.18014af30
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, esi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x180143cf9
mov rcx, rdi
call fcn.180146f60
xor eax, eax
jmp 0x180143e40
mov rax, qword [r13 + 0x150]
lea rcx, [rbp + 0xc0]
mov qword [rsp + 0x1b0], r12
lea esi, [r14 - 0x10]
xor r12d, r12d
lea r9, [rsp + 0x60]
mov dword [rsp + 0x48], r12d
mov r8d, esi
mov qword [rsp + 0x40], rcx
mov rdx, rdi
mov dword [rsp + 0x38], r14d
mov rcx, r15
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov dword [rbp + 0xc0], r12d
call rax
mov rcx, rdi
mov r14d, eax
call fcn.180146f60
test r14d, r14d
je 0x180143e31
movdqa xmm0, xmmword [0x180161650]
lea rdx, [rbp - 0x40]
movdqa xmm1, xmmword [0x180162470]
lea rcx, [rbp + 0x48]
xor eax, eax
mov byte [rbp - 0x10], 0xd2
mov dword [rbp - 0xf], eax
mov word [rbp - 0xb], ax
mov byte [rbp - 9], al
movabs rax, 0xa7ec59b91e41e411
mov qword [rbp - 8], rax
movabs rax, 0xacdd8d42ea85a774
mov qword [rbp], rax
movabs rax, 0xed2043d5b9559c50
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp + 8], rax
movdqa xmm0, xmmword [0x180160be0]
movdqu xmmword [rbp - 0x30], xmm1
movdqu xmmword [rbp - 0x20], xmm0
call fcn.18000c9f0
mov r9d, r14d
lea r8, [rbp + 0x10]
mov edx, 0x100000
lea rcx, [0x18017bd90]
movups xmm2, xmmword [rax]
movups xmmword [rbp + 0x10], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp + 0x30], xmm1
movzx eax, word [rax + 0x30]
mov word [rbp + 0x40], ax
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
jmp 0x180143e38
mov byte [rsi + rbx], r12b
mov rax, rbx
mov r12, qword [rsp + 0x1b0]
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x180144850
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x520
xor r14d, r14d
mov rbp, rdx
mov rdi, rcx
test rcx, rcx
je 0x180144902
mov qword [rsp + 0x38], r14
lea r9d, [r14 - 1]
mov qword [rsp + 0x30], r14
mov r8, rcx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test eax, eax
je 0x180144902
lea ecx, [rax + 1]
movsxd rbx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
lea edx, [r14 + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180144902
mov qword [rsp + 0x38], r14
lea r9d, [r14 - 1]
mov qword [rsp + 0x30], r14
mov r8, rdi
mov dword [rsp + 0x28], esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x180144a26
mov rcx, rbx
call fcn.180146f60
movdqa xmm0, xmmword [0x180161f60]
lea rdx, [rsp + 0x80]
movdqa xmm1, xmmword [0x180162340]
lea rcx, [rsp + 0xd8]
movabs rax, 0xf5d06b73146ce1d
mov qword [rsp + 0xc0], rax
movabs rax, 0xc0bc83244ed08cac
mov qword [rsp + 0xc8], rax
movabs rax, 0xba45525d99e91831
movdqu xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0xd0], rax
movdqa xmm0, xmmword [0x1801610f0]
movdqu xmmword [rsp + 0x90], xmm1
movdqa xmm1, xmmword [0x1801603e0]
movdqu xmmword [rsp + 0xa0], xmm0
movdqu xmmword [rsp + 0xb0], xmm1
call fcn.1800095a0
lea r8, [rsp + 0x40]
mov edx, 0x100000
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x40], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rax + 0x30]
movsd qword [rsp + 0x70], xmm0
movzx ecx, word [rax + 0x38]
mov word [rsp + 0x78], cx
lea rcx, [0x18017bd90]
movzx eax, byte [rax + 0x3a]
mov byte [rsp + 0x7a], al
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov r9, rbp
mov qword [rsp + 0x20], rbx
lea r8, str._Browser:__s_User_name:__s_n
mov edx, 0x400
lea rcx, [rsp + 0x120]
call fcn.1800010e0
mov rcx, rbx
movsxd rdi, eax
call fcn.180146f60
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rdi + 1]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180144a06
mov r8, rdi
lea rdx, [rsp + 0x120]
mov rcx, rax
call fcn.18014af30
mov rax, rbx
jmp 0x180144a08
Function at 0x180146300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x110
mov rax, qword [rcx + 0xa0]
mov r11, r8
mov r8d, dword [rsp + 0x140]
mov rdx, r9
mov rcx, r11
mov dword [rsp + 0x128], 0
lea r9, [rsp + 0x128]
mov qword [rsp + 0x20], 0
call rax
mov edi, eax
test eax, eax
jne 0x18014646a
mov qword [rsp + 0x120], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
movdqa xmm0, xmmword [0x180160bd0]
lea rdx, [rsp + 0x70]
movdqa xmm1, xmmword [0x180162010]
lea rcx, [rsp + 0xc8]
mov ebx, eax
movabs rax, 0x7b1bf01e700de3c1
mov qword [rsp + 0xb0], rax
movabs rax, 0x75f9d01b35ea4778
mov qword [rsp + 0xb8], rax
movabs rax, 0x9ed3d8d1642ae47b
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0xc0], rax
movdqa xmm0, xmmword [str.6_4]
movdqu xmmword [rsp + 0x80], xmm1
movdqa xmm1, xmmword [0x180160490]
movdqu xmmword [rsp + 0x90], xmm0
movdqu xmmword [rsp + 0xa0], xmm1
call fcn.180009100
mov r9d, ebx
lea r8, [rsp + 0x30]
mov edx, 0x100000
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x30], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [rax + 0x30]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 0x38]
mov dword [rsp + 0x68], ecx
lea rcx, [0x18017bd90]
movzx eax, byte [rax + 0x3c]
mov byte [rsp + 0x6c], al
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x120]
mov eax, edi
add rsp, 0x110
pop rdi
ret
Function at 0x180146f60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rbx, rcx
test rcx, rcx
je 0x18014706b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, eax
test eax, eax
jne 0x18014706d
movdqa xmm0, xmmword [0x1801620a0]
lea rdx, [rsp + 0x70]
movdqa xmm1, xmmword [0x180160500]
lea rcx, [rsp + 0x50]
movabs rax, 0x8488351c950cfdf5
mov qword [rsp + 0x90], rax
movabs rax, 0xffd248db3b5cd2f8
mov qword [rsp + 0x98], rax
movabs rax, 0x2b7ae7f98d26cfe2
mov qword [rsp + 0xa0], rax
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rsp + 0x80], xmm1
call fcn.1800084e0
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x100000
movups xmm1, xmmword [rax]
movups xmmword [rsp + 0x30], xmm1
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x48], eax
movzx eax, word [rcx + 0x1c]
lea rcx, [0x18017bd90]
mov word [rsp + 0x4c], ax
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, ebx
add rsp, 0xb0
pop rbx
ret
xor eax, eax
add rsp, 0xb0
pop rbx
ret