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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
or rax, 0xffffffffffffffff
mov qword [rsp + 0x38], r9
xor ecx, ecx
mov byte [rsp + 0x30], r8b
mov qword [rsp + 0x48], rdx
mov dil, 1
inc rax
cmp word [rsi + rax*2], cx
jne 0x14001f7a8
lea rbx, [rsi + rax*2]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov dword [rbx], 0x2a
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14001f90d
xor r9d, r9d
test byte [rsp + 0x50], 0x10
je 0x14001f87c
mov r8b, byte [rsp + 0x30]
test r8b, r8b
je 0x14001f8e2
cmp word [rsp + 0x7c], 0x2e
jne 0x14001f81b
movzx eax, word [rsp + 0x7e]
test ax, ax
je 0x14001f8e7
cmp ax, 0x2e
jne 0x14001f81b
cmp word [rbp - 0x80], r9w
je 0x14001f8e7
lea rax, [rsp + 0x7c]
mov rdx, rbx
lea rcx, [rsp + 0x7c]
sub rdx, rax
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001f82b
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r9w
jne 0x14001f83f
mov r9, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov dword [rbx + rax*2], 0x5c
mov rax, qword [rbp + 0x208]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x200]
mov qword [rsp + 0x20], rax
call fcn.14001f768
jmp 0x14001f8d8
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14001f895
lea rcx, [rsp + 0x7c]
mov rdx, rax
call fcn.14001f97c
jmp 0x14001f89a
mov eax, 1
test eax, eax
je 0x14001f8e2
lea rax, [rsp + 0x7c]
mov rdx, rbx
lea rcx, [rsp + 0x7c]
sub rdx, rax
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001f8ae
mov r9, qword [rbp + 0x208]
mov r8, qword [rbp + 0x200]
lea rcx, [rsp + 0x50]
mov rdx, rsi
call qword [rsp + 0x38]
xor r9d, r9d
mov dil, al
mov word [rbx], r9w
test dil, dil
je 0x14001f902
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor r9d, r9d
test eax, eax
jne 0x14001f7db
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400e79e0
add rsp, 0x2b8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14001f95c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001f972
shr eax, 4
and al, 1
jmp 0x14001f974
xor al, al
add rsp, 0x28
ret
Function at 0x14001fcec
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rax, rdx
mov rsi, rcx
mov qword [rcx], rdi
test rdx, rdx
je 0x14001fd55
mov rdx, r8
mov rcx, rax
call fcn.1400e95c4
mov qword [rsi], rax
test rax, rax
je 0x14001fd55
mov rcx, rax
call fcn.1400eaeec
cmp eax, 0xa00000
jle 0x14001fd55
mov rbx, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400eab64
mov rcx, rbx
call fcn.1400ea838
mov ecx, eax
call fcn.1400eb478
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp qword [rsi], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x140021cb4
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
and dword [rsp + 0x30], 0
xor eax, eax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140021d4c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp qword [rcx], 0xffffffffffffffff
mov rbx, r8
mov rsi, rdx
mov r14, rcx
jne 0x140021d74
xor eax, eax
jmp 0x140021db6
xor edi, edi
test ebx, ebx
je 0x140021db4
and dword [rsp + 0x40], 0
mov rcx, qword [r14]
mov r8d, 0x400
cmp ebx, r8d
lea r9, [rsp + 0x40]
mov rdx, rsi
cmovb r8d, ebx
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140021db4
mov ecx, dword [rsp + 0x40]
add rsi, rcx
add edi, ecx
sub ebx, ecx
jne 0x140021d7a
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140021e70
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp qword [rcx], 0xffffffffffffffff
jne 0x140021e7e
xor eax, eax
jmp 0x140021e9b
mov rcx, qword [rcx]
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x1400222e4
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.1400225c8
mov r8, qword [0x140174698]
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.1400ea1b0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140022509
or r13d, 0xffffffff
test byte [rsp + 0x40], 0x10
jne 0x1400224ea
lea rcx, [rsp + 0x6c]
mov edx, 0x5f
call fcn.1400e9310
test rax, rax
je 0x1400224ea
lea rdx, [rsp + 0x6c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [0x140174698]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x14002240f
cmp word [rdi + rbx*2], 0x45
jne 0x140022434
cmp word [rdi + rbx*2 + 2], 0x4e
jne 0x140022434
cmp word [rdi + rbx*2 + 4], 0x55
je 0x1400224ea
lea rax, [rbp + 0x290]
lea r9, [rbp + 0x190]
lea r8, [0x1401291e8]
mov qword [rsp + 0x28], rax
lea rdx, str.Name
lea rcx, str.INFO
mov dword [rsp + 0x20], pe_nt_image_headers64
call fcn.140022b40
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 0x1400224e5
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
cmp r14, rax
jne 0x1400224e5
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 0x1400223d3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1400e79e0
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 0x140022b40
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 0x140022ceb
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], bl
call fcn.1400ea1b0
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 0x140022bfc
cmp dword [rsp + 0x40], 0x100
je 0x140022bfe
mov esi, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140022ceb
lea rcx, [rbp + 0x62]
xor edx, edx
mov r8d, 0x206
lea rsi, [rsp + 0x50]
mov word [rbp + 0x60], bx
call fcn.1400ea1b0
cmp byte [rsp + 0x50], 0xff
mov al, byte [rsp + 0x51]
jne 0x140022c38
cmp al, 0xfe
je 0x140022c76
cmp byte [rsp + 0x50], 0xfe
jne 0x140022c4a
cmp al, 0xff
jne 0x140022c4a
xor eax, eax
jmp 0x140022ced
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 0x140022c76
mov rdx, r15
mov rcx, rsi
call fcn.1400e9920
mov rcx, rax
test rax, rax
je 0x140022ceb
movsxd rax, edi
lea rdi, [rax + rax]
add rcx, rdi
cmp word [rcx], 0x3d
je 0x140022cb9
add rcx, 2
mov rdx, r15
call fcn.1400e9920
mov rcx, rax
test rax, rax
jne 0x140022c9a
jmp 0x140022ceb
add rcx, 2
mov rdx, rcx
jmp 0x140022cd1
cmp word [rcx], 0xa
je 0x140022cd7
cmp word [rcx], bx
je 0x140022cd7
add rcx, 2
cmp word [rcx], 0xd
jne 0x140022cc2
mov r8d, dword [rbp + 0x2d0]
mov word [rcx], bx
mov rcx, r12
call fcn.140023798
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400e79e0
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 0x140022d18
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.14001afc0
cmp word [rbp + 0x198], r13w
je 0x140022d74
lea eax, [r13 + 1]
jmp 0x140022f78
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
mov eax, 0x409
cmp si, ax
jne 0x140022d8e
xor eax, eax
jmp 0x140022f78
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.1400225c8
mov r8, qword [0x140174698]
lea rdx, str._s___.ini
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [0x140174698]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x140022de3
lea rdi, [r12 + rcx*2]
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x30], r13d
call fcn.1400ea1b0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140022f54
test byte [rsp + 0x30], 0x10
jne 0x140022f1e
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, [0x1401291e8]
lea rdx, [0x140106edc]
lea rcx, str.INFO
mov dword [rsp + 0x20], 8
call fcn.140022b40
test eax, eax
je 0x140022f1e
cmp word [rbp + 0x188], 0x30
jne 0x140022ec9
movzx eax, word [rbp + 0x18a]
mov ecx, 0xffdf
sub ax, 0x58
test cx, ax
jne 0x140022ec9
mov r8d, InitCommonControls
lea rcx, [rbp + 0x18c]
jmp 0x140022ed6
mov r8d, 0xa
lea rcx, [rbp + 0x188]
xor edx, edx
call fcn.1400ec310
mov ecx, eax
movzx eax, si
cmp ecx, eax
je 0x140022f35
cmp word [rbp + 0x180], r13w
jne 0x140022f1e
mov eax, 0x3ff
and cx, ax
cmp cx, r14w
jne 0x140022f1e
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 0x140022f47
jmp 0x140022e27
mov rcx, rdi
mov word [rdi + 6], r13w
call fcn.14001b0bc
mov ebx, 1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x140022f76
cmp word [rbp + 0x180], r13w
je 0x140022f76
cmp r14w, 9
je 0x140022f76
lea rcx, [rbp + 0x180]
call fcn.14001b0bc
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400e79e0
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 0x14002413c
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 0x140024198
xor eax, eax
jmp 0x1400242db
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 0x140024191
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 0x1400242c4
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.140024674
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 0x1400242bb
mov r9d, r15d
mov r8, r13
mov rdx, rdi
mov rcx, rbx
call fcn.140024674
cmp eax, r12d
jne 0x1400242bb
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 0x140024674
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.140023ce0
test r14, r14
jne 0x14002470e
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400246d0
lea edi, [rbx + 0x38]
test esi, esi
je 0x140024706
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.1400e8e80
add eax, 2
add eax, esi
add edi, eax
add edi, 0xc
jmp 0x14002485c
lea r8, [0x14010708c]
lea rdx, str.__AaBbCc_r_nContent_disposition:_form_data__name__s__r_n_r_n
lea rcx, [rsp + 0x30]
call fcn.1400e8e80
lea rdi, [rsp + 0x30]
mov r8b, 1
movsxd rcx, eax
add rdi, rcx
mov rcx, rbx
mov rdx, rdi
call fcn.140023ce0
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 0x14002485e
test esi, esi
je 0x140024813
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.1400e8e80
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 0x14002485c
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 0x14002485c
add edi, ebx
add r15d, ebx
sub esi, ebx
jne 0x1400247d8
mov word [rsp + 0x30], 0xa0d
lea rdx, [rsp + 0x32]
jmp 0x140024818
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 0x140024822
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140024837
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 0x14002485c
add edi, ebx
mov eax, edi
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400e79e0
add rsp, 0x448
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140024958
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.140020eac
mov rbx, rax
test rax, rax
je 0x1400249fa
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 0x1400249b6
mov r8d, eax
xor dword [rcx], r9d
add rcx, 4
dec r8
jne 0x1400249a5
mov r8d, dword [rsp + 0x30]
shl eax, 2
sub edx, eax
test edx, edx
jle 0x1400249db
lea r8, [rsp + 0x38]
sub r8, rcx
mov al, byte [r8 + rcx]
dec edx
xor byte [rcx], al
inc rcx
test edx, edx
jg 0x1400249c7
mov r8d, dword [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14002413c
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 0x1400259a8
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, [0x140025c78]
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 0x140025ba4
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.1400ea1b0
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.1400ea1b0
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.1400e79e0
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140025d80
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 0x140025e6a
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 0x140025e61
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 0x140025e58
cmp dword [rbp - 0x10], 0xc8
jne 0x140025e58
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 0x140026a45
Capabilities:
Encode data using xor

Disassembly:
sub dl, 0x41
je 0x140026b62
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 0x140026a9e
mov word [rsp + 0x58], r10w
cmp dword [rsp + 0xa0], 0
jne 0x140026b17
mov al, byte [str.Vmg2_t_]
xor al, 0x56
cmp al, 2
jne 0x140026abd
lea r8, [0x1401414b0]
jmp 0x140026b07
test al, al
jne 0x140026b04
xor edx, edx
mov r9d, 0x1f423756
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 0x140026ad0
mov byte [str.Vmg2_t_], 0x54
jmp 0x140026b07
xor r8d, r8d
xor edx, edx
mov rcx, r8
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140026b1c
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.1400e79e0
add rsp, 0x70
pop rbx
ret