joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000173d
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xe0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
movabs rax, 0x70757465536e6957
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x21], 0
pxor xmm0, xmm0
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm0
movq qword [rbp - 0x40], xmm0
lea rax, [sym.WindowProc]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x80]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_RegisterClassA]
call rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetSystemMetrics]
call rax
mov dword [rbp - 0xc], eax
mov ecx, 1
mov rax, qword [sym.imp.USER32.dll_GetSystemMetrics]
call rax
mov dword [rbp - 0x10], eax
mov dword [rbp - 0x14], 0x12c
mov dword [rbp - 0x18], 0xc8
mov eax, dword [rbp - 0xc]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 0x10]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [rbp - 8], eax
mov eax, dword [rbp - 4]
cmp eax, dword [rbp - 0x14]
jl 0x140001808
mov eax, dword [rbp - 8]
cmp eax, dword [rbp - 0x18]
jge 0x140001816
mov eax, dword [rbp - 0x14]
mov dword [rbp - 4], eax
mov eax, dword [rbp - 0x18]
mov dword [rbp - 8], eax
jmp 0x14000183a
mov eax, dword [rbp - 8]
cmp eax, dword [rbp - 4]
jle 0x14000183a
mov eax, dword [rbp - 4]
movsxd rdx, eax
imul rdx, rdx, 0x55555556
shr rdx, 0x20
sar eax, 0x1f
sub edx, eax
lea eax, [rdx + rdx]
mov dword [rbp - 8], eax
mov eax, dword [rbp - 0xc]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rbp - 4]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
neg eax
add eax, ecx
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x10]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rbp - 8]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
neg eax
add eax, ecx
mov dword [rbp - 0x20], eax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x58], 0
mov rdx, qword [rbp + 0x18]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov edx, dword [rbp - 8]
mov dword [rsp + 0x38], edx
mov edx, dword [rbp - 4]
mov dword [rsp + 0x30], edx
mov edx, dword [rbp - 0x20]
mov dword [rsp + 0x28], edx
mov edx, dword [rbp - 0x1c]
mov dword [rsp + 0x20], edx
mov r9d, 0xcf0000
lea r8, str.WinSetup
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_CreateWindowExA]
call rax
mov rdx, qword [rbp + 0x10]
mov qword [rdx], rax
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov r8, rdx
mov edx, 0xffffffeb
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SetWindowLongPtrA]
call rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov edx, dword [rbp + 0x20]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_UpdateWindow]
call rax
nop
add rsp, 0xe0
pop rbp
ret
Function at 0x140001e91
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
lea rax, str.ping__n_1_8.8.8.8
mov rcx, rax
call sym.system
test eax, eax
jne 0x140001eb3
mov eax, 1
jmp 0x140001eb8
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001ebe
Capabilities:
Execute command
Self delete

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
call sym.checkNetwork
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0x10]
add eax, 1
cmp eax, 4
je 0x140001f8a
cmp eax, 4
jg 0x140001f9b
cmp eax, 1
je 0x140001f0b
cmp eax, 2
je 0x140001f4c
jmp 0x140001f9b
cmp dword [rbp - 0xc], 0
jne 0x140001f3b
mov r9d, 0x10
lea r8, str.Error
lea rax, str.Check_your_internet_connection_and_try_again.
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
jmp 0x140001fbc
lea rax, str.echo_Installing_Wintoys:_powershell__C__winget_install__e___silent___accept_source_agreements___accept_package_agreements___name_Wintoys__echo:__echo_Downloading_Windows_Update_Blocker__Wub_:_del_WinSetup_WubPackage.zip_2_nul__rmdir__S__Q_WinSetup_WubPackage__Windows_Update_Blocker__2_nul_powershell__C__Invoke_WebRequest_https:__www.sordum.org_files_downloads.php_st_windows_update_blocker__OutFile_.WinSetup_WubPackage.zip_Expand_Archive__LiteralPath_.WinSetup_WubPackage.zip__DestinationPath_.WinSetup_WubPackage_Move_Item__Path_.WinSetup_WubPackageWub__Destination_.Windows_Update_Blocker_rm_.WinSetup_WubPackage__force__echo:__echo_Finished.__timeout__t_3
mov rcx, rax
call sym.system
jmp 0x140001fbc
cmp dword [rbp - 0xc], 0
jne 0x140001f79
mov r9d, 0x10
lea r8, str.Error
lea rax, str.Check_your_internet_connection_and_try_again.
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
jmp 0x140001fbc
lea rax, str.echo_Please_wait__this_can_take_a_few_seconds.__echoset__p_Chris_Titus_Techs_Windows_Utility_Toolbox_now_loading____timeout__t_1__nul___for__L__i_in__1_1_3__do__set__p_.___nul__timeout__t_1__nul___echo___powershell__C__Start_Process_powershell.exe_irm_https:__www.christitus.com_win__iex__Verb_RunAs__Wait__WindowStyle_Hidden_
mov rcx, rax
call sym.system
jmp 0x140001fbc
lea rax, str.echo_Nothing_to_see_here_yet.__timeout__t_3
mov rcx, rax
call sym.system
jmp 0x140001fbc
mov eax, dword [rbp - 0x10]
cdqe
lea rdx, [rax*8]
lea rax, str.cmd__c_echo__USERPROFILE_Desktop__pause
mov rax, qword [rdx + rax]
mov rcx, rax
call sym.system
nop
mov rax, qword [rbp - 8]
mov rax, qword [rax]
mov edx, dword [rbp - 0x10]
movsxd rdx, edx
add rdx, 2
mov rax, qword [rax + rdx*8]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_EnableWindow]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x140001ff9
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x18]
movzx eax, ax
sub eax, 1
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
js 0x14000209a
cmp dword [rbp - 4], 2
jg 0x14000209a
mov rax, qword [rbp + 0x10]
mov edx, dword [rbp - 4]
movsxd rdx, edx
add rdx, 2
mov rax, qword [rax + rdx*8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_EnableWindow]
call rax
mov ecx, 0x10
call sym.malloc
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp + 0x10]
mov qword [rax], rdx
mov rax, qword [rbp - 0x10]
mov edx, dword [rbp - 4]
mov dword [rax + 8], edx
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [sym.RunCommand]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
nop
add rsp, 0x40
pop rbp
ret

Function at 0x140002520
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400031f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000a168]
test eax, eax
je 0x14000328a
lea rax, [0x14000a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000a170]
mov qword [rbp - 8], rax
jmp 0x14000326e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140003262
cmp qword [rbp - 0x10], 0
je 0x140003262
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140003228
lea rax, [0x14000a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000328b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140003390
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400033b8
mov eax, 0
jmp 0x140003406
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400033e1
mov eax, 0
jmp 0x140003406
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140003401
mov eax, 0
jmp 0x140003406
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000340c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000348a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003481
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003481
mov rax, qword [rbp - 8]
jmp 0x14000349f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003454
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001943c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400195b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140163000
add rsp, 0x28
jmp 0x14001943c
Function at 0x4019c7
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0xf768efe9
call fcn.0040181e
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x408270
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.004085c0
mov esi, eax
test sil, sil
jne 0x408432
test ebx, ebx
je 0x408432
xor rdi, rdi
test r13d, r13d
jle 0x408357
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x408336
cmp ebx, 0xffffffff
je 0x4082e3
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x4082e3
xor rsi, rsi
jmp 0x408432
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x408336
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x408324
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x408324
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x408432
lea rcx, [rbp + 0x3c]
call fcn.00407f40
sub r13d, 1
test r13d, r13d
jg 0x4082ca
nop
cmp ebx, 0xffffffff
je 0x408357
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x408352
xor rsi, rsi
jmp 0x408432
sub eax, r14d
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40828d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x408357
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.004084e0
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x00489990]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x4083c1
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x4083be
sub eax, r14d
sub ebx, eax
jmp 0x4083c1
xor rbx, rbx
test sil, sil
je 0x4083f3
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x4083f0
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x4083c6
mov dil, 1
nop
jmp 0x408410
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x4083f3
mov dil, 1
test dil, dil
je 0x40837a
nop
test sil, sil
je 0x408432
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x409dc0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x00489098], 0
je 0x409e5e
cmp word [0x004893a8], 0xd7b2
jne 0x409df3
cmp dword [0x004893b0], 0
jbe 0x409df3
lea rcx, [0x004893a0]
call qword [0x004893c8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0047a7e0]
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, [0x00409e94]
call fcn.0040b0f0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x409e80
cmp byte [0x00479052], 0
jne 0x409e80
xor rcx, rcx
lea rdx, [0x0047a7e0]
lea r8, [0x0047a6f0]
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40cfd0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x0048dc80]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x0048dca8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x0048dc78], al
cmp byte [0x0048dc78], 0
je 0x40d06f
lea rcx, [0x0040d074]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040d08e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0048dc60], rax
lea rcx, [0x0040d074]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040d0ac]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0048dc68], rax
lea rcx, [0x0040d074]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040d0ca]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0048dc70], rax
add rsp, 0x28
ret
Function at 0x40d340
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.0040a270
movzx rax, word [rbp + 0x4e]
cmp word [0x0047add0], ax
ja 0x40d428
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x0047b1d0]
mov word [rbp + 0x4e], ax
ja 0x40d428
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x40d427
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x0047add0]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x40d3e1
mov ecx, eax
sub ecx, 1
jmp 0x40d422
lea rdx, [0x0047add0]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x40d403
mov r8d, eax
add r8d, 1
jmp 0x40d422
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x0047add8]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.0040d1e0
jmp 0x40d427
cmp ecx, r8d
jae 0x40d3b0
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x40d50a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d50a
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.0040b790
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040b790
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040b790
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x0040d564]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0040d574]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040bb80
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040a350
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x40d780
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x0048dc80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x0048dca8], ax
jne 0x40d7eb
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0048dcaa]
mov r8d, 0x55
call fcn.0040b790
lea rcx, [0x0048dc80]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40d8f6
lea rcx, [0x0048dc80]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.0040a270
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d8b0
cmp byte [0x0048dc78], 0
je 0x40d844
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.0040d610
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.0040a850
jmp 0x40d8b0
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.0040d340
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040a850
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x40d8b0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x40d88f
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0040d944]
call fcn.0040b970
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.0040d340
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.0040b970
lea rcx, [0x0048dc80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x0048dca8], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.0040b6c0
lea rcx, [0x0048dcaa]
mov edx, 0xaa
mov r8, rax
call fcn.0040d100
lea rcx, [0x0048dc80]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040a350
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40e320
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.0040a400
nop
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040b790
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.0040ba60
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040e140
test al, al
jne 0x40e3ee
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040b790
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.0040ba60
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040e140
test al, al
jne 0x40e3ee
mov rcx, qword [rbp + 0x20]
call fcn.0040a270
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040a350
lea rcx, [rbp + 0x70]
call fcn.0040a270
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret