joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400211d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x14002125f
lea rdx, [r11 + 0x28]
lea rcx, [r11 + 8]
call fcn.1400208e4
sub r15, r14
mov rbx, qword [rax]
cmp r14, rbp
je 0x140021263
mov rcx, qword [rbx + 8]
movzx edx, word [r15 + r14]
movzx esi, word [r14]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call fcn.140046010
mov rcx, qword [rbx + 8]
movzx edi, ax
movzx edx, si
mov r8, qword [rcx]
mov rax, qword [r8 + 0x40]
call fcn.140046010
cmp ax, di
jne 0x14002125f
add r14, 2
jmp 0x140021220
xor al, al
jmp 0x140021265
mov al, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140023ad4
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rdx
mov rdi, rcx
and dword [rax - 0x18], 0
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140023b07
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
sete dl
mov rcx, qword [rsp + 0x48]
lea rax, str.Could_not_read_file_version_info
mov qword [rsp + 0x20], rax
movzx r9d, dl
lea r8, str.amcorewcd_sourcecommon_src_versioninfo.cpp
mov edx, 0x84
call fcn.14000f228
mov ecx, esi
call fcn.1400173f0
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x140023b5e
mov rbx, qword [rbx]
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, str.Could_not_retrieve_file_version_info
mov qword [rsp + 0x20], rdx
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_src_versioninfo.cpp
mov edx, 0x8d
call fcn.140015ab0
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400330a0
Capabilities:
Get disk information via ioctl

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x14006afb8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xorps xmm0, xmm0
lea rax, [rbp + 0xb]
xor edi, edi
xor r9d, r9d
mov qword [r11 - 0x60], rdi
xor r8d, r8d
mov qword [r11 - 0x68], rax
mov edx, 0x560000
lea rax, [rbp + 0x2f]
mov dword [rsp + 0x28], 0x20
mov qword [r11 - 0x78], rax
mov rbx, rcx
movups xmmword [rbp + 0x2f], xmm0
mov dword [rbp + 0xb], edi
movups xmmword [rbp + 0x3f], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
je 0x1400331ae
cmp dword [rbp + 0x2f], 1
jne 0x14003315e
mov ebx, dword [rbp + 0x37]
call fcn.14001226c
cmp dword [rax], 4
jbe 0x14003326e
lea rcx, str.Target_device_storage_details
mov dword [rbp + 7], ebx
mov qword [rbp + 0xf], rcx
lea rdx, [0x14005bec8]
lea rcx, [rbp + 7]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000c22c
jmp 0x14003326e
call fcn.14001226c
cmp dword [rax], 2
jbe 0x14003326b
mov ecx, dword [rbp + 0x2f]
lea rdx, [0x14005bd51]
mov dword [rbp + 7], ecx
lea rcx, str.Unsupported_removable_device_volume_detected._Volume_disk_extent___1
mov qword [rbp + 0x17], rcx
lea rcx, [rbp + 7]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov dword [rbp + 0xf], 0x80004005
jmp 0x140033266
xor eax, eax
mov qword [rsp + 0x38], rdi
mov qword [rbp + 0x1f], rax
xor r9d, r9d
mov dword [rbp + 0x27], eax
xor r8d, r8d
lea rax, [rbp + 0xb]
mov dword [rbp + 0xb], edi
mov qword [rsp + 0x30], rax
mov edx, 0x2d1080
lea rax, [rbp + 0x1f]
mov dword [rsp + 0x28], 0xc
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
je 0x1400331fc
mov ebx, dword [rbp + 0x23]
jmp 0x14003326e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140033217
movzx ebx, ax
or ebx, 0x80070000
call fcn.14001226c
mov rdi, rax
cmp dword [rax], 2
jbe 0x14003326b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp + 7], ebx
lea rdx, [0x14005bd17]
mov dword [rbp + 0xf], eax
mov rcx, rdi
lea rax, str.DeviceIoControl___failed
mov qword [rbp + 0x17], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
call fcn.1400010b8
or ebx, 0xffffffff
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140015f80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140033298
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14006afb8]
xor rax, rsp
mov qword [rbp + 0x180], rax
movzx edi, dx
mov qword [rsp + 0x50], rcx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x20a
xor esi, esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [0x140052bb0]
movzx ecx, di
mov dword [rsp + 0x5c], eax
movzx eax, word [0x140052bb4]
mov word [rsp + 0x60], ax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_iswalpha]
nop dword [rax + rax]
test eax, eax
jne 0x140033360
call fcn.14001226c
cmp dword [rax], 3
jbe 0x140033346
lea rcx, str.Invalid_drive_character
mov word [rsp + 0x40], di
mov qword [rsp + 0x48], rcx
lea rdx, [0x14005c0ca]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140002ac8
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x140033403
mov r8d, 0x104
mov word [rsp + 0x5c], di
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
test eax, eax
jne 0x1400333f6
call fcn.14001226c
mov rdi, rax
cmp dword [rax], 3
jbe 0x140033346
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x1400333b4
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x40], eax
lea rdx, [0x14005bd8d]
lea rax, str.QueryDosDevice_for_volume_without_a_drive_letter_failed
mov rcx, rdi
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14000c128
jmp 0x140033346
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140012e7c
mov rax, rbx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140015f80
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400343f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14006afb8]
xor rax, rsp
mov qword [rbp + 0x180], rax
movzx edi, dx
mov qword [rsp + 0x50], rcx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x20a
xor esi, esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movabs rax, 0x5c003a0024
movzx ecx, di
mov qword [rsp + 0x60], rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_iswalpha]
nop dword [rax + rax]
test eax, eax
jne 0x1400344b1
call fcn.14001226c
cmp dword [rax], 3
jbe 0x140034497
lea rcx, str.Invalid_drive_character
mov word [rsp + 0x40], di
mov qword [rsp + 0x48], rcx
lea rdx, [0x14005c0ca]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140002ac8
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x140034554
mov r8d, 0x104
mov word [rsp + 0x60], di
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x140034547
call fcn.14001226c
mov rdi, rax
cmp dword [rax], 3
jbe 0x140034497
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140034505
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x40], eax
lea rdx, [0x14005be42]
lea rax, str.GetVolumeNameForVolumeMountPoint_for_driver_letter_without_a_volume
mov rcx, rdi
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14000c128
jmp 0x140034497
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140012e7c
mov rax, rbx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140015f80
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140034e14
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14006afb8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rsi, rcx
lea r8, [rbp - 0x50]
mov edx, 0x105
lea rcx, [rbp - 0x48]
call fcn.14000eb44
nop
xor r14d, r14d
mov dword [rbp - 0x4c], r14d
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140034e6d
mov rcx, qword [rdi]
lea r9, [rbp - 0x4c]
mov r8d, 0x104
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140034edd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xea
jne 0x140034edd
mov ebx, dword [rbp - 0x4c]
inc ebx
mov edx, ebx
lea r8, [rbp - 0x50]
lea rcx, [rbp - 0x48]
call fcn.140013ff0
cmp qword [rdi + 0x18], 8
jb 0x140034ebf
mov rdi, qword [rdi]
lea r8d, [rbx - 1]
lea r9, [rbp - 0x4c]
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
cmp word [rbx], r14w
je 0x140034f88
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r14w
jne 0x140034eee
cmp rax, 3
jne 0x140034f69
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_isalpha]
nop dword [rax + rax]
test eax, eax
je 0x140034f69
cmp word [rbx + 2], 0x3a
jne 0x140034f69
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140012e7c
mov rdx, rax
mov rcx, rsi
call fcn.1400137d4
lea rcx, [rbp - 0x28]
call fcn.140013750
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140034f45
mov rdx, qword [rsi]
mov rcx, qword [rsi + 0x10]
dec rcx
cmp word [rdx + rcx*2], 0x5c
jne 0x140034f69
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140034f60
mov rax, qword [rsi]
mov qword [rsi + 0x10], rcx
mov word [rax + rcx*2], r14w
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r14w
jne 0x140034f6c
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], r14w
jne 0x140034eeb
lea rcx, [rbp - 0x48]
call fcn.140013794
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140015f80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140034fbc
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14006afb8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
lea rcx, [rsp + 0x62]
xor edx, edx
mov word [rsp + 0x60], bp
mov r8d, 0x208
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140035009
mov rcx, qword [rbx]
add rcx, 8
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
test eax, eax
jne 0x140035097
call fcn.14001226c
mov rdi, rax
cmp dword [rax], 3
jbe 0x140035097
mov rcx, rbx
call fcn.14000a560
mov qword [rsp + 0x48], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14003505a
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x40], eax
lea rdx, [0x14005bd8d]
lea rax, str.QueryDosDeviceW_for_volume_without_a_drive_letter_failed
mov rcx, rdi
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14000c128
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x60]
call fcn.14000a120
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140015f80
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x401370
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
sub rsp, 0x28
xor rcx, rcx
call sub.KERNEL32_GetModuleHandleA
mov qword [0x004570a0], rax
call fcn.0043af50
call fcn.00436b10
call fcn.0043af60
lea rax, [section..data]
lea rcx, [0x00402200]
mov qword [rax + 0x30], rcx
lea rcx, section..text
mov qword [rax], rcx
lea rcx, [0x0040130c]
mov qword [rax + 8], rcx
lea rcx, [0x0040130c]
mov qword [rax + 0x10], rcx
lea rcx, [0x0040136c]
mov qword [rax + 0x18], rcx
lea rcx, [0x0044c120]
mov qword [rax + 0x68], rcx
lea rcx, [0x0044c520]
mov qword [rax + 0x70], rcx
lea rcx, [0x0044c550]
mov qword [rax + 0x78], rcx
lea rcx, [0x0044cb00]
mov qword [rax + 0x80], rcx
lea rcx, [0x004649c0]
mov qword [rax + 0x50], rcx
mov rcx, rax
push 0
jmp 0x44d620
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, r9
mov r14d, r8d
mov ebx, edx
mov edi, ecx
call fcn.0044d5c0
test edi, edi
je 0x44bcb5
test ebx, ebx
jne 0x44bccc
test edi, edi
jne 0x44bca6
call qword [0x004655c8]
call qword [0x004655d0]
call fcn.0044d5e0
mov ecx, r14d
call fcn.0044d370
jmp 0x44bccc
mov rcx, rsi
call fcn.0044ba60
call fcn.0044d490
call qword [0x004655c0]
test ebx, ebx
je 0x44bc96
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.0044d5e0
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov eax, dword [rsi + 0x20]
and eax, 1
mov dword [0x00465620], eax
mov rcx, qword [rsi + 0x50]
call fcn.0043d2f0
mov rcx, qword [rsi + 0x88]
call fcn.0043d300
mov dword [0x00478f30], 1
lea rdi, [0x00478f30]
mov qword [0x00478f38], rsi
call sub.KERNEL32_GetEnvironmentStrings
mov qword [0x00478ed0], rax
call sub.KERNEL32_GetCommandLineA
mov qword [0x00478ee0], rax
mov rcx, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x70]
mov r8, qword [rsi + 0x78]
mov r9, qword [rsi + 0x80]
call fcn.0044bee0
xor edx, edx
mov rcx, rdi
call fcn.0044d390
test byte [rsi + 0x20], 1
jne 0x44d6e4
mov ecx, dword [0x00478efc]
mov rdx, qword [0x00478f00]
mov r8, qword [0x00478f08]
call qword [rsi + 0x30]
xor ecx, ecx
xor edx, edx
mov r9, 0xffffffffffffffff
mov r8d, eax
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
jmp 0x44bc70
mov rax, qword [0x00478ee0]
nop dword [rax + rax]
inc rax
mov cl, byte [rax - 1]
cmp cl, 9
je 0x44d6f0
cmp cl, 0x20
je 0x44d6f0
cmp cl, 0x22
jne 0x44d70e
mov cl, byte [rax]
mov edx, 0x22
jmp 0x44d716
dec rax
mov edx, 0x20
movsx edi, cl
cmp edx, edi
je 0x44d734
nop dword [rax]
test cl, cl
je 0x44d734
cmp cl, 9
je 0x44d734
movsx ecx, byte [rax + 1]
inc rax
cmp edx, ecx
jne 0x44d720
lea rdi, [rax + 1]
cmp cl, 0x22
cmovne rdi, rax
jmp 0x44d753
inc rdi
movzx eax, byte [rdi]
cmp al, 0x20
je 0x44d750
cmp al, 9
je 0x44d750
mov rbx, qword [rsi + 0x30]
xor ecx, ecx
call sub.KERNEL32_GetModuleHandleA
mov rsi, rax
lea rcx, [rbp - 0x60]
call sub.KERNEL32_GetStartupInfoA
mov eax, dword [rbp - 0x24]
test al, 1
movzx eax, word [rbp - 0x20]
mov r9d, 0xa
cmovne r9d, eax
xor edx, edx
mov rcx, rsi
mov r8, rdi
call rbx
xor ecx, ecx
xor edx, edx
mov r9, 0xffffffffffffffff
mov r8d, eax
call 0x44bc70
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x401840
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov rax, rcx
lea rdx, [0x00453310]
lea rdi, [rbp - 0x48]
mov rcx, rdi
mov r8, rax
call fcn.00403c70
lea rdx, [0x0045333e]
mov r8d, 0x14
mov rcx, rdi
call fcn.00406640
mov rdi, rax
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], 0
mov word [rbp + 0x38], 0
mov rcx, qword [rdi + 0x20]
cmp rcx, 7
ja 0x4018c9
mov r8, qword [rdi + 0x18]
mov rbx, rdi
add rbx, 8
inc r8
je 0x4018e0
lea rcx, [rbp + 0x38]
mov rdx, rbx
call fcn.0043b920
mov rcx, qword [rdi + 0x20]
jmp 0x4018e0
mov rbx, rdi
add rbx, 8
mov rax, qword [rdi + 8]
mov qword [rbp + 0x38], rax
mov qword [rdi + 8], 0
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rcx
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], 0
mov word [rbx], 0
lea rcx, [rbp - 0x20]
lea rdx, [rbp + 0x30]
mov r8, rsi
call fcn.00403b50
lea rdx, [0x00453368]
lea rcx, [rbp - 0x20]
mov r8d, 1
call fcn.00406640
mov rdi, rax
mov qword [rbp + 0x28], 7
lea rsi, [rbp + 0x10]
mov qword [rbp + 0x20], 0
mov word [rbp + 0x10], 0
mov rcx, qword [rdi + 0x20]
cmp rcx, 7
ja 0x40196f
mov r8, qword [rdi + 0x18]
mov rbx, rdi
add rbx, 8
inc r8
je 0x401986
mov rcx, rsi
mov rdx, rbx
call fcn.0043b920
mov rcx, qword [rdi + 0x20]
jmp 0x401986
mov rbx, rdi
add rbx, 8
mov rax, qword [rdi + 8]
mov qword [rbp + 0x10], rax
mov qword [rdi + 8], 0
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], 0
mov word [rbx], 0
mov rax, qword [rbp]
cmp rax, 8
jb 0x4019cb
mov rcx, qword [rbp - 0x18]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x4019c6
mov rcx, qword [rcx - 8]
call fcn.00408c80
mov qword [rbp], 7
mov qword [rbp - 8], 0
mov word [rbp - 0x18], 0
mov rax, qword [rbp + 0x50]
cmp rax, 8
jb 0x401a05
mov rcx, qword [rbp + 0x38]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401a00
mov rcx, qword [rcx - 8]
call fcn.00408c80
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], 0
mov word [rbp + 0x38], 0
mov rax, qword [rbp - 0x28]
cmp rax, 8
jb 0x401a3f
mov rcx, qword [rbp - 0x40]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401a3a
mov rcx, qword [rcx - 8]
call fcn.00408c80
cmp qword [rbp + 0x28], 7
cmova rsi, qword [rbp + 0x10]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x0045336c]
lea r8, [0x00453376]
xor ecx, ecx
mov r9, rsi
call sub.SHELL32.DLL_ShellExecuteW
cmp eax, 0x20
jg 0x401ab4
lea rcx, [0x00466c58]
lea rdx, [0x004530a6]
call fcn.00403890
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00406160
movzx edx, al
mov rcx, rsi
call fcn.00405ff0
mov rcx, rsi
call fcn.00405260
mov rax, qword [rbp + 0x28]
cmp rax, 8
jb 0x401ad8
mov rcx, qword [rbp + 0x10]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401ad3
mov rcx, qword [rcx - 8]
call fcn.00408c80
nop
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x401e40
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov r12, rcx
mov dword [rsp + 0x20], 0
lea rcx, [0x00453010]
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.WININET_InternetOpenA
mov r15, rax
test r15, r15
je 0x401fc4
lea rdx, [rsi + 8]
cmp qword [rsi + 0x20], 0xf
cmova rdx, qword [rsi + 8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
xor r9d, r9d
mov rcx, r15
call sub.WININET_InternetOpenUrlA
mov rbx, rax
test rbx, rbx
je 0x402003
mov qword [rbp + 0x3d8], 0xf
mov qword [rbp + 0x3d0], 0
mov byte [rbp + 0x3c0], 0
mov dword [rbp + 0x3e4], 0
lea r14, [rbp - 0x51]
lea rdi, [rbp - 0x50]
lea rsi, [rbp + 0x3e4]
lea r13, [rbp + 0x3b8]
nop word cs:[rax + rax]
mov r8d, 0x400
mov rcx, rbx
mov rdx, rdi
mov r9, rsi
call sub.WININET_InternetReadFile
mov eax, dword [rbp + 0x3e4]
test rax, rax
je 0x401f62
mov byte [rbp + rax - 0x50], 0
mov r8, r14
nop word [rax + rax]
cmp byte [r8 + 1], 0
lea r8, [r8 + 1]
jne 0x401f40
sub r8, rdi
mov rcx, r13
mov rdx, rdi
call fcn.00405ce0
cmp dword [rbp + 0x3e4], 0
jne 0x401f10
mov rcx, rbx
call sub.WININET_InternetCloseHandle
mov rcx, r15
call sub.WININET_InternetCloseHandle
mov qword [r12 + 0x20], 0xf
lea rcx, [r12 + 8]
mov qword [r12 + 0x18], 0
mov byte [r12 + 8], 0
mov rsi, qword [rbp + 0x3d8]
cmp rsi, 0xf
ja 0x402071
mov rdi, qword [rbp + 0x3d0]
mov r8, rdi
inc r8
je 0x40208f
lea rdx, [rbp + 0x3c0]
call fcn.0043b340
jmp 0x402096
lea rcx, [0x00466c58]
lea rdx, [0x00453016]
call fcn.00403890
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00406160
movzx edx, al
mov rcx, rsi
call fcn.00405ff0
mov rcx, rsi
call fcn.00405260
jmp 0x402048
lea rcx, [0x00466c58]
lea rdx, [0x00453034]
call fcn.00403890
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00406160
movzx edx, al
mov rcx, rsi
call fcn.00405ff0
mov rcx, rsi
call fcn.00405260
mov rcx, r15
call sub.WININET_InternetCloseHandle
mov qword [r12 + 0x20], 0xf
mov qword [r12 + 0x18], 0
mov byte [r12 + 8], 0
lea rdx, [0x004530c2]
mov rcx, r12
call fcn.004048a0
jmp 0x4020a0
mov rax, qword [rbp + 0x3c0]
mov qword [rcx], rax
mov qword [rbp + 0x3c0], 0
mov rdi, qword [rbp + 0x3d0]
jmp 0x402096
mov rdi, 0xffffffffffffffff
mov qword [r12 + 0x18], rdi
mov qword [r12 + 0x20], rsi
mov rax, r12
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret