joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bbc6
Capabilities:
Enumerate process modules

Disassembly:
push 0x13c
mov eax, 0x45016c
call fcn.0044d7cc
xor eax, eax
lea edi, [ebp - 0x128]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x1000
mov dword [ebp - 0x128], ebx
mov ecx, edi
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
call fcn.00408707
push edi
push ebx
push eax
lea esi, [eax + 0x1000]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x120], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x124], esi
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], ebx
call fcn.0044bf6d
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 0x124]
sub eax, dword [ebp - 0x128]
push ecx
and eax, 0xfffffffc
push eax
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x44bd1b
test dword [ebp - 0x12c], 0xfffffffc
mov esi, ebx
jbe 0x44bd1b
mov eax, dword [ebp - 0x128]
cmp dword [eax + esi*4], 0
je 0x44bce5
push dword [eax + esi*4]
push ebx
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x44bce5
push 0x104
lea eax, [ebp - 0x11c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x44bce5
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x148]
call fcn.004058c4
mov edx, str.steam.exe
mov ecx, eax
call fcn.0041288b
lea ecx, [ebp - 0x148]
mov bl, al
call fcn.0040581d
test bl, bl
jne 0x44bcf5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov eax, dword [ebp - 0x12c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x44bc74
jmp 0x44bd1b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._FATAL__Steam_is_running._Close_it_to_continue
call fcn.00407936
push 0x407adc
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x128]
call fcn.00413462
mov al, bl
call fcn.0044d77b
ret
Function at 0x44bd2e
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x487010]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0
push 2
mov dword [esp + 0x10], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x44bd8d
lea eax, [esp + 0x2c]
push str.Steam.exe
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
pop ecx
pop ecx
test eax, eax
je 0x44bdc1
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x44bd6b
mov edx, str.Steam_process_not_found.
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00407936
push 0x407adc
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
call fcn.0044c7cf
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x44bdf2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Steam_terminated_successfully.
jmp 0x44bd9c
mov edx, str.Error_opening_Steam_process_for_termination.
jmp 0x44bd96

Function at 0x44bfb7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0044bf93
pop esi
leave
ret 8

Function at 0x44d3ac
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44d3eb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44d3eb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44d3eb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44d3eb
cmp dword [ecx + 0x74], 0xe
jbe 0x44d3eb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x64606101
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64606149
test dword [eax + 0x1c], 0x200
je 0x64606149
cmp byte [eax + 0x19], 4
jb 0x64606149
push dword [eax + 0x14]
mov edx, 0x64601f58
push dword [eax + 0x10]
push 0xd
pop ecx
call fcn.64604423
mov ebx, 0x208
lea eax, [ebp - 0x210]
push ebx
xor esi, esi
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push ebx
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
mov ebx, 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x64606193
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x64606210
lea eax, [ebp - 0x418]
push eax
push esi
push 0x64601508
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x64606189
lea eax, [ebp - 0x418]
mov edx, ebx
push eax
mov ecx, edi
call fcn.646042a0
mov edi, eax
test edi, edi
jns 0x6460621b
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x646061fd
test dword [ecx + 0x1c], 0x200
je 0x646061fd
cmp byte [ecx + 0x19], 2
jb 0x646061fd
push edi
push 0x646012fc
push dword [ecx + 0x14]
mov edx, 0x64601f58
push dword [ecx + 0x10]
push 0xe
pop ecx
call fcn.64604465
mov eax, edi
movzx esi, di
and eax, 0x1fff0000
cmp eax, 0x70000
je 0x64606210
mov esi, edi
test esi, esi
je 0x6460621b
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.64615f50
mov esp, ebp
pop ebp
ret
Function at 0x6460cac5
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x64617490]
cmp eax, 0xc8
jbe 0x6460cb0b
mov eax, dword [esi + 0x1c]
push 0
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x64618384]
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x64617490], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.64615f50
mov esp, ebp
pop ebp
ret

Function at 0x6460d8af
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x214]
push esi
push eax
mov ebx, edx
mov edi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460d90d
test byte [eax + 0x1c], 2
je 0x6460d90d
cmp byte [eax + 0x19], 5
jb 0x6460d90d
push dword [eax + 0x14]
mov edx, 0x646025c0
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.64604423
lea eax, [ebp - 0x214]
push eax
push esi
push esi
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jns 0x6460d95c
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460d950
test byte [eax + 0x1c], 2
je 0x6460d950
cmp byte [eax + 0x19], 2
jb 0x6460d950
push edi
push dword [eax + 0x14]
mov edx, 0x646025c0
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.64604441
movzx eax, di
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x6460d9ab
lea eax, [ebp - 0x214]
mov edx, 0x105
push eax
mov ecx, ebx
call fcn.646042a0
mov edi, eax
test edi, edi
jns 0x6460d9a8
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x6460d950
test byte [ecx + 0x1c], 2
je 0x6460d950
cmp byte [ecx + 0x19], 2
jb 0x6460d950
movzx eax, di
mov edx, 0x646025c0
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0xc
pop ecx
call fcn.64604441
jmp 0x6460d950
xor esi, esi
inc esi
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615f50
mov esp, ebp
pop ebp
ret 4
Function at 0x6460d9c0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x20a
lea eax, [ebp - 0x630]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x63c], edi
xor eax, eax
test esi, esi
je 0x6460dbb8
push 1
push 1
mov edx, 0x646022d0
mov word [esi], ax
mov ecx, 0x80000001
call fcn.6460f309
mov edi, eax
test edi, edi
je 0x6460dbb6
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x634]
push eax
push ebx
push 0x64602394
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x6460da87
cmp ebx, 2
jne 0x6460dbb6
mov edi, 0x646023b0
jmp 0x6460daf8
cmp dword [ebp - 0x634], 1
je 0x6460da9d
cmp dword [ebp - 0x634], 2
jne 0x6460dbb6
and dword [ebp - 0x638], 0
lea eax, [ebp - 0x638]
mov ebx, 0x105
lea ecx, [ebp - 0x218]
push eax
mov edx, ebx
call fcn.6460d78b
test eax, eax
jns 0x6460dac5
xor ecx, ecx
jmp 0x6460dacb
mov ecx, dword [ebp - 0x638]
lea edi, [ebp - 0x218]
test eax, eax
js 0x6460daf8
push 0x5c
pop eax
cmp word [ebp + ecx*2 - 0x21a], ax
je 0x6460daf8
push 0x64601318
mov edx, ebx
mov ecx, edi
call fcn.646042d5
test eax, eax
js 0x6460dbac
push ecx
push 5
lea edx, [ebp - 0x630]
pop ecx
call fcn.6460d8af
test eax, eax
jne 0x6460db23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x646023e4
call fcn.6460efb4
pop ecx
pop ecx
jmp 0x6460dbb6
lea eax, [ebp - 0x630]
mov ebx, 0x104
push eax
mov edx, ebx
mov ecx, esi
call fcn.646042a0
test eax, eax
js 0x6460dbac
push 0x5c
pop eax
cmp word [edi], ax
je 0x6460db56
push 0x64601318
mov edx, ebx
mov ecx, esi
call fcn.646042d5
test eax, eax
js 0x6460dbac
push edi
mov edx, ebx
mov ecx, esi
call fcn.646042d5
test eax, eax
js 0x6460dbac
lea eax, [ebp - 0x420]
push eax
push 0x64602420
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
js 0x6460dbac
push 0x93d
push 0x64602458
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
test eax, eax
js 0x6460dbac
mov ecx, esi
call fcn.6460e7fa
xor eax, eax
inc eax
jmp 0x6460dbb8
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615f50
mov esp, ebp
pop ebp
ret
Function at 0x6460eabc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x64617004]
mov edi, 0x64617004
mov esi, 0x64602660
cmp eax, edi
je 0x6460eaf2
test byte [eax + 0x1c], 2
je 0x6460eaf2
cmp byte [eax + 0x19], 5
jb 0x6460eaf2
push dword [eax + 0x14]
mov edx, esi
push dword [eax + 0x10]
push 0x17
pop ecx
call fcn.64604423
push 0x25
push ebx
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x6460eb46
mov ecx, ebx
call fcn.6460e6a4
test eax, eax
jne 0x6460ec23
mov eax, dword [0x64617004]
cmp eax, edi
je 0x6460ec21
test byte [eax + 0x1c], 2
je 0x6460ec21
cmp byte [eax + 0x19], 2
jb 0x6460ec21
push dword [eax + 0x14]
mov edx, esi
push dword [eax + 0x10]
push 0x18
pop ecx
call fcn.64604423
jmp 0x6460ec21
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x6460eb98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x64617004]
cmp ecx, edi
je 0x6460ec21
test byte [ecx + 0x1c], 2
je 0x6460ec21
cmp byte [ecx + 0x19], 2
jb 0x6460ec21
push eax
push dword [ecx + 0x14]
mov edx, 0x64602660
push dword [ecx + 0x10]
push 0x19
pop ecx
call fcn.64604441
jmp 0x6460ec21
inc esi
lea ecx, [esi + esi]
call fcn.6460cdda
mov edi, eax
test edi, edi
jne 0x6460ebd1
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460ec21
test byte [eax + 0x1c], 2
je 0x6460ec21
cmp byte [eax + 0x19], 2
jb 0x6460ec21
push dword [eax + 0x14]
mov edx, 0x64602660
push dword [eax + 0x10]
push 0x1a
jmp 0x6460eb3b
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x6460ebe6
cmp eax, esi
ja 0x6460ebe6
mov eax, edi
jmp 0x6460ec23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x6460ec1a
test byte [ecx + 0x1c], 2
je 0x6460ec1a
cmp byte [ecx + 0x19], 2
jb 0x6460ec1a
push eax
push dword [ecx + 0x14]
mov edx, 0x64602660
push dword [ecx + 0x10]
push 0x1b
pop ecx
call fcn.64604441
mov ecx, edi
call fcn.6460ce5b
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x6460ed34
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x28], 0x10
mov eax, dword [0x64617004]
mov ebx, 0x64617004
cmp eax, ebx
je 0x6460ed7f
test byte [eax + 0x1c], 2
je 0x6460ed7f
cmp byte [eax + 0x19], 5
jb 0x6460ed7f
push dword [eax + 0x14]
mov edx, 0x64602660
push dword [eax + 0x10]
push 0x27
pop ecx
call fcn.64604423
test esi, esi
jne 0x6460ed8b
xor eax, eax
inc eax
jmp 0x6460ee33
mov ecx, esi
xor edx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, dx
jne 0x6460ed92
sub ecx, edi
sar ecx, 1
je 0x6460ed83
mov ecx, esi
mov eax, 0x6460265c
mov di, word [eax]
cmp di, word [ecx]
jne 0x6460edce
test di, di
je 0x6460edd3
mov di, word [eax + 2]
cmp di, word [ecx + 2]
jne 0x6460edce
add eax, 4
add ecx, 4
test di, di
jne 0x6460edaa
jmp 0x6460edd3
sbb edx, edx
or edx, 1
test edx, edx
je 0x6460ed83
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x6460ee21
mov eax, dword [0x64617004]
cmp eax, ebx
je 0x6460ee1d
test byte [eax + 0x1c], 2
je 0x6460ee1d
cmp byte [eax + 0x19], 2
jb 0x6460ee1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64602660
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x28
pop ecx
call fcn.64604441
xor eax, eax
jmp 0x6460ee33
lea eax, [ebp - 0x24]
push esi
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615f50
mov esp, ebp
pop ebp
ret

Function at 0x6460ee44
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 8
mov dword [ebp - 4], edi
mov esi, edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
test eax, eax
jne 0x6460ee7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x6460eeca
mov eax, dword [ebp - 4]
push ebx
push 2
pop ebx
test eax, eax
je 0x6460ee9a
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.64615949
pop ecx
mov esi, eax
test esi, esi
je 0x6460eec9
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
test eax, eax
je 0x6460eec9
cmp word [esi], di
je 0x6460eec9
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x20000070
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
pop ebx
cmp dword [ebp - 0xc], 1
jne 0x6460eed3
xor edi, edi
inc edi
test esi, esi
je 0x6460eede
push esi
call sub.msvcrt.dll_free
pop ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6460ef48
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x6460249c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x6460ef73
xor eax, eax
jmp 0x6460efb0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x64602670
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6460efa0
cmp dword [ebp - 0x10], 4
je 0x6460efa4
and dword [ebp - 8], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x6460efb4
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x800
lea eax, [ebp - 0x804]
push edi
xor esi, esi
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [0x64617484], esi
jne 0x6460f001
call fcn.6460ef48
mov dword [0x646170bc], eax
mov dword [0x64617484], 1
jmp 0x6460f006
mov eax, dword [0x646170bc]
test eax, eax
jle 0x6460f08e
lea eax, [ebp + 0xc]
mov edx, 0x400
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x804]
call fcn.6460eee6
test eax, eax
js 0x6460f08e
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x6460f032
sub ecx, edx
mov eax, 0x3fd
sar ecx, 1
cmp ecx, eax
jb 0x6460f04c
mov ecx, eax
push 0xa
pop edx
cmp word [ebp + ecx*2 - 0x806], dx
je 0x6460f081
push 0xd
pop eax
mov word [ebp + ecx*2 - 0x804], ax
mov word [ebp + ecx*2 - 0x802], dx
lea ecx, [ecx*2 + 4]
cmp ecx, edi
jae 0x6460f09e
xor eax, eax
mov word [ebp + ecx - 0x804], ax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.64615f50
mov esp, ebp
pop ebp
ret
call fcn.6461609d
int3
Function at 0x6460f0a4
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [0x64617004]
mov esi, 0x64617004
mov edi, 0x646026b0
push 2
pop ebx
cmp eax, esi
je 0x6460f103
test byte [eax + 0x1c], bl
je 0x6460f103
cmp byte [eax + 0x19], 5
jb 0x6460f103
push dword [eax + 0x14]
mov edx, edi
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.64604423
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x6460f154
mov eax, dword [0x64617004]
cmp eax, esi
je 0x6460f14d
test byte [eax + 0x1c], bl
je 0x6460f14d
cmp byte [eax + 0x19], bl
jb 0x6460f14d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
pop ecx
call fcn.64604441
xor eax, eax
jmp 0x6460f208
cmp dword [ebp - 0x118], ebx
je 0x6460f182
mov eax, dword [0x64617004]
cmp eax, esi
je 0x6460f14d
test byte [eax + 0x1c], bl
je 0x6460f14d
cmp byte [eax + 0x19], 3
jb 0x6460f14d
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
mov edx, edi
pop ecx
call fcn.64604423
jmp 0x6460f14d
cmp dword [ebp - 0x124], 5
jae 0x6460f1a9
mov eax, dword [0x64617004]
cmp eax, esi
je 0x6460f14d
test byte [eax + 0x1c], bl
je 0x6460f14d
cmp byte [eax + 0x19], 3
jb 0x6460f14d
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xe
jmp 0x6460f178
mov eax, dword [ebp - 0x10]
test al, 0x40
je 0x6460f1c2
xor eax, eax
cmp byte [ebp - 0xe], 1
setne al
dec eax
and eax, 0xffffffe0
add eax, 0x40
jmp 0x6460f208
test eax, 0x200
je 0x6460f1ce
xor eax, eax
inc eax
jmp 0x6460f208
test bl, al
je 0x6460f1d6
push 8
jmp 0x6460f207
test al, al
jns 0x6460f1de
push 0x10
jmp 0x6460f207
test eax, 0x400
je 0x6460f1ec
mov eax, 0x80
jmp 0x6460f208
mov cl, byte [ebp - 0xe]
cmp cl, 1
jne 0x6460f1f8
mov eax, ebx
jmp 0x6460f208
cmp cl, 3
je 0x6460f205
cmp cl, bl
jne 0x6460f14d
push 4
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615f50
mov esp, ebp
pop ebp
ret