joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017c4a0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x20]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x14017c4e0
lea rdx, str.Couldnt_set_desired_mode
call fcn.140147bd0
lea eax, [rdi + 0x11]
jmp 0x14017c645
cmp edx, 0xc8
je 0x14017c4f7
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.140147cc0
cmp sil, 0x13
jne 0x14017c50d
mov rdx, rbp
mov rcx, rbx
call fcn.14017c1c0
jmp 0x14017c641
cmp sil, 0x14
jne 0x14017c623
cmp byte [rbx + 0x6f8], 2
mov rbp, qword [rbx + 0x20]
jne 0x14017c58b
mov rax, qword [rbx + 0x1c0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14017c58b
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.140144100
test eax, eax
jne 0x14017c641
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x2f]
call fcn.1401d7f60
test rax, rax
je 0x14017c580
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x14017c58b
mov rcx, qword [rsp + 0x40]
call qword [fcn.1401de030]
mov rdx, qword [rbx + 0x750]
test rdx, rdx
jne 0x14017c5b0
cmp byte [rbx + 0x1302], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x1402a802d]
test rdi, rdi
mov r9, r8
lea rax, [0x1402ae5f4]
cmovne r9, rdi
lea rcx, [0x1402462c4]
cmovne r8, rax
call fcn.1401461d0
mov rcx, rdi
mov rsi, rax
call qword [fcn.1401de030]
test rsi, rsi
jne 0x14017c5ee
lea edi, [rsi + 0x1b]
jmp 0x14017c643
lea rdx, [rbp + 0x628]
mov r9, rsi
lea r8, [0x1402af3bc]
mov rcx, rbx
call fcn.140197d50
mov rcx, rsi
mov edi, eax
call qword [fcn.1401de030]
test edi, edi
jne 0x14017c643
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x736], 0x1f
jmp 0x14017c643
cmp sil, 0x15
jne 0x14017c62e
mov r8b, reloc.WS2_32.dll_listen
jmp 0x14017c637
cmp sil, 0x16
jne 0x14017c643
mov r8b, recv
mov dl, 1
mov rcx, rbx
call fcn.14017bd20
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140189360
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1402e7900]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x1401894ed
inc rsi
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rsi
sub r14, 2
call fcn.1401f5180
cmp r14, rax
je 0x140189464
cmp byte [rsi + rax], 0x25
lea r15, [rsi + rax]
mov r14, rax
jne 0x1401894ed
xor edi, edi
lea rdx, [0x140251398]
lea rcx, [r15 + 1]
lea rbx, [r15 + 1]
lea r8d, [rdi + 2]
call fcn.1401ef140
test eax, eax
jne 0x1401893f2
movzx eax, byte [r15 + 3]
lea rcx, [r15 + 3]
test al, al
je 0x1401893f2
cmp al, 0x5d
cmovne rbx, rcx
movzx eax, byte [rbx]
test al, al
je 0x1401894ed
mov rcx, rdi
cmp al, 0x5d
je 0x14018941d
cmp rcx, 0xf
jge 0x14018941d
inc rbx
mov byte [rsp + rcx + 0x20], al
inc edi
inc rcx
movzx eax, byte [rbx]
test al, al
jne 0x140189400
test edi, edi
je 0x1401894ed
cmp byte [rbx], 0x5d
jne 0x1401894ed
movsxd rax, edi
cmp rax, 0x10
jae 0x14018950e
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x14014f152.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x14018945e
mov eax, 7
jmp 0x1401894f2
mov word [r15], 0x5d
lea rbx, [r14 + rsi]
mov rdx, rsi
lea r8, [rsp + 0x20]
mov byte [rbx], 0
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1401894ed
lea r9d, [rax + 0x2d]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea ecx, [rax + 0x16]
call sub.WS2_32.dll_inet_ntop
test rax, rax
je 0x1401894e6
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x1401894b0
cmp rdx, r14
jae 0x1401894e6
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1401894d0
lea rbx, [rdx + rsi]
mov byte [rbx + 1], al
mov byte [rbx], 0x5d
xor eax, eax
jmp 0x1401894f2
mov eax, socket
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401d5b70
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1401d5dc0
int3
Function at 0x14018a560
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor ebp, ebp
mov qword [r9], rbp
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x14018a6fe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14018a6de
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14018a5ce
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14018a5c0
inc rbx
jmp 0x14018a5d0
xor ebx, ebx
mov eax, dword [rdi + 4]
cmp eax, 2
jne 0x14018a5de
lea r14d, [rax + 0xe]
jmp 0x14018a5eb
cmp eax, 0x17
jne 0x14018a684
lea r14d, [rax + 5]
cmp qword [rdi + 0x20], 0
je 0x14018a684
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14018a684
cmp rax, r14
jb 0x14018a684
lea rcx, [rbx + 0x30]
add rcx, r14
call qword [fcn.1401de460]
mov rsi, rax
test rax, rax
je 0x14018a693
mov ecx, dword [rdi]
mov r8, r14
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rsi + 0x30]
mov dword [rax + 0x10], r14d
xor eax, eax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x20], rcx
mov rdx, qword [rdi + 0x20]
call fcn.14021a050
test rbx, rbx
je 0x14018a671
mov rcx, qword [rsi + 0x20]
mov r8, rbx
add rcx, r14
mov qword [rsi + 0x18], rcx
mov rdx, qword [rdi + 0x18]
call fcn.14021a050
test rbp, rbp
cmove rbp, rsi
test r15, r15
je 0x14018a681
mov qword [r15 + 0x28], rsi
mov r15, rsi
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x14018a5b0
jmp 0x14018a699
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x58]
test rcx, rcx
je 0x14018a6b3
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x14018a6d9
test rbp, rbp
je 0x14018a6d5
nop dword [rax]
mov rbx, qword [rbp + 0x28]
mov rcx, rbp
call qword [fcn.1401de030]
mov rbp, rbx
test rbx, rbx
jne 0x14018a6c0
xor ebp, ebp
jmp 0x14018a6ed
test rbp, rbp
jne 0x14018a6ed
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rbp
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
Function at 0x1401938b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x1402e7900]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call fcn.140145bd0
mov r13, rax
test rax, rax
jne 0x14019392e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14016caa0
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140147bd0
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.1401de030]
jmp 0x140193ae8
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1401939a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14016caa0
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140147bd0
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x140193ad2
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1401939ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14016caa0
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140147bd0
mov ebx, 0x4d
jmp 0x140193ac6
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x140193a1f
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.140147bd0
mov ebx, 0x4d
jmp 0x140193abe
lea rcx, [rdi + 1]
call qword [fcn.1401de460]
mov rbp, rax
test rax, rax
jne 0x140193a39
lea ebx, [rax + 0x1b]
jmp 0x140193abe
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x140193a98
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140193b0a
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x140193a8f
mov edi, esi
jmp 0x140193a91
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x140193a50
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.140193610
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.1401de030]
mov rcx, r13
call fcn.1401de030
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401d5b70
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.14016caa0
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.140147bd0
mov ebx, 0x4d
jmp 0x140193ab6
Function at 0x14019d560
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.1401de460]
mov rdi, rax
test rax, rax
jne 0x14019d5a2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14019d5e9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14019d642
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14019d600
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14019d683
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140253e2a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140253e2b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14019d650
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1401b50c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1401b49b8
mov ebx, eax
test eax, eax
jne 0x1401b50f4
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1401b5150
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b5147
test al, 0x10
je 0x1401b5147
bt eax, 0xa
jae 0x1401b5140
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1401b5168
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1401b513c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1401b5160
test edi, edi
jne 0x1401b5147
and dword [rsp + 0x3c], 0
jmp 0x1401b514c
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1401f6494
int3
Function at 0x1401b6ba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov r15, rcx
and qword [rdx], 0
and qword [r11 + 0x20], 0
lea rax, [r11 + 0x20]
mov qword [r11 - 0x38], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlLeapSecondInformation
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401b6bef
xor eax, eax
jmp 0x1401b6cc8
and dword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LeapSeconds
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [rsp + 0x70], eax
mov eax, 0xaaaaaaab
mul dword [rsp + 0x68]
shr edx, 3
mov ecx, edx
mov qword [r14], rcx
xor esi, esi
mov qword [rsp + 0x30], rsi
test edi, edi
je 0x1401b6c46
cmp edi, 0xea
jne 0x1401b6cae
cmp rcx, r15
jbe 0x1401b6cae
mov eax, recv
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1401d6924
mov rsi, rax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LeapSeconds
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1401b6ca3
and qword [r14], 0
jmp 0x1401b6cae
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1401b6cc5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x1401b7340
Capabilities:
Get geographical location

Disassembly:
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 0x1401b737a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401b737f
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 0x1401b73c8
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 0x1401b73c8
dec r8
sub rdx, 1
jne 0x1401b73ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401ce910
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1401bb346
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1401bb329
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1401bb314
Function at 0x1401d6b08
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401d6b52
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401d6b52
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401d6b52
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401d6b52
cmp dword [rcx + 0x84], 0xe
jbe 0x1401d6b52
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401d6b54
xor al, al
add rsp, 0x28
ret

Function at 0x1401defec
Capabilities:
Create thread

Disassembly:
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 0x1401df023
call fcn.1401dcd3c
mov dword [rax], socket
call fcn.1401de3c8
xor eax, eax
jmp 0x1401df0b1
mov rdx, r9
mov rcx, r8
call fcn.1401def88
mov rbx, rax
test rax, rax
je 0x1401df0ae
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401deeb4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401df09b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401dccb0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401df082
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401df091
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1401fd1b0
jmp 0x1401df0ae
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401df0ab
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 0x1401ee84c
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.1401d67f0
sub rsp, rax
mov rax, qword [0x1402e7900]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401fc37c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401ee89b
mov rax, rbp
jmp 0x1401ee9a3
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 + 0x2ed650]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401f63a0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2ed650]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401ee99f
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 0x1401ee99f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401f63a0
test rax, rax
js 0x1401ee99f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401ee99f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401ee991
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401ee991
cmp byte [rcx], 0xd
jne 0x1401ee977
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401ee986
cmp byte [rcx + 1], 0xa
jne 0x1401ee986
inc rcx
jmp 0x1401ee986
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2e7b50]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401ee959
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401ee9a3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401d5b70
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 0x1401f0704
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1401df130
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1401f074f
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1401f0783
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401f0783
call fcn.1401fda20
xor ebx, ebx
test eax, eax
jne 0x1401f0771
cmp byte [rbp - 0x48], bl
je 0x1401f076a
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1401f0783
cmp byte [rbp - 0x48], bl
je 0x1401f0781
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1401e1750
mov esi, eax
test eax, eax
je 0x1401f07bf
call fcn.1401dcd3c
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1401f0818
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1401e1750
mov edi, eax
test eax, eax
je 0x1401f07fb
call fcn.1401dcd3c
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1401f080a
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.1402022bc
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1401f0818
mov rcx, qword [rbp - 0x50]
call fcn.1401fd1b0
cmp byte [rbp - 8], bl
je 0x1401f0826
mov rcx, qword [rbp - 0x20]
call fcn.1401fd1b0
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1401f4c48
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 [0x1402e7900]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14027de18]
mov rbp, rcx
call fcn.1401f5550
xor edi, edi
test rax, rax
je 0x1401f4d2e
mov ebx, edi
call fcn.1401dcd3c
mov r14d, dword [rax]
call fcn.1401dcd3c
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140203468
mov rsi, rax
test rax, rax
je 0x1401f4cbf
call fcn.1401dcd3c
mov dword [rax], r14d
jmp 0x1401f4ce9
call fcn.1401dcd3c
cmp dword [rax], 0x22
jne 0x1401f4d26
call fcn.1401dcd3c
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140203468
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1401f4d26
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1401f4ced
cmp rax, 3
je 0x1401f4d08
mov rcx, rsi
call fcn.1401f4ba4
test al, al
je 0x1401f4d19
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1401f4d19
mov dil, 1
mov rcx, rbx
call fcn.1401de030
mov al, dil
jmp 0x1401f4d30
mov rcx, rbx
call fcn.1401de030
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401d5b70
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 0x1401f7a84
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401f7880