joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401627d0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x170
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
call fcn.1400012c0
mov rcx, qword [rdi + 0xa0]
xor r9d, r9d
lea edx, [r9 + 0xe]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
add eax, 1
movsxd rbx, eax
lea rcx, [rbx + rbx]
call fcn.1400cf3f0
mov rcx, qword [rdi + 0xa0]
mov r8, rbx
mov r9, rax
mov edx, reloc.WS2_32.dll_listen
mov rsi, rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x28]
mov rbx, rsi
xor esi, esi
test rcx, rcx
mov edx, esi
mov qword [rsp + 0x28], rsi
mov r12, rsi
mov dword [rsp + 0x20], edx
je 0x140162876
call fcn.1400cf470
mov edx, esi
lea rbp, [rdi + 0x40]
mov r15, rsi
mov ecx, 0x100
mov qword [rsp + 0x1a8], r14
nop
nop
movzx eax, word [rbx]
mov r13, rbx
test ax, ax
je 0x1401628be
nop
nop
cmp ax, 0xd
jne 0x1401628b1
cmp word [rbx + 2], 0xa
je 0x14016294a
mov ax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x1401628a0
mov rdi, rbx
sub rdi, r13
sar rdi, 1
cmp esi, edx
jl 0x140162915
lea esi, [rdx + rdx]
test esi, esi
cmove esi, ecx
movsxd rcx, esi
imul rcx, rcx, 0xd0
call fcn.1400cf3f0
movsxd r8, dword [rsp + 0x20]
mov rdx, r12
mov rcx, rax
mov r14, rax
imul r8, r8, 0xd0
call fcn.1401a9000
test r12, r12
je 0x140162909
mov rcx, r12
call fcn.1400cf470
mov dword [rsp + 0x20], esi
mov rsi, qword [rsp + 0x28]
mov r12, r14
lea rcx, [rsp + 0x40]
mov r8d, edi
mov rdx, r13
call fcn.140178540
mov eax, dword [rsp + 0x40]
mov dword [r15 + r12 + 0x10], eax
mov edx, dword [rsp + 0x40]
add edx, 1
cmp edx, 0x100
jle 0x14016295c
mov rcx, rbp
call fcn.1400e4760
mov rcx, rax
jmp 0x140162981
mov rdi, rbx
sub rdi, r13
sar rdi, 1
add rbx, 4
jmp 0x1401628c7
mov rax, qword [rbp + 0x10]
movsxd rdi, edx
lea rcx, [rdi + rax]
cmp rcx, qword [rbp + 0x18]
jb 0x140162975
mov rcx, rbp
call fcn.1400e4690
mov rcx, qword [rbp + 0x10]
lea rax, [rcx + rdi]
mov qword [rbp + 0x10], rax
mov qword [r15 + r12 + 8], rcx
movsxd r8, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.1401a9000
mov rax, qword [r15 + r12 + 8]
movsxd r11, dword [rsp + 0x40]
mov edx, dword [rsp + 0x20]
add esi, 1
mov byte [r11 + rax], 0
add r15, 0x20
cmp word [rbx], 0
mov qword [rsp + 0x28], rsi
mov ecx, 0x100
jne 0x140162890
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x28], r12
mov dword [rax + 0x30], esi
call fcn.1400cf470
lea rcx, [rsp + 0x40]
call fcn.140177510
mov r14, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401a8fd0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140162e30
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0x5b8
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov qword [r11 + 0x20], rbp
mov rdi, rcx
mov qword [r11 - 0x18], rsi
lea rcx, [r11 - 0x248]
mov rbp, r8
mov rsi, rdx
call fcn.1400012c0
lea rcx, [rsp + 0x380]
mov rdx, rsi
call fcn.14017d970
test rbp, rbp
je 0x140162f86
lea rcx, [rsp + 0x160]
call fcn.1400012c0
lea rcx, [rsp + 0x40]
call fcn.1400012c0
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [rsp + 0x164]
add eax, 1
cmp eax, ebx
jle 0x140162ed7
lea rcx, [rsp + 0x160]
mov edx, eax
call fcn.14017d6c0
mov ebx, dword [rsp + 0x164]
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rsp + 0x168]
lea r8d, [rbx + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
mov rcx, rax
sub r11d, eax
mov rax, qword [rsp + 0x168]
lea r9, [rax + rcx*2]
lea rdx, str._s_T_s
lea rcx, [rsp + 0x40]
mov r8, rsi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r11d
call fcn.140178c40
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x380]
call fcn.14017d970
lea rcx, [rsp + 0x40]
call fcn.140177510
lea rcx, [rsp + 0x160]
call fcn.140177510
jmp 0x140162f96
lea rcx, [rsp + 0x380]
mov rdx, rsi
call fcn.14017d970
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, qword [rsp + 0x388]
mov edx, 0xc2
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, qword [rsp + 0x5b0]
test rbp, rbp
mov rbp, qword [rsp + 0x5e8]
je 0x14016305c
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x10]
add r11d, 0xffffffff
mov edx, 0x3ea
mov dword [rsp + 0x30], r11d
mov ebx, r11d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
xor r8d, r8d
mov edx, 0xb1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x10]
mov ebx, dword [rsp + 0x30]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
mov r8, rbx
mov rcx, rax
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x380]
call fcn.140177510
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ea
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x5b8
pop rdi
pop rbx
ret
Function at 0x1401630a0
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0x5b8
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov qword [r11 + 0x20], rbp
mov rdi, rcx
mov qword [r11 - 0x18], rsi
lea rcx, [r11 - 0x248]
mov rsi, r8
mov rbp, rdx
call fcn.1400012c0
test rsi, rsi
je 0x1401631e6
lea rcx, [rsp + 0x160]
call fcn.1400012c0
lea rcx, [rsp + 0x40]
call fcn.1400012c0
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [rsp + 0x164]
add eax, 1
cmp eax, ebx
jle 0x140163137
lea rcx, [rsp + 0x160]
mov edx, eax
call fcn.14017d6c0
mov ebx, dword [rsp + 0x164]
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rsp + 0x168]
lea r8d, [rbx + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x30]
mov rcx, rax
sub r11d, eax
mov rax, qword [rsp + 0x168]
lea r9, [rax + rcx*2]
lea rdx, str._s_T_s
lea rcx, [rsp + 0x40]
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r11d
call fcn.140178c40
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x380]
call fcn.14017d970
lea rcx, [rsp + 0x40]
call fcn.140177510
lea rcx, [rsp + 0x160]
call fcn.140177510
jmp 0x1401631f6
lea rcx, [rsp + 0x380]
mov rdx, rbp
call fcn.14017d970
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, qword [rsp + 0x388]
mov edx, 0xc2
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, qword [rsp + 0x5e8]
test rsi, rsi
mov rsi, qword [rsp + 0x5b0]
je 0x1401632bc
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x10]
add r11d, 0xffffffff
mov edx, 0x3ef
mov dword [rsp + 0x30], r11d
mov ebx, r11d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
xor r8d, r8d
mov edx, 0xb1
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x10]
mov ebx, dword [rsp + 0x30]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
mov r8, rbx
mov rcx, rax
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x380]
call fcn.140177510
mov rcx, qword [rdi + 0x10]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x5b8
pop rdi
pop rbx
ret
Function at 0x140179eb0
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov esi, r8d
mov ebx, edx
call fcn.1400012c0
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
mov edx, esi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140179f48
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140179f92
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140179f92
mov r9d, dword [rsp + 0x24]
cmp eax, r9d
jle 0x140179f35
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.14017d6c0
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
mov edx, esi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140179ef7
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call fcn.14016f010
mov dword [rdi], eax
lea ebx, [rax + 1]
mov eax, dword [rdi + 4]
cmp ebx, eax
jle 0x140179fd7
cmp eax, 0x104
jle 0x140179f71
mov rcx, qword [rdi + 8]
call fcn.1400cf470
cmp ebx, 0x104
jle 0x140179fc8
add ebx, 0xffff
and ebx, 0xffff0000
movsxd rcx, ebx
call fcn.1400cf3f0
mov dword [rdi + 4], ebx
jmp 0x140179fd3
mov eax, dword [rdi + 4]
cmp eax, 1
jge 0x140179fb9
cmp eax, 0x104
jle 0x140179faa
mov rcx, qword [rdi + 8]
call fcn.1400cf470
lea rax, [rdi + 0x10]
mov dword [rdi + 4], 0x104
mov qword [rdi + 8], rax
mov rax, qword [rdi + 8]
mov byte [rax], 0
mov dword [rdi], 0
jmp 0x140179fe3
lea rax, [rdi + 0x10]
mov dword [rdi + 4], 0x104
mov qword [rdi + 8], rax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14016e1a0
lea rcx, [rsp + 0x20]
call fcn.140177510
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret
Function at 0x14017a5e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, rdx
mov rbx, rcx
xor edi, edi
lea edx, [rdi + 1]
mov rcx, rax
call fcn.1400d56d0
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x14017a6cd
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.1400d7960
test eax, eax
je 0x14017a6c4
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14017a68f
lea rcx, [rax + 1]
test rcx, rcx
je 0x14017a6c4
mov edx, 0x80000000
cmp rcx, rdx
jge 0x14017a6c4
lea edx, [rax + 1]
mov rcx, rbx
call fcn.1401775a0
test eax, eax
je 0x14017a6c4
mov rax, qword [rsp + 0x58]
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov r8d, eax
mov rcx, rsi
mov dword [rbx], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14017a6c4
movsxd rax, dword [rbx]
cmp dword [rsp + 0x50], eax
jne 0x14017a6c4
mov rcx, rax
mov rax, qword [rbx + 8]
mov byte [rcx + rax], dil
jmp 0x14017a6bf
mov eax, dword [rbx + 4]
cmp eax, 1
jge 0x14017a6b6
cmp eax, 0x104
jle 0x14017a6a7
mov rcx, qword [rbx + 8]
call fcn.1400cf470
lea rax, [rbx + 0x10]
mov dword [rbx + 4], 0x104
mov qword [rbx + 8], rax
mov rax, qword [rbx + 8]
mov byte [rax], dil
mov dword [rbx], edi
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140180430
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, byte [rcx + 0x5c]
xor edx, edx
mov r8, rcx
cmp dword [rcx + 0x60], edx
jle 0x14018047a
movzx r10d, r9b
lea r11, [0x14020bed0]
nop
nop
mov ecx, dword [r8 + 0x288]
add edx, 1
mov rax, rcx
shl ecx, 8
shr rax, 0x18
xor rax, r10
mov eax, dword [r11 + rax*4]
xor eax, ecx
mov dword [r8 + 0x288], eax
cmp edx, dword [r8 + 0x60]
jl 0x140180450
mov eax, dword [r8 + 0x5c]
mov byte [rax + r8 + 0x80], 1
movsxd rdx, dword [r8 + 0x60]
mov ecx, edx
sub ecx, 1
je 0x140180525
sub ecx, 1
je 0x140180514
cmp ecx, 1
je 0x140180503
mov byte [rdx + r8 + 0x7c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movzx edx, byte [r8 + 0x60]
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
sub dl, 4
mov byte [rcx + rax], dl
add dword [r8 + 0x6c], 1
ret
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], r9b
add dword [r8 + 0x6c], 1
ret
Function at 0x1401a9610
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
sub rsp, 0x30
xor ebx, ebx
test r8, r8
mov rbp, r9
mov rsi, r8
mov r12d, edx
mov r13, rcx
jne 0x1401a965c
call fcn.1401aae70
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401ab170
xor eax, eax
jmp 0x1401a9702
mov qword [rsp + 0x50], rdi
call fcn.1400d9080
mov edx, 0x2d8
mov ecx, 1
call fcn.1401aafa0
test rax, rax
mov rdi, rax
je 0x1401a96e8
call fcn.1401aa360
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.1401aa140
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0x70]
test rcx, rcx
lea r8, [rsp + 0x60]
mov rdx, r12
cmovne r8, rcx
mov r9, rdi
mov rcx, r13
mov qword [rsp + 0x28], r8
lea r8, [0x1401a9570]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rbp
mov qword [rdi + 8], 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1401a96fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.1401a97f0
test ebx, ebx
je 0x1401a96fb
mov ecx, ebx
call fcn.1401aaea0
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret
Function at 0x1401a9dd7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14020cc08]
jne 0x1401a8fea
rol rcx, 0x10
test cx, 0xffff
jne 0x1401a8fe6
repz ret
ror rcx, 0x10
jmp 0x1401a9d30
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14020e5e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14020e6d8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1401a9db5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14020e5e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1401a9dd7
mov rax, qword [rsp + 0x88]
mov qword [0x14020e6d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14020e678], rax
mov rax, qword [0x14020e6d8]
mov qword [0x14020e550], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14020e660], rax
mov dword [0x14020e540], 0xc0000409
mov dword [0x14020e544], 1
mov rax, qword [0x14020cc08]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14020cc10]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14020e5d8], eax
mov ecx, 1
call fcn.1401ad2f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401e8de0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14020e5d8], 0
jne 0x1401a9e5e
mov ecx, 1
call fcn.1401ad2f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1401ab170
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 [0x14020eb20]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1401aa040
test rax, rax
je 0x1401ab1c4
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 0x1401ab259
mov ecx, 2
call fcn.1401ad2f0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1401a9350
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 0x1401ab245
test ebx, ebx
jne 0x1401ab245
lea ecx, [rax + 2]
call fcn.1401ad2f0
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 0x1401ab280
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.WS2_32.dll_bind
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x1401ab2be
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x1401ab2a0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x1401ab4a5
mov ecx, 3
call fcn.1401ae2f0
cmp eax, 1
je 0x1401ab45c
mov ecx, 3
call fcn.1401ae2f0
test eax, eax
jne 0x1401ab2f5
cmp dword [reloc.WS2_32.dll_bind], 1
je 0x1401ab45c
cmp edi, 0xfc
je 0x1401ab4a5
mov qword [rsp + 0x50], rbp
lea rbp, [0x14020eb30]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.1401ae240
test eax, eax
je 0x1401ab339
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401ab0d0
lea rdx, [0x14020eb49]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14020ec4d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1401ab389
lea r8, str._program_name_unknown_
lea rcx, [0x14020eb49]
mov edx, 0x2fb
call fcn.1401ae240
test eax, eax
je 0x1401ab389
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401ab0d0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14020eb49]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x1401ab3d8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x14020ee44]
lea r9d, [rax + 3]
lea r8, [0x1401d20d4]
sub rdx, rcx
call fcn.1401ae120
test eax, eax
je 0x1401ab3d8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401ab0d0
lea r8, [0x1401e93f0]
mov edx, 0x314
mov rcx, rbp
call fcn.1401ae060
test eax, eax
je 0x1401ab404
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401ab0d0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.1401ae060
test eax, eax
je 0x1401ab434
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401ab0d0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.1401ade00
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x1401ab4a5
cmp rax, 0xffffffffffffffff
je 0x1401ab4a5
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1401ab4c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.1401ae2f0
cmp eax, 1
je 0x1401ab4f2
mov ecx, 3
call fcn.1401ae2f0
test eax, eax
jne 0x1401ab5a6
cmp dword [reloc.WS2_32.dll_bind], 1
jne 0x1401ab5a6
mov qword [rsp + 0x48], rbx
lea rbx, reloc.WS2_32.dll_bind
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x1401ab51e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x1401ab508
jmp 0x1401ab592
cmp edi, 0x17
jae 0x1401ab592
mov ecx, 3
call fcn.1401ae2f0
cmp eax, 1
je 0x1401ab549
mov ecx, 3
call fcn.1401ae2f0
test eax, eax
jne 0x1401ab592
cmp dword [reloc.WS2_32.dll_bind], 1
jne 0x1401ab592
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x1401ab592
cmp rax, 0xffffffffffffffff
je 0x1401ab592
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.1401ab280
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret