joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006b150
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18006b181
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1800dd698]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800dd6a8]
lea rdx, [rdi + rdi]
call fcn.180066b70
mov rax, qword [0x1800dd698]
lea r9, [rdi - 1]
mov qword [0x1800dd6c0], r9
mov qword [0x1800dd6c8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18006b322
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1800dd6a8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18006b26c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18006b2e3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18006b2a9
mov r10, qword [rdx]
cmp r10, rax
je 0x18006b2a3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18006b2e3
cmp r9, rdx
je 0x18006b2bf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18006b2f7
cmp r9, rdx
jne 0x18006b2b0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18006b31d
mov r9, qword [0x1800dd6c0]
jmp 0x18006b1f1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18006b2e3
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180077930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180077991
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180077950
mov ecx, dword [r9]
jmp 0x180077a78
cmp ecx, 0x4e0
jb 0x180077a78
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1800779b0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180077a00
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180078ba0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
cmp byte [rcx + 8], 0
je 0x180078d2e
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180078d2e
mov rsi, qword [0x1800ddd50]
cmp qword [rsi + 8], 0
je 0x180078d2e
mov rbx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x14
lea rdx, str.rightClickDelayTimer
lea rcx, [rsp + 0x20]
call fcn.180057110
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1800ddb70]
call fcn.1800626a0
mov rdx, qword [rbx]
mov r9, qword [rdx + 0x320]
mov r8, rax
mov rdx, qword [rsi + 8]
mov rcx, rbx
call r9
mov ebx, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180078c78
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180078c73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180078c73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180083020
cmp ebx, 4
jne 0x180078d2e
mov rsi, qword [0x1800ddd50]
mov edi, dword [rdi + 0x10]
cmp qword [rsi + 8], 0
je 0x180078d2e
mov rbx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x14
lea rdx, str.rightClickDelayTimer
lea rcx, [rsp + 0x20]
call fcn.180057110
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1800ddb70]
call fcn.1800626a0
mov r8, qword [rbx]
mov r10, qword [r8 + 0x368]
mov r9d, edi
mov r8, rax
mov rdx, qword [rsi + 8]
mov rcx, rbx
call r10
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180078d2e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180078d29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180078d29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180083020
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180082690
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800dc010]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.18007a6c0
call fcn.180081680
mov rbx, qword [0x1800ddd50]
test rbx, rbx
je 0x1800826d0
mov rcx, rbx
call fcn.18005d0a0
mov edx, 0xd8
mov rcx, rbx
call fcn.180083020
call fcn.1800599f0
cmp qword [0x1800dd720], 0
je 0x1800826fc
lea r8, [0x1800dd720]
lea rdx, [rsp + 0x30]
call fcn.180067ca0
mov rcx, qword [rax]
add rcx, 0x18
call fcn.180065db0
mov rcx, qword [0x1800dd740]
test rcx, rcx
je 0x180082714
mov rax, qword [rcx]
mov rdx, qword [rax + 0x3f0]
call rdx
mov byte [0x1800dd738], 0
mov rdx, qword [0x1800dd608]
mov rcx, qword [0x1800dd610]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
call fcn.18003dd80
call fcn.18003f2d0
call fcn.1800086e0
mov r8, qword [0x1800dd618]
mov edx, 0xfffffffc
mov rcx, qword [0x1800dd730]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rdx, qword [0x1800dd638]
mov rcx, qword [0x1800dd610]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rcx, qword [0x1800dd608]
call qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov rcx, qword [0x1800dd620]
test rcx, rcx
je 0x180082789
call fcn.18005f7f0
mov rcx, qword [0x1800dd6d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x1800dd6f0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x1800dd6e8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rcx, qword [0x1800dd6f8]
test rcx, rcx
je 0x1800827c7
call fcn.18005f7f0
mov ecx, 0x10
call fcn.180083098
mov rcx, qword [0x1800dd760]
mov qword [rax], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x180082890]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18008285b
cmp dword [rsp + 0x38], 0
je 0x18008284f
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x18008284f
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180082950
add rsp, 0x60
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14001d180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x68]
xor eax, 0x3ed2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x367
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x14d
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x60]
sub eax, 0x6c
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x29b4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x60]
add eax, 0x28e
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
xor eax, 0x412
cmp dword [rsp + 0x2c], eax
jl 0x14001d371
mov eax, dword [rsp + 0x2c]
xor eax, 0x8d0
cmp dword [rsp + 0x24], eax
je 0x14001d284
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc4]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x34]
mov edx, 0xfff66585
lea rax, [rax + rdx]
lea eax, [rax + rcx]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xc0], eax
mov eax, dword [rsp + 0x20]
xor eax, 0x2399
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xe0]
add eax, 0x16004f
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx + 0xe0], eax
jmp 0x14001d371
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x3c]
xor eax, edx
sub eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0xc4], eax
jb 0x14001d371
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x80]
mov dword [rsp + 0x28], eax
jmp 0x14001d2e0
mov eax, dword [rsp + 0x28]
add eax, 4
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax + 0x1c]
mov ecx, dword [rcx + 0x50]
xor ecx, eax
mov eax, ecx
xor eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jae 0x14001d371
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xc4]
mov eax, dword [rax + 0xc4]
and eax, ecx
and eax, dword [rsp + 0x20]
mov eax, eax
mov qword [rsp + 0x48], rax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x2c]
mov eax, dword [rcx + rax + 0xe0]
xor eax, edx
mov eax, eax
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
jmp 0x14001d2d5
mov eax, dword [rsp + 0x20]
sub eax, 0x110d
add rsp, 0x58
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 fcn.100159000
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.10000c1e0
add rsp, 0x28
jmp 0x10000bae0
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
imul ebp, dword [r9 + 0x65374561], 0x67247256
invalid
invalid
invalid
push rsi
jb 0x14003f656
mov byte [ecx], ch
adc cl, ch
nop
sub dword [rsi + rbx*4 - 0x1c], ecx
invalid
cli
or ch, byte [rcx]
cli
ret 0xfc7d
js 0x14003f628
inc qword [rdi - 0x26]
movabs dword [0xa540bce646b29b75], eax
add dl, r15b
and edi, edi
cmpsq qword [rsi], qword [rdi]
sahf
jo case.0x140007389.0
cmc
test al, 0xb
invalid
sahf
invalid
push rdx
out 0x5b, eax
fsubr qword [rax + 0x51078e35]
push 0x1e
sub eax, 0x6d5ec386
pop rsi
insd dword [rdi], dx
pop rsi
insd dword [rdi], dx
fimul dword [rbx + rbp*2 + 0x46da5a7b]
cld
mov ch, 0xd9
mov ch, bl
invalid
rcr byte [rbx - 0x33e7d764], 1
invalid
sbb ebp, dword [rbp - 0x60]
cmc
cmp byte [rdi - 0x80], al
invalid
invalid
invalid
or dword [rsi + 0x73f52601], ebx
jp 0x14003f707
add dword [rsi], esp
cmc
jae 0x14003f793
in eax, dx
mov ah, al
sal dword [rax + 0x503f6d54], 1
fbstp tbyte [rax + rdi - 0xce2ec15]
fidiv word [0x1b24da6ca]
jb str.__fWjn_VL:
jp 0x14003f6cc
loop 0x14003f78f
leave
invalid
clc
leave
cmp al, 0x17
fstp dword [rax - 0xdd0ed67]
invalid
mov ah, byte [rsi]
mul byte [0x1240cbc16]
jg 0x14003f759
or ah, ah
pop rsp
pop rax
jo 0x14003f7f6
sub ebp, dword [rsi]
sub eax, 0xd595d72a
mov edx, 0x6285c28b
invalid
mov edi, 0xd2a52766
mov ah, 0x89
invalid
Function at 0x408ad0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x38], 0
nop
xor rax, rax
mov dword [rbp + 0x2c], eax
call sub.kernel32.dll_GetCommandLineW
mov rcx, rax
lea rdx, [rbp + 0x38]
call fcn.004089e0
mov rcx, rax
lea rdx, [rbp + 0x38]
call fcn.004089e0
cmp qword [rbp + 0x38], 0
je 0x408b16
mov ecx, dword [rbp + 0x2c]
add ecx, 1
mov dword [rbp + 0x2c], ecx
jmp 0x408af8
nop
nop
lea rcx, [rbp + 0x38]
call fcn.0040e6c0
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x40c280
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rcx
mov ebx, edx
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.0040c820
mov esi, eax
test sil, sil
jne 0x40c442
test ebx, ebx
je 0x40c442
xor rdi, rdi
test r13d, r13d
jle 0x40c35f
call sub.kernel32.dll_GetTickCount
mov r14d, eax
test r13d, r13d
jle 0x40c33e
cmp ebx, 0xffffffff
je 0x40c2eb
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40c2eb
xor rsi, rsi
jmp 0x40c442
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jg 0x40c33e
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
jne 0x40c330
xor eax, eax
mov ecx, 1
mov rdx, qword [rsp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40c330
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40c442
call fcn.0040c9b0
sub r13d, 1
test r13d, r13d
jg 0x40c2d2
nop
cmp ebx, 0xffffffff
je 0x40c35f
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x40c35a
xor rsi, rsi
jmp 0x40c442
sub eax, r14d
sub ebx, eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40c29b
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c35f
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rsp + 0x28]
call fcn.0040c4f0
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x007019a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40c3cc
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x40c3c9
sub eax, r14d
sub ebx, eax
jmp 0x40c3cc
xor rbx, rbx
test sil, sil
je 0x40c400
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40c3fd
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c3d1
mov dil, 1
nop
jmp 0x40c41f
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c400
mov dil, 1
test dil, dil
je 0x40c384
nop
test sil, sil
je 0x40c442
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x40e120
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x007010a8], 0
je 0x40e1be
cmp word [0x007013b8], 0xd7b2
jne 0x40e153
cmp dword [0x007013c0], 0
jbe 0x40e153
lea rcx, [0x007013b0]
call qword [0x007013d8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x006c49d0]
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rbx, rax
lea rcx, [0x0040e1f4]
call fcn.0040f490
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40e1e0
cmp byte [0x006c3052], 0
jne 0x40e1e0
xor rcx, rcx
lea rdx, [0x006c49d0]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40e4b0
Capabilities:
Create thread

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x38], rcx
mov ebx, edx
mov rsi, r8
mov rdi, r9
cmp qword [0x006c3058], 0
je 0x40e4e1
mov rcx, rsi
mov rdx, rdi
call qword [0x006c3058]
mov r13, rax
jmp 0x40e4f7
mov ecx, 0x10
call fcn.00408450
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x007010a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x0040e440]
mov r9, r13
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov rbx, rax
test rbx, rbx
jne 0x40e53c
mov rcx, r13
call fcn.00408480
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x411c90
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00705c90]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x00705cb8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00705c88], al
cmp byte [0x00705c88], 0
je 0x411d2f
lea rcx, [0x00411d34]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411d4e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00705c70], rax
lea rcx, [0x00411d34]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411d6c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00705c78], rax
lea rcx, [0x00411d34]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x00411d8a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00705c80], rax
add rsp, 0x28
ret
Function at 0x411fc0
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x1d0
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x40], rdx
mov word [rbp + 0x4e], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
call fcn.0040e6c0
movzx rax, word [rbp + 0x4e]
cmp word [0x006c50f0], ax
ja 0x4120a8
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x006c54f0]
mov word [rbp + 0x4e], ax
ja 0x4120a8
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x4120a7
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x006c50f0]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x412061
mov ecx, eax
sub ecx, 1
jmp 0x4120a2
lea rdx, [0x006c50f0]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x412083
mov r8d, eax
add r8d, 1
jmp 0x4120a2
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x006c50f8]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.00411e60
jmp 0x4120a7
cmp ecx, r8d
jae 0x412030
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x41218a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x41218a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040fb60
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040fb60
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040fb60
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x004121e4]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x004121f4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040ffe0
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040e7a0
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret