joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180158020
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebx, dword [rsp + 0x70]
lea r14d, [rcx + 9]
mov r12, r9
mov rbp, r8
mov r15, rdx
mov edi, ecx
cmp ecx, r14d
jae 0x1801580ee
mov r13d, dword [rsp + 0x70]
lea esi, [rcx - 0xcd]
lea rdx, [0x180000000]
cmp esi, 0x14
ja case.0x18015807d.2
mov ecx, dword [rdx + rsi*4 + 0x158204]
add rcx, rdx
jmp rcx
mov rcx, qword [rbp + 8]
mov rdx, r12
add rcx, qword [rbp]
mov r8, qword [r15]
call sub.VCRUNTIME140.dll_memcpy
jmp case.0x18015807d.2
lea r9, [rsp + 0x70]
mov dword [rsp + 0x70], 0
lea r8, [0x1801625c5]
mov rdx, rbp
mov ecx, 0x81
call fcn.18009bf20
cmp r13d, 0xffffffff
je case.0x18015807d.2
mov rax, qword [rbp + 0x10]
mov ecx, r13d
shl rcx, 5
cmp qword [rcx + rax + 0x18], 0
jne 0x1801581f0
mov eax, 0xcc
nop
cmp eax, 0xcc
je 0x18015810e
cmp eax, 0x804c
jne 0x180158113
mov eax, ebx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ebx, 2
add eax, 0x7f80
cmp eax, 0xff00
jbe 0x1801580e0
jmp case.0x18015807d.2
mov rdx, qword [rbp + 8]
add rdx, qword [r15]
cmp rdx, qword [rbp + 0x10]
jbe case.0x18015807d.2
mov qword [rsp + 0x30], rdx
mov r9, rbp
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov ecx, 0xa8
call fcn.18009e250
test eax, eax
js 0x1801580ee
jmp case.0x18015807d.2
mov ecx, dword [rbp + 0x2c]
test ecx, ecx
je 0x18015817d
lea rdx, [0x1801625c5]
call fcn.1801223c0
cmp eax, 0xffffffff
je 0x1801580ee
lea rax, [rbp + 0x20]
xor ecx, ecx
cmp qword [rax], rcx
cmovne rcx, rax
mov rax, qword [rcx]
mov qword [rsp + 0x38], rax
jmp case.0x18015807d.2
mov r8, qword [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0x14a
call fcn.1801376c0
jmp case.0x18015807d.2
mov eax, 0xf6
nop dword [rax]
cmp eax, 0xf6
je 0x1801581fa
add eax, 0x56
cmp eax, 0x14c
jb 0x1801581c0
mov rax, qword [r15]
add qword [rbp + 8], rax
jmp case.0x18015807d.2
mov r13d, dword [r12]
inc edi
inc esi
cmp edi, r14d
jae 0x1801580ee
jmp 0x180158063
mov eax, 1
jmp 0x1801580f0
mov eax, 3
jmp 0x1801580f0

Function at 0x18015bbf0
Capabilities:
Allocate thread local storage

Disassembly:
mov ecx, 0x36
jmp fcn.180023e40
Function at 0x1400010d4
Capabilities:
Accept command line arguments
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r15
sub rsp, 0x50
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ebp, ebp
mov qword [rsp + 0x70], rax
mov rcx, rax
mov edi, 0xc00000ef
mov esi, ebp
mov ebx, ebp
lea r15d, [rbp + 0x2a]
mov edx, r15d
call qword [sym.imp.ntdll.dll_wcschr]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140001188
lea rcx, [rax + 2]
lea r8d, [rbp + 0xa]
lea rdx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_wcstoul]
mov esi, eax
test eax, eax
je 0x140001188
mov rcx, qword [rsp + 0x70]
cmp word [rcx], bp
je 0x14000115d
cmp word [rcx], r15w
jne 0x140001174
add rcx, 2
lea r8d, [rbp + 0xa]
lea rdx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_wcstoul]
mov ebx, eax
test eax, eax
jne 0x14000116f
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.140001000
mov ebx, eax
mov rcx, qword [rsp + 0x70]
cmp word [rcx], bp
jne 0x140001183
mov edi, ebp
cmp ebx, 0xff
jbe 0x140001188
mov edi, 0xc00000f0
mov r8d, ebx
mov edx, esi
mov ecx, edi
call fcn.140001018
test eax, eax
je 0x1400011b8
mov edx, ebx
mov ecx, esi
call fcn.140001524
mov r9d, 0x40
lea r8, str.Done__
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140001524
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
mov rbp, rsp
sub rsp, 0x50
mov esi, edx
mov edi, ecx
mov r13d, 3
and qword [rbp - 0x18], 0
xor r9d, r9d
and dword [rbp - 0xc], 0
xor r8d, r8d
and dword [rbp - 8], 0
xor edx, edx
xor ecx, ecx
mov dword [rbp - 0x10], 1
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140001623
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x140001597
mov r8d, r13d
lea rcx, [rbp - 0x18]
call fcn.1400011c4
test al, al
jne 0x1400015a1
jmp 0x14000157c
xor eax, eax
lock cmpxchg qword [rbp - 0x18], r13
jne 0x14000157c
and qword [rsp + 0x28], 0
lea r9, [rbp - 0x20]
and dword [rsp + 0x20], 0
lea r8, [0x1400013b8]
inc dword [rbp - 0x10]
xor edx, edx
inc dword [rbp - 0xc]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400015d7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400015dd
dec dword [rbp - 0xc]
dec dword [rbp - 0x10]
add ebx, 0xffffffff
jne 0x1400015a1
lea rcx, [rbp - 0x18]
call fcn.140001260
or eax, 0xffffffff
lock xadd dword [rbp - 0x10], eax
cmp eax, 1
jne 0x140001607
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x140001607
int3
mov rcx, qword [rbp - 0x20]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140001619
int3
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0xffffffff
jne 0x140001549
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x14002ff3c
Capabilities:
Encode data using xor
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002ff49
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002ff59
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002ff41
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002ff71
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002ff5e
sub eax, 3
jb 0x14002ff8b
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002ffc2
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002ffb2
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002ffb0
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002ff9f
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002fefe
jmp 0x14002ff49
pop rsi
push rbx
push rsi
mov rbx, r13
add rbx, rsi
mov al, byte [rsi]
xor al, 1
mov byte [rsi], al
inc rsi
cmp rbx, rsi
jne 0x14002ffcb
pop rsi
pop rbx
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x19c00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140030026
cmp rsi, rcx
jae 0x14003002e
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003000d
cmp al, 0x8f
ja 0x14003000d
cmp byte [rsi - 2], 0xf
je 0x140030013
sub al, 0xe8
cmp al, 1
ja 0x14002fff7
cmp rsi, rcx
jae 0x14003002e
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002fffd
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003002e
lodsb al, byte [rsi]
jmp 0x14003000d
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2d000]
mov eax, dword [rdi]
or eax, eax
je 0x14003008b
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x30000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003003b
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140030085
mov qword [rbx], rax
add rbx, 8
jmp 0x14003005b
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400300c5
cmp al, 0xef
ja 0x1400300b7
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140030097
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400300a6
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140030119
sub rsp, 0xffffffffffffff80
jmp 0x14000414c
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x9790c7b0
ret
pop rcx
jno 0x14001ac7f
invalid
Function at 0x1400046e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000472e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000472e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000472e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000472e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000472e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004730
xor al, al
add rsp, 0x28
ret
Function at 0x140003820
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret

Function at 0x140003860
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r9
mov rdi, r8
lea rax, [rsp + 0x38]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
xor ebx, ebx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003906
mov rbx, qword [rsp + 0x80]
lea r9, [rsp + 0x34]
mov dword [r9], 0
lea eax, [rbx + rbx]
lea rdx, [rsp + 0x30]
mov dword [rdx], eax
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003901
mov eax, 0x32
cmp dword [rsp + 0x34], 1
jne 0x140003901
mov ecx, dword [rsp + 0x30]
cmp rcx, 2
jb 0x1400038fa
shr rcx, 1
cmp word [rsi + rcx*2 - 2], 0
je 0x1400038ff
cmp rcx, rbx
jae 0x140003901
lea rsi, [rsi + rcx*2]
mov word [rsi], 0
xor eax, eax
test eax, eax
sete bl
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140003916
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x14036e33e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xbea9bea8
stosb byte [rdi], al
adc ebp, ebp
test eax, 0xed13aabe
xor dword [rcx], edi
push rbx
jp 0x14036e341
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x14036e3ba
mov esp, 0xd7d832c4
cmp dword [rdx], edi
add edi, dword [rdx + 0x15d22562]
pop rdx
xchg esp, eax
sub edx, dword [rbx]
sbb byte [rdx - 2], 0x1f
lahf
adc dword [rax - 0x8ac05af], esp
test byte [rdi - 0x3bef3adf], cl
invalid
invalid
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.0043aba0
call fcn.00436760
call fcn.0043abb0
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, [0x0044bd70]
mov qword [rax + 0x68], rcx
lea rcx, [0x0044c170]
mov qword [rax + 0x70], rcx
lea rcx, [0x0044c1a0]
mov qword [rax + 0x78], rcx
lea rcx, [0x0044c750]
mov qword [rax + 0x80], rcx
lea rcx, [0x004648a0]
mov qword [rax + 0x50], rcx
mov rcx, rax
push 0
jmp 0x44d270
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.0044d210
test edi, edi
je 0x44b905
test ebx, ebx
jne 0x44b91c
test edi, edi
jne 0x44b8f6
call qword [0x004654a8]
call qword [0x004654b0]
call fcn.0044d230
mov ecx, r14d
call fcn.0044cfc0
jmp 0x44b91c
mov rcx, rsi
call fcn.0044b6b0
call fcn.0044d0e0
call qword [0x004654a0]
test ebx, ebx
je 0x44b8e6
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.0044d230
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 [0x00465500], eax
mov rcx, qword [rsi + 0x50]
call fcn.0043cf40
mov rcx, qword [rsi + 0x88]
call fcn.0043cf50
mov dword [0x00478e10], 1
lea rdi, [0x00478e10]
mov qword [0x00478e18], rsi
call sub.KERNEL32_GetEnvironmentStrings
mov qword [0x00478db0], rax
call sub.KERNEL32_GetCommandLineA
mov qword [0x00478dc0], rax
mov rcx, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x70]
mov r8, qword [rsi + 0x78]
mov r9, qword [rsi + 0x80]
call fcn.0044bb30
xor edx, edx
mov rcx, rdi
call fcn.0044cfe0
test byte [rsi + 0x20], 1
jne 0x44d334
mov ecx, dword [0x00478ddc]
mov rdx, qword [0x00478de0]
mov r8, qword [0x00478de8]
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 0x44b8c0
mov rax, qword [0x00478dc0]
nop dword [rax + rax]
inc rax
mov cl, byte [rax - 1]
cmp cl, 9
je 0x44d340
cmp cl, 0x20
je 0x44d340
cmp cl, 0x22
jne 0x44d35e
mov cl, byte [rax]
mov edx, 0x22
jmp 0x44d366
dec rax
mov edx, 0x20
movsx edi, cl
cmp edx, edi
je 0x44d384
nop dword [rax]
test cl, cl
je 0x44d384
cmp cl, 9
je 0x44d384
movsx ecx, byte [rax + 1]
inc rax
cmp edx, ecx
jne 0x44d370
lea rdi, [rax + 1]
cmp cl, 0x22
cmovne rdi, rax
jmp 0x44d3a3
inc rdi
movzx eax, byte [rdi]
cmp al, 0x20
je 0x44d3a0
cmp al, 9
je 0x44d3a0
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 0x44b8c0
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, [0x00453300]
lea rdi, [rbp - 0x48]
mov rcx, rdi
mov r8, rax
call fcn.00403bd0
lea rdx, [0x0045332e]
mov r8d, 0x14
mov rcx, rdi
call fcn.00406390
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.0043b570
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.00403ab0
lea rdx, [0x00453358]
lea rcx, [rbp - 0x20]
mov r8d, 1
call fcn.00406390
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.0043b570
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.00408840
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.00408840
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.00408840
cmp qword [rbp + 0x28], 7
cmova rsi, qword [rbp + 0x10]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x0045335c]
lea r8, [0x00453366]
xor ecx, ecx
mov r9, rsi
call sub.SHELL32.DLL_ShellExecuteW
cmp eax, 0x20
jg 0x401ab4
lea rcx, [0x00466b38]
lea rdx, [0x004530a6]
call fcn.004037f0
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00405eb0
movzx edx, al
mov rcx, rsi
call fcn.00405d40
mov rcx, rsi
call fcn.00404fb0
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.00408840
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.00405a30
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.0043af90
jmp 0x402096
lea rcx, [0x00466b38]
lea rdx, [0x00453016]
call fcn.004037f0
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00405eb0
movzx edx, al
mov rcx, rsi
call fcn.00405d40
mov rcx, rsi
call fcn.00404fb0
jmp 0x402048
lea rcx, [0x00466b38]
lea rdx, [0x00453034]
call fcn.004037f0
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00405eb0
movzx edx, al
mov rcx, rsi
call fcn.00405d40
mov rcx, rsi
call fcn.00404fb0
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.004045f0
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