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

Disassembly:
jmp 0x1400e1dcc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400e1e06
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400e1e0b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400e1e54
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400e1e54
dec r8
sub rdx, 1
jne 0x1400e1e3a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14011a78c
Capabilities:
Get geographical location

Disassembly:
jmp 0x14011a78c
sub rsp, 0x28
call fcn.1400050b0
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14011a7de
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14011a7de
sub ecx, 1
je 0x14011a7d7
cmp ecx, 1
je 0x14011a7d0
xor eax, eax
jmp 0x14011a7e3
mov eax, 3
jmp 0x14011a7e3
mov eax, 1
jmp 0x14011a7e3
mov eax, 2
add rsp, 0x28
ret

Function at 0x14011d11c
Capabilities:
Parse pe header

Disassembly:
jmp 0x14011d11c
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011d166
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011d166
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011d166
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011d166
cmp dword [rcx + 0x84], 0xe
jbe 0x14011d166
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14011d168
xor al, al
add rsp, 0x28
ret
Function at 0x14016cf38
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.140002405
sub rsp, rax
mov rax, qword [0x140221bc0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140008003
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14016cf87
mov rax, rbp
jmp 0x14016d093
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x226e70]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400036e8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x226e70]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14016d08f
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14016d08f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400036e8
test rax, rax
js 0x14016d08f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14016d08f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14016d081
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14016d081
cmp byte [rcx], 0xd
jne 0x14016d067
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14016d076
cmp byte [rcx + 1], 0xa
jne 0x14016d076
inc rcx
jmp 0x14016d076
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x221ed0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14016d049
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14016d093
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400045b1
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 0x140172b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140172b60
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov qword [r11 - 0x48], rdx
lea rax, [r11 + 0x18]
mov qword [r11 - 0x40], rcx
mov rbx, rdx
mov qword [r11 - 0x38], rax
mov r14, rcx
lea r12, [0x140000000]
lea r15d, [rbp + 1]
mov edi, ebp
movzx eax, word [r14]
cmp ax, word [rdi + r12 + 0x1f02dc]
je 0x140172bc3
cmp ax, word [rdi + r12 + 0x1f02e4]
jne 0x140172c6a
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172bdf
cmp rax, qword [rbx + 8]
jbe 0x140172bdf
movzx ecx, bp
jmp 0x140172bff
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012f8
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x140172bfd
add qword [rsi + 8], r15
jmp 0x140172bff
mov ecx, ebp
add rdi, 2
mov word [r14], cx
cmp rdi, 6
jne 0x140172ba5
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffd
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172c2a
cmp rax, qword [rbx + 8]
ja 0x140172c46
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x140172c46
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006af0
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172c7e
cmp rax, qword [rbx + 8]
jbe 0x140172c7e
movzx eax, bp
jmp 0x140172c9b
lea rcx, [rsp + 0x20]
call fcn.140004b06
mov eax, 7
jmp 0x140172d41
mov rdi, qword [rbx]
mov rcx, qword [rdi]
call fcn.1400012f8
mov ecx, 0xffff
cmp ax, cx
je 0x140172c99
add qword [rdi + 8], r15
jmp 0x140172c9b
mov eax, ebp
mov word [r14], ax
mov rdi, rbp
cmp ax, word [rdi + r12 + 0x1f02f0]
je 0x140172cbc
cmp ax, word [rdi + r12 + 0x1f0300]
jne 0x140172d5f
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172cd8
cmp rax, qword [rbx + 8]
jbe 0x140172cd8
movzx ecx, bp
jmp 0x140172cf8
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012f8
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x140172cf6
add qword [rsi + 8], r15
jmp 0x140172cf8
mov ecx, ebp
add rdi, 2
mov word [r14], cx
movzx eax, cx
cmp rdi, 0xa
jne 0x140172ca2
mov rax, qword [rbx + 0x10]
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172d20
cmp rax, qword [rbx + 8]
ja 0x140172d3c
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x140172d3c
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006af0
mov eax, 3
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.140004b06
movzx eax, al
xor eax, r15d
lea eax, [rax*4 + 3]
jmp 0x140172d41
Function at 0x14018901c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140221bc0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1401f0430]
mov r14, rcx
call fcn.140003c60
xor edi, edi
test rax, rax
je 0x140189197
mov ebx, edi
call fcn.14000385f
mov ebp, dword [rax]
call fcn.14000385f
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, r14
mov dword [rax], edi
call fcn.1400032c9
mov rsi, rax
test rax, rax
je 0x140189091
call fcn.14000385f
mov dword [rax], ebp
jmp 0x1401890c2
call fcn.14000385f
cmp dword [rax], 0x22
jne 0x14018918f
call fcn.14000385f
xor r8d, r8d
mov rdx, r14
xor ecx, ecx
mov dword [rax], ebp
call fcn.1400032c9
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14018918f
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rsi + rcx*2], di
jne 0x1401890c9
cmp rcx, 3
je 0x140189171
inc rax
cmp word [rsi + rax*2], di
jne 0x1401890dc
cmp rax, 5
jb 0x14018918f
mov r8w, 0x5c
mov dx, 0x2f
cmp word [rsi], r8w
je 0x140189107
cmp word [rsi], dx
jne 0x14018918f
cmp word [rsi + 2], r8w
je 0x140189114
cmp word [rsi + 2], dx
jne 0x14018918f
cmp word [rsi + 4], r8w
je 0x14018918f
cmp word [rsi + 4], dx
je 0x14018918f
lea rcx, [rsi + 6]
jmp 0x140189136
cmp ax, r8w
je 0x14018913e
cmp ax, dx
je 0x14018913e
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x140189127
test ax, ax
je 0x14018918f
add rcx, 2
movzx eax, word [rcx]
test ax, ax
je 0x14018918f
cmp ax, r8w
je 0x140189166
cmp ax, dx
je 0x140189166
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x14018914f
test ax, ax
je 0x140189171
cmp word [rcx + 2], di
jne 0x14018918f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140189182
mov dil, 1
mov rcx, rbx
call fcn.1400037a6
mov al, dil
jmp 0x140189199
mov rcx, rbx
call fcn.1400037a6
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400045b1
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14018ab5c
Capabilities:
Create thread

Disassembly:
jmp 0x14018ab5c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14018ab93
call fcn.14000385f
mov dword [rax], socket
call fcn.140001a3c
xor eax, eax
jmp 0x14018ac25
mov rdx, r9
mov rcx, r8
call fcn.14018a940
mov rbx, rax
test rax, rax
je 0x14018ac22
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x14018a6e0]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14018ac0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400030c6
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14018abf6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14018ac05
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140001320
jmp 0x14018ac22
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14018ac1f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140193dc8
Capabilities:
Parse pe header

Disassembly:
jmp 0x14019406c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140193e37
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140193e37
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140193e37
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140193e37
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140193e37
cmp dword [rcx + 0x84], 0xe
jbe 0x140193e37
cmp dword [rcx + 0xf8], 0
je 0x140193e37
mov ecx, ebx
call fcn.140193fbc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140193b38
nop
cmp dword [rbp + 0x20], 0
jne 0x140193e98
call fcn.14000204a
cmp eax, 1
jne 0x140193e88
xor dl, dl
jmp 0x140193e92
call fcn.140004043
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140193ea3
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140193ee4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140193dc8
Function at 0x1401966b8
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140221bc0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r10, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140196744
lea r8, [rsp + 0x40]
xor edx, edx
mov cl, byte [rbx]
lea rax, [rsp + 0x234]
mov byte [r8], cl
inc r8
cmp r8, rax
je 0x140196716
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x1401966f5
lea rax, [rsp + 0x40]
mov byte [rsp + 0x233], dl
sub r8d, eax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x30]
dec r8d
lea rdx, [rsp + 0x40]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400045b1
add rsp, 0x250
pop rbx
ret
Function at 0x140199fd4
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
xor edi, edi
mov rax, r15
lea rcx, [0x140226e70]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x14019a02a
cmp word [rdx], r9w
jne 0x14019a02a
or byte [rax + rbp*8 + 0x38], 4
jmp 0x14019a02f
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x14019a1ae
mov r11d, reloc.WS2_32.dll_listen
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x14019a179
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x14019a077
cmp rcx, r8
jae 0x14019a097
cmp word [rcx], r9w
jne 0x14019a077
add rax, 4
mov edx, r9d
jmp 0x14019a07a
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x14019a04c
jmp 0x14019a1ae
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14019a172
cmp dword [rsp + 0x80], edi
je 0x14019a172
lea r9, [0x140226e70]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x14019a14c
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x14019a0ff
mov word [rbx], bp
jmp 0x14019a1ab
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], reloc.WS2_32.dll_listen
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x14019a11a
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x14019a1ab
cmp word [rsp + 0x70], bp
jne 0x14019a158
cmp rbx, rsi
je 0x14019a0f7
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140002248
cmp word [rsp + 0x70], bp
je 0x14019a1ae
mov word [rbx], reloc.WS2_32.dll_listen
jmp 0x14019a1ab
mov rcx, r15
lea r9, [0x140226e70]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14019a1a8
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14019a1ae
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
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
Function at 0x1401a1320
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401a1320
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140242050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1401a1385
test rax, rax
jne 0x1401a1373
lea r9, [0x1401f2b58]
lea r8, [0x1401f2b50]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1401a07b0
test rax, rax
je 0x1401a1385
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140008aa3
jmp 0x1401a139f
xor edx, edx
mov rcx, rbp
call fcn.140003b98
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1401a36b4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401a36ca
mov al, 1
jmp 0x1401a3736
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401a36db
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401a3734
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400083b9
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401a3734
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401a3734
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401a3734
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401a3736
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1401b6e50
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1401b6ec3
cmp word [rcx], si
je 0x1401b6ec3
lea rdx, [0x1401f45d0]
call fcn.140004697
test eax, eax
je 0x1401b6ec3
lea rdx, [0x1401f45f0]
mov rcx, rbx
call fcn.140004697
test eax, eax
jne 0x1401b6eb9
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1401b6ee0
mov eax, dword [rsp + 0x30]
jmp 0x1401b6ef2
mov rcx, rbx
call fcn.140001127
jmp 0x1401b6ef2
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401b6ee4
xor eax, eax
jmp 0x1401b6ef2
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1401b6ef2
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401b6f60
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.140002838
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1401b7003
cmp edi, dword [rsp + 0x30]
je 0x1401b6ffc
test ebp, ebp
je 0x1401b6ffc
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1401b6fd8
sub dx, 0x61
cmp dx, 0x19
ja 0x1401b6fe4
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1401b6fc5
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1401b6fe8
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1401b7005
mov eax, 1
jmp 0x1401b7005
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1401bc724
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140221bc0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401bc76e
call fcn.140005790
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14000385f
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.140001a3c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400045b1
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401bc779
lea eax, [rbx + 1]
jmp 0x1401bc75b
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401bc759
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401bc75b
Function at 0x14001137a
Capabilities:
Terminate process

Disassembly:
jmp 0x140017520
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400113ca
Capabilities:
Execute command

Disassembly:
jmp 0x1400157a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400290f5]
call fcn.140011604
nop
lea rdx, str.start
lea rcx, [rbp + 8]
call fcn.1400112b7
nop
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 8]
call fcn.140011177
nop
lea rcx, [rbp + 8]
call fcn.140011096
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140015859
lea rdx, str.Failed_to_open_URL._Error_code:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110b4
mov edx, dword [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140011046]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x14001587d
lea rdx, str.URL_opened_successfully_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b4
lea rdx, [0x140011046]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 8]
call fcn.14001112c
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ee80]
call fcn.140011528
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140011311
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011460
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018870
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018890
xor al, al
jmp 0x140018911
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400188a3
xor al, al
jmp 0x140018911
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400188cd
xor al, al
jmp 0x140018911
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400188e1
xor al, al
jmp 0x140018911
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400188f3
xor al, al
jmp 0x140018911
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001890f
xor al, al
jmp 0x140018911
mov al, 1
add rsp, 0x38
ret