joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400225d4
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4d8]
sub rsp, 0x5b0
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x290]
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov esi, 1
call fcn.1400228b8
mov r8, qword [0x140174738]
lea rdx, str._s___.ini
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, str.English
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x554e45
mov edx, 0x151
mov r8, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x44]
xor r14d, r14d
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x40], r14d
call fcn.1400ea570
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400227f9
or r13d, 0xffffffff
test byte [rsp + 0x40], 0x10
jne 0x1400227da
lea rcx, [rsp + 0x6c]
mov edx, 0x5f
call fcn.1400e96d0
test rax, rax
je 0x1400227da
lea rdx, [rsp + 0x6c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [0x140174738]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x1400226ff
cmp word [rdi + rbx*2], 0x45
jne 0x140022724
cmp word [rdi + rbx*2 + 2], 0x4e
jne 0x140022724
cmp word [rdi + rbx*2 + 4], 0x55
je 0x1400227da
lea rax, [rbp + 0x290]
lea r9, [rbp + 0x190]
lea r8, [0x140129118]
mov qword [rsp + 0x28], rax
lea rdx, str.Name
lea rcx, str.INFO
mov dword [rsp + 0x20], pe_nt_image_headers64
call fcn.140022e30
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x190]
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rdi + rbx*2 + 2]
mov edx, 0x151
mov r15, rax
movzx eax, byte [rdi + rbx*2 + 4]
shl r14d, 8
shl eax, 0x10
mov r8, r15
or r14, rax
movzx eax, byte [rdi + rbx*2]
mov rbx, qword [rsp + 0x30]
or r14, rax
mov rcx, rbx
mov r9, r14
call qword [sym.imp.USER32.dll_SendMessageW]
cmp r13d, 0xffffffff
jne 0x1400227d5
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
cmp r14, rax
jne 0x1400227d5
mov r8d, r15d
xor r9d, r9d
mov edx, 0x14e
mov rcx, rbx
mov r13d, r15d
call qword [sym.imp.USER32.dll_SendMessageW]
inc esi
xor r14d, r14d
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400226c3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140022e30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rcx, qword [rbp + 0x2d8]
xor ebx, ebx
mov r12, r9
mov r15, rdx
mov qword [rsp + 0x30], rbx
lea esi, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov r8d, esi
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
or rdi, 0xffffffffffffffff
mov r14, rax
cmp rax, rdi
je 0x140022fdb
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], bl
call fcn.1400ea570
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x100
mov rcx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140022eec
cmp dword [rsp + 0x40], 0x100
je 0x140022eee
mov esi, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140022fdb
lea rcx, [rbp + 0x62]
xor edx, edx
mov r8d, 0x206
lea rsi, [rsp + 0x50]
mov word [rbp + 0x60], bx
call fcn.1400ea570
cmp byte [rsp + 0x50], 0xff
mov al, byte [rsp + 0x51]
jne 0x140022f28
cmp al, 0xfe
je 0x140022f66
cmp byte [rsp + 0x50], 0xfe
jne 0x140022f3a
cmp al, 0xff
jne 0x140022f3a
xor eax, eax
jmp 0x140022fdd
mov r9d, dword [rsp + 0x40]
lea r8, [rsp + 0x50]
xor edx, edx
lea eax, [r9 + 1]
mov ecx, 0xfde9
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rsi, [rbp + 0x60]
inc rdi
cmp word [r15 + rdi*2], bx
jne 0x140022f66
mov rdx, r15
mov rcx, rsi
call fcn.1400e9ce0
mov rcx, rax
test rax, rax
je 0x140022fdb
movsxd rax, edi
lea rdi, [rax + rax]
add rcx, rdi
cmp word [rcx], 0x3d
je 0x140022fa9
add rcx, 2
mov rdx, r15
call fcn.1400e9ce0
mov rcx, rax
test rax, rax
jne 0x140022f8a
jmp 0x140022fdb
add rcx, 2
mov rdx, rcx
jmp 0x140022fc1
cmp word [rcx], 0xa
je 0x140022fc7
cmp word [rcx], bx
je 0x140022fc7
add rcx, 2
cmp word [rcx], 0xd
jne 0x140022fb2
mov r8d, dword [rbp + 0x2d0]
mov word [rcx], bx
mov rcx, r12
call fcn.140023a88
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140023008
Capabilities:
Enumerate files on windows
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f8]
sub rsp, 0x4d0
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
lea rcx, [rbp + 0x198]
xor r13d, r13d
mov ebx, r13d
call fcn.14001b2b0
cmp word [rbp + 0x198], r13w
je 0x140023064
lea eax, [r13 + 1]
jmp 0x140023268
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
mov eax, 0x409
cmp si, ax
jne 0x14002307e
xor eax, eax
jmp 0x140023268
mov eax, 0x3ff
movzx r14d, si
lea rcx, [rbp + 0x1b0]
and r14w, ax
xor eax, eax
mov word [rbp + 0x180], r13w
mov dword [rbp + 0x182], eax
mov word [rbp + 0x186], ax
call fcn.1400228b8
mov r8, qword [0x140174738]
lea rdx, str._s___.ini
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [0x140174738]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x1400230d3
lea rdi, [r12 + rcx*2]
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x30], r13d
call fcn.1400ea570
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140023244
test byte [rsp + 0x30], 0x10
jne 0x14002320e
xor eax, eax
lea rdx, [rsp + 0x5c]
mov rcx, r12
mov word [rbp + 0x188], r13w
mov qword [rbp + 0x18a], rax
mov dword [rbp + 0x192], eax
mov word [rbp + 0x196], ax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x188]
lea r8, [0x140129118]
lea rdx, [0x140106edc]
lea rcx, str.INFO
mov dword [rsp + 0x20], 8
call fcn.140022e30
test eax, eax
je 0x14002320e
cmp word [rbp + 0x188], 0x30
jne 0x1400231b9
movzx eax, word [rbp + 0x18a]
mov ecx, 0xffdf
sub ax, 0x58
test cx, ax
jne 0x1400231b9
mov r8d, InitCommonControls
lea rcx, [rbp + 0x18c]
jmp 0x1400231c6
mov r8d, 0xa
lea rcx, [rbp + 0x188]
xor edx, edx
call fcn.1400ec6d0
mov ecx, eax
movzx eax, si
cmp ecx, eax
je 0x140023225
cmp word [rbp + 0x180], r13w
jne 0x14002320e
mov eax, 0x3ff
and cx, ax
cmp cx, r14w
jne 0x14002320e
movzx eax, word [rdi]
mov word [rbp + 0x180], ax
movzx eax, word [rdi + 2]
mov word [rbp + 0x182], ax
movzx eax, word [rdi + 4]
mov word [rbp + 0x184], ax
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140023237
jmp 0x140023117
mov rcx, rdi
mov word [rdi + 6], r13w
call fcn.14001b3ac
mov ebx, 1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x140023266
cmp word [rbp + 0x180], r13w
je 0x140023266
cmp r14w, 9
je 0x140023266
lea rcx, [rbp + 0x180]
call fcn.14001b3ac
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14002442c
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
mov r15d, r8d
mov r13, rdx
lea rcx, [0x140107090]
xor r12d, r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ebx, 0x4200000
mov dword [rsp + 0x20], r12d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x140024488
xor eax, eax
jmp 0x1400245cb
movzx r8d, word [rdi + 0x50]
mov rdx, qword [rdi + 0x40]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r14, rax
test rax, rax
je 0x140024481
cmp dword [rdi + 0x50], 0x1bb
mov r8, qword [rdi + 0x48]
mov qword [rsp + 0x38], r12
mov eax, 0x4a00000
lea rdx, str.POST
mov rcx, r14
cmove ebx, eax
lea rax, section..data
xor r9d, r9d
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
je 0x1400245b4
mov r9d, 4
lea r8, [rbp + 0x48]
mov rcx, rax
lea edx, [r9 + 2]
mov dword [rbp + 0x48], 0x493e0
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, r15d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call fcn.140024964
xor ecx, ecx
lea rdx, [rbp - 0x40]
mov r12d, eax
lea rax, str.Content_type:_multipart_form_data__boundaryAaBbCc
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x18], ecx
mov qword [rbp - 0x10], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x40], 0x38
mov qword [rbp - 0x28], 0x32
mov dword [rbp - 0x14], r12d
call qword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
je 0x1400245ab
mov r9d, r15d
mov r8, r13
mov rdx, rdi
mov rcx, rbx
call fcn.140024964
cmp eax, r12d
jne 0x1400245ab
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpEndRequestA]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140024964
Capabilities:
Send data

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x348]
sub rsp, 0x448
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x330], rax
and dword [rsp + 0x20], 0
mov rbx, rdx
mov r13, r8
mov r14, rcx
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rbx
mov esi, r9d
call fcn.140023fd0
test r14, r14
jne 0x1400249fe
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400249c0
lea edi, [rbx + 0x38]
test esi, esi
je 0x1400249f6
lea r9, [0x140107088]
lea r8, [0x140107088]
lea rdx, str.__AaBbCc_r_nContent_disposition:_form_data__name__s___filename__s__r_nContent_Type:_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n_r_n
lea rcx, [rsp + 0x30]
call fcn.1400e9240
add eax, 2
add eax, esi
add edi, eax
add edi, 0xc
jmp 0x140024b4c
lea r8, [0x14010708c]
lea rdx, str.__AaBbCc_r_nContent_disposition:_form_data__name__s__r_n_r_n
lea rcx, [rsp + 0x30]
call fcn.1400e9240
lea rdi, [rsp + 0x30]
mov r8b, 1
movsxd rcx, eax
add rdi, rcx
mov rcx, rbx
mov rdx, rdi
call fcn.140023fd0
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x30]
movsxd rcx, eax
lea rax, [rsp + 0x30]
add rdi, rcx
mov rcx, r14
mov byte [rdi], 0xd
inc rdi
mov byte [rdi], 0xa
sub edi, eax
inc edi
mov r8d, edi
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140024b4e
test esi, esi
je 0x140024b03
lea r9, [0x140107088]
lea r8, [0x140107088]
lea rdx, str.__AaBbCc_r_nContent_disposition:_form_data__name__s___filename__s__r_nContent_Type:_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n_r_n
lea rcx, [rsp + 0x30]
xor r15d, r15d
lea rbx, [rsp + 0x30]
call fcn.1400e9240
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r12d, eax
lea rax, [rsp + 0x30]
mov rcx, r14
sub ebx, eax
add r12d, ebx
mov r8d, r12d
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140024b4c
add edi, r12d
mov r12d, 0x400
mov ebx, r12d
cmp esi, r12d
mov edx, r15d
cmovb ebx, esi
lea r9, [rsp + 0x20]
mov rcx, r14
mov r8d, ebx
add rdx, r13
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140024b4c
add edi, ebx
add r15d, ebx
sub esi, ebx
jne 0x140024ac8
mov word [rsp + 0x30], 0xa0d
lea rdx, [rsp + 0x32]
jmp 0x140024b08
lea rdx, [rsp + 0x30]
lea rcx, str.__AaBbCc___r_n
sub rdx, rcx
mov al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x140024b12
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140024b27
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r8d, ebx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140024b4c
add edi, ebx
mov eax, edi
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400e7da0
add rsp, 0x448
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140024c48
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0xe0]
lea rdx, [rsp + 0x30]
call fcn.14002119c
mov rbx, rax
test rax, rax
je 0x140024cea
mov r8d, dword [rsp + 0x30]
mov r9d, eax
mov rcx, rbx
shl r9d, 8
mov eax, r8d
mov edx, r8d
add r9d, r8d
shr eax, 2
mov dword [rsp + 0x38], r9d
test eax, eax
je 0x140024ca6
mov r8d, eax
xor dword [rcx], r9d
add rcx, 4
dec r8
jne 0x140024c95
mov r8d, dword [rsp + 0x30]
shl eax, 2
sub edx, eax
test edx, edx
jle 0x140024ccb
lea r8, [rsp + 0x38]
sub r8, rcx
mov al, byte [r8 + rcx]
dec edx
xor byte [rcx], al
inc rcx
test edx, edx
jg 0x140024cb7
mov r8d, dword [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14002442c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140025c98
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0xb8]
mov rdi, rcx
mov edx, 8
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 7
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 6
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x34
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [rsp + 0x40]
lea r8, [0x140025f68]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140025e94
Capabilities:
Check os version
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0xb0], rax
and dword [rbp - 0x6c], 0
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rbp - 0x68]
mov r8d, 0x10c
xor edx, edx
mov dword [rbp - 0x70], 0x114
call fcn.1400ea570
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.1400ea570
and dword [rsp + 0x24], 0
cmp dword [rbp - 0x6c], 6
lea rcx, str.runas
lea rax, str.open
mov dword [rsp + 0x20], 0x70
cmovae rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400e7da0
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140026070
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r14, qword [rbp + 0x40]
and dword [rbp - 0x10], 0
and dword [rsp + 0x20], 0
and dword [r14], 0
mov rax, r9
mov r15d, r8d
mov rsi, rdx
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x14002615a
and qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
mov dword [rsp + 0x20], 0x4080300
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x140026151
and dword [rbp + 0x40], 0
lea rax, [rbp + 0x40]
lea r9, [rbp - 0xc]
lea r8, [rbp - 0x10]
mov edx, 0x20000013
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rbp - 0xc], 4
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140026148
cmp dword [rbp - 0x10], 0xc8
jne 0x140026148
and dword [rbp + 0x40], 0
lea r9, [rbp + 0x40]
mov r8d, r15d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rbp + 0x40]
mov byte [rax + rsi], 0
mov eax, dword [rbp + 0x40]
mov dword [r14], eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rbp - 0x10]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret

Function at 0x140026d35
Capabilities:
Encode data using xor

Disassembly:
sub dl, 0x41
je 0x140026e52
push rbx
sub rsp, 0x70
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x60], rax
and dword [rsp + 0x48], 0
xor eax, eax
neg r8d
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
sbb rbx, rbx
lea r10d, [rax + 1]
mov cl, dl
and rbx, 0xfffffffffffffffc
mov eax, r10d
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x4c], 2
shl eax, cl
mov dword [rsp + 0x54], eax
test r9d, r9d
je 0x140026d8e
mov word [rsp + 0x58], r10w
cmp dword [rsp + 0xa0], 0
jne 0x140026e07
mov al, byte [0x1401414ae]
xor al, 0x28
cmp al, 2
jne 0x140026dad
lea r8, [0x1401414b0]
jmp 0x140026df7
test al, al
jne 0x140026df4
xor edx, edx
mov r9d, 0x99f1b528
lea r8, [0x1401414b0]
movzx eax, byte [rdx + r8]
mov ecx, r9d
shr ecx, 8
xor cl, al
add eax, r9d
mov byte [rdx + r8], cl
add rdx, r10
imul r9d, eax, 0xce6d
add r9d, 0x58bf
cmp rdx, 0x10
jl 0x140026dc0
mov byte [0x1401414ae], 0x2a
jmp 0x140026df7
xor r8d, r8d
xor edx, edx
mov rcx, r8
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140026e0c
mov eax, 0xffff
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0x48]
lea r8, [rbx + 0x8004]
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov edx, 0x219
mov dword [rsp + 0x28], 0x7d0
mov dword [rsp + 0x20], 3
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400e7da0
add rsp, 0x70
pop rbx
ret
Function at 0x140027198
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor r11d, r11d
mov eax, edx
lea r10, [rax + rcx]
and rax, 0xfffffffffffffffc
mov r9d, r11d
add rax, rcx
mov edx, r11d
mov rcx, rax
sub rcx, r8
add rcx, 3
shr rcx, 2
cmp r8, rax
cmova rcx, r11
test rcx, rcx
je 0x1400271de
xor r9d, dword [r8]
inc rdx
add r8, 4
rol r9d, 3
cmp rdx, rcx
jb 0x1400271cb
mov rdx, r10
sub rdx, r8
cmp r8, r10
cmova rdx, r11
test rdx, rdx
je 0x14002720d
mov r10, r8
neg r10
movzx eax, byte [r8]
inc r8
xor r9d, eax
lea rcx, [r10 + r8]
rol r9d, 3
cmp rcx, rdx
jb 0x1400271f6
mov eax, r9d
ret

Function at 0x140027d0c
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, edx
movzx edi, cl
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0xf6cd6a1e
mov ecx, 0xa43f32cb
mov r8d, 0xf620a343
mov ebx, eax
call fcn.1400018d0
lea rcx, [rsp + 0x50]
lea rcx, [rcx + rbx*2]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor edx, edx
movsxd rcx, eax
mov word [rsp + rcx*2 + 0x50], di
mov word [rsp + rcx*2 + 0x52], dx
test esi, esi
je 0x140027dd5
dec esi
je 0x140027db3
dec esi
jne 0x140027dac
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x40]
jmp 0x140027dfe
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x4000000
mov r8d, 5
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
jmp 0x140027df0
mov eax, 2
mov qword [rsp + 0x30], rdx
mov edx, 0xc0000000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r8d, [rax + 1]
lea rcx, [rsp + 0x50]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret