joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1410c7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410c71df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1410c7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410c706f
add dl, dl
jne 0x1410c7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410c70f6
xor eax, eax
add dl, dl
jne 0x1410c70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410c71ad
add dl, dl
jne 0x1410c70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410c70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410c70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410c70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410c70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1410c707e
mov eax, 1
add dl, dl
jne 0x1410c7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410c7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410c70fb
sub eax, ebx
mov ebx, 1
jne 0x1410c714c
mov ecx, 1
add dl, dl
jne 0x1410c712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1410c713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410c7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410c707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1410c7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1410c7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410c715d
cmp eax, 0x7d00
jae 0x1410c719b
cmp eax, 0x500
jb 0x1410c7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410c707e
cmp eax, 0x7f
ja 0x1410c719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410c707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410c71d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1410c707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x1800010e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180001108
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140187d30
Capabilities:
Check os version
Parse pe header

Disassembly:
mov rax, qword gs:[0x60]
mov r9, rcx
test rax, rax
je 0x140187dcb
cmp dword [rax + 0x118], 0xa
jne 0x140187dcb
mov rax, qword [rax + 0x18]
mov rdx, qword [rax + 0x20]
mov rax, qword [rdx]
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140187dcb
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140187dcb
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140187dcb
mov r8d, dword [rax + rdx + 0x88]
add r8, rdx
je 0x140187dcb
mov qword [rcx + 0x20], rdx
mov ecx, dword [r8 + 0x18]
mov dword [r9 + 0x18], ecx
mov r11d, dword [r8 + 0x20]
add r11, rdx
mov qword [r9 + 8], r11
mov r10d, dword [r8 + 0x1c]
add r10, rdx
mov qword [r9], r10
mov r8d, dword [r8 + 0x24]
add r8, rdx
mov qword [r9 + 0x10], r8
test ecx, ecx
je 0x140187dcb
test r11, r11
je 0x140187dcb
test r10, r10
je 0x140187dcb
test r8, r8
je 0x140187dcb
mov eax, 1
ret
xor eax, eax
ret

Function at 0x140188e80
Capabilities:
Parse pe header

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

Function at 0x14018d500
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14018d2fc
Function at 0x1401905b4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401905e4
xor eax, eax
jmp 0x1401906a7
mov rbp, rbx
cmp word [rax], si
je 0x140190609
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401905f0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401905ec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401904d4
movsxd r14, eax
test eax, eax
jne 0x140190647
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401905dd
mov rcx, r14
call fcn.140191048
mov rdi, rax
test rax, rax
jne 0x140190660
xor ecx, ecx
call fcn.14018eb0c
jmp 0x14019063c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401904d4
test eax, eax
jne 0x140190691
mov rcx, rdi
call fcn.14018eb0c
jmp 0x14019069b
xor ecx, ecx
call fcn.14018eb0c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140195e10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140195e38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140195e38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.100128000
add rsp, 0x28
jmp 0x10000bae0
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140ee5000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140ee500a
jmp 0x140ee700f
jmp fcn.140add058
Function at 0x140e10058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e101df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e10089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e1006f
add dl, dl
jne 0x140e10096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e100f6
xor eax, eax
add dl, dl
jne 0x140e100a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e101ad
add dl, dl
jne 0x140e100b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e100c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e100d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e100dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e100ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e1007e
mov eax, 1
add dl, dl
jne 0x140e10106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e10113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e100fb
sub eax, ebx
mov ebx, 1
jne 0x140e1014c
mov ecx, 1
add dl, dl
jne 0x140e1012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e1013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e10123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e1007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e10168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e10175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e1015d
cmp eax, 0x7d00
jae 0x140e1019b
cmp eax, 0x500
jb 0x140e10196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e1007e
cmp eax, 0x7f
ja 0x140e1019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e1007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e101d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e1007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov bl, 0x34
jmp 0x1400232f1
nop
add dword [rbx], edx
mov dword [rcx], ebx
mov byte [rdi], dh
clc
fabs
mov eax, 0xe5be03a0
mov ebx, 0x5ea9dbab
stc
test al, 0x7e
jmp qword [rdi + 0x4636ff7e]
Function at 0x1400013f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x1400014a5
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140001471
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001490
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001490
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x140001490
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x140022140], 0
jne 0x1400014f0
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400014e0
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140022128], rax
mov byte [0x140022140], 1
jmp 0x1400014f7
mov rax, qword [0x140022128]
mov byte [0x140022140], 1
jmp 0x1400014f7
mov rax, qword [0x140022128]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x14000147a
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax
Function at 0x1400057cc
Capabilities:
Link function at runtime on windows

Disassembly:
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.DmsSendMail
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
call rbx
mov r12, rax
lea rcx, str.fun_new_end
call fcn.1400065f4
lea r8, str.SendMail
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
movzx ecx, word [rdi + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x14000583e
add rdx, 2
cmp rdx, 9
je 0x140005834
movzx eax, word [rdi + rdx*2]
cmp ax, word [r8 + rdx*2]
jne 0x14000583e
jmp 0x140005810
xor r8d, r8d
xor edx, edx
mov rcx, r12
call rsi
xor esi, esi
mov ecx, esi
lea rdx, str.Upload
nop dword [rax]
movzx eax, word [rdi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x14000586f
cmp rcx, 7
jne 0x140005850
xor r8d, r8d
xor edx, edx
mov rcx, r12
call r14
mov edi, 1
mov ebx, esi
test edi, edi
je 0x1400058af
nop word [rax + rax]
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400058af
mov edx, ebx
lea rcx, [rbp - 0x39]
mov rax, qword [rbp - 0x39]
call qword [rax + 8]
inc ebx
test eax, eax
jne 0x140005880
mov edi, esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x140005876
test eax, eax
je 0x140005930
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x39]
mov rax, qword [rbp - 0x39]
call qword [rax]
test eax, eax
jne 0x1400058f0
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [rbp - 9]
sub eax, 0xf
je 0x140005920
sub eax, 0x91
je 0x140005920
sub eax, 0x78
je 0x140005920
cmp eax, 0xe8
je 0x140005920
mov ecx, 1
mov edi, ecx
mov eax, esi
test ecx, ecx
cmove eax, ebx
mov ebx, eax
jmp 0x140005876
mov ecx, esi
mov eax, esi
test ecx, ecx
cmove eax, ebx
mov ebx, eax
jmp 0x140005876
mov edi, dword [rbp - 1]
mov rcx, r12
call r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x140022118]
add rbx, 0x18
mov qword [rbp - 0x49], rbx
mov byte [rbp - 0x41], sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x41], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r10, qword [0x1400221a8]
mov r8d, esi
movsxd rcx, dword [r10 + 0x10]
invalid
invalid
test ecx, ecx
jle 0x1400059a3
mov r9, rcx
mov rdx, rsi
Function at 0x140005a70
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jns 0x140005a9a
mov eax, 1
jmp 0x140005c86
mov dword [rsp + 0x20], 8
mov dword [rsp + 0x24], 0xff
lea rcx, [rsp + 0x20]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.14000b17c
call fcn.140005510
lea rcx, str.Run_start
call fcn.1400065f4
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
call fcn.140005660
mov esi, eax
mov rdi, qword [0x140022118]
add rdi, 0x18
mov qword [rsp + 0x28], rdi
mov byte [rsp + 0x30], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x30], 1
mov rbx, qword [0x1400221b0]
test rbx, rbx
je 0x140005b2b
cmp dword [rbx + 8], 0
jle 0x140005b2b
mov rcx, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_DestroyWindow]
Function at 0x140006698
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x20], 0x10000
je 0x140006703
cmp dword [rcx + 0x28], 0x20000
je 0x140006703
mov rsi, qword [rcx + 8]
mov edx, 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor ebx, ebx
test eax, eax
jne 0x140006703
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x140006703
movsxd rdi, dword [rsi + 0x3c]
mov edx, 0x108
add rdi, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x140006703
cmp dword [rdi], 0x4550
cmove rbx, rdi
mov rax, rbx
jmp 0x140006705
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000baf4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000b920
Function at 0x140008a20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x20]
mov rax, qword [0x1401f6040]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, select
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
call fcn.140008980
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140008a92
mov qword [rbp + 0x38], 0
jmp 0x140008b30
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140008aa2
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140008ad1
mov qword [rbp + 0x30], 0
jmp 0x140008b28
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x48], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140008af9
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14019dda0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov r8d, ecx
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.140008990
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.140027c50
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140008b56
inc rcx
test dl, dl
jne 0x140008b43
xor eax, eax
jmp 0x140008b5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140008b81
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x1c], eax
mov rcx, qword [rbp + 0x2b8]
call fcn.140005530
mov eax, dword [rbp + 0x1c]
jmp 0x140008bb8
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008a76
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.140005530
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.14019c6f0
lea rsp, [rbp + 0x2a0]
pop rbp
ret