joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455120
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x455153
push esi
call fcn.004634d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45514c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4551d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4551c2
mov eax, dword [esi + 8]
test eax, eax
je 0x455177
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4551be
cmp eax, 2
je 0x4551c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45516a
cmp eax, 3
je 0x45519d
cmp eax, 1
jne 0x45516a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45516a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45516a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00455200
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4551e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00455200
add esp, 4
pop esi
ret

Function at 0x455a70
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x455a91
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x455a91
mov eax, dword [eax + 0x44]
test eax, eax
je 0x455a91
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4707f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x470893
test eax, eax
jbe 0x470893
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x470893
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47083e
xor esi, esi
jmp 0x470844
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47086f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00472780
add esi, eax
push esi
mov ebx, esi
call fcn.00472780
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x470850
pop ebp
test edi, edi
pop edi
jne 0x470893
test ebx, ebx
je 0x470893
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004804d0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4709b5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x470acd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470acd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00491358
mov esi, eax
test esi, esi
je 0x470acd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x470acd
mov ecx, esi
call fcn.00470940
cmp edi, eax
jge 0x470acd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x470a53
mov dword [esp + 0x34], 1
jmp 0x470aae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x470acd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046ff30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x479510
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x47955c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x47955c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x479546
push eax
call ebp
test ax, ax
jl 0x479554
inc esi
add edi, 4
cmp esi, 6
jb 0x479538
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00479210
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x47d0b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x47d110
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x47d110
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x47d110
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x47d110
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x47d120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x491cfb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x491d33
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048fd88
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048fd60
jmp 0x491d3f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4933ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x493430
call fcn.0049902b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x493430
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x493427
xor eax, eax
jmp 0x493438
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049343e
pop edi
pop esi
pop ebx
ret 4

Function at 0x49955b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x499589
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4995a7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004994c1
jmp 0x4995a7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4995a7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004994c1
test edi, edi
mov eax, edi
jne 0x499591
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x6460615d
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 0x646061a5
test dword [eax + 0x1c], 0x200
je 0x646061a5
cmp byte [eax + 0x19], 4
jb 0x646061a5
push dword [eax + 0x14]
mov edx, 0x64601f74
push dword [eax + 0x10]
push 0xd
pop ecx
call fcn.64604453
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 0x646061ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x6460626c
lea eax, [ebp - 0x418]
push eax
push esi
push 0x64601518
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x646061e5
lea eax, [ebp - 0x418]
mov edx, ebx
push eax
mov ecx, edi
call fcn.646042d0
mov edi, eax
test edi, edi
jns 0x64606277
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x64606259
test dword [ecx + 0x1c], 0x200
je 0x64606259
cmp byte [ecx + 0x19], 2
jb 0x64606259
push edi
push 0x6460130c
push dword [ecx + 0x14]
mov edx, 0x64601f74
push dword [ecx + 0x10]
push 0xe
pop ecx
call fcn.64604495
mov eax, edi
movzx esi, di
and eax, 0x1fff0000
cmp eax, 0x70000
je 0x6460626c
mov esi, edi
test esi, esi
je 0x64606277
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.64615e30
leave
ret
Function at 0x6460cae5
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x64617490]
cmp eax, 0xc8
jbe 0x6460cb1d
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
pop esi
ret

Function at 0x6460d852
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 0x6460d8b0
test byte [eax + 0x1c], 2
je 0x6460d8b0
cmp byte [eax + 0x19], 5
jb 0x6460d8b0
push dword [eax + 0x14]
mov edx, 0x646025d0
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.64604453
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 0x6460d8ff
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460d8f3
test byte [eax + 0x1c], 2
je 0x6460d8f3
cmp byte [eax + 0x19], 2
jb 0x6460d8f3
push edi
push dword [eax + 0x14]
mov edx, 0x646025d0
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.64604471
movzx eax, di
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x6460d94e
lea eax, [ebp - 0x214]
mov edx, 0x105
push eax
mov ecx, ebx
call fcn.646042d0
mov edi, eax
test edi, edi
jns 0x6460d94b
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x6460d8f3
test byte [ecx + 0x1c], 2
je 0x6460d8f3
cmp byte [ecx + 0x19], 2
jb 0x6460d8f3
movzx eax, di
mov edx, 0x646025d0
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0xc
pop ecx
call fcn.64604471
jmp 0x6460d8f3
xor esi, esi
inc esi
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615e30
leave
ret 4
Function at 0x6460d961
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
test esi, esi
je 0x6460db57
push 1
xor eax, eax
mov edx, 0x646022e0
push 1
mov ecx, 0x80000001
mov word [esi], ax
call fcn.6460f288
mov edi, eax
test edi, edi
je 0x6460db57
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x634]
push eax
push ebx
push 0x646023a4
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 0x6460da28
cmp ebx, 2
jne 0x6460db57
mov edi, 0x646023c0
jmp 0x6460da99
cmp dword [ebp - 0x634], 1
je 0x6460da3e
cmp dword [ebp - 0x634], 2
jne 0x6460db57
and dword [ebp - 0x638], 0
lea eax, [ebp - 0x638]
mov ebx, 0x105
lea ecx, [ebp - 0x218]
push eax
mov edx, ebx
call fcn.6460d730
test eax, eax
jns 0x6460da66
xor ecx, ecx
jmp 0x6460da6c
mov ecx, dword [ebp - 0x638]
lea edi, [ebp - 0x218]
test eax, eax
js 0x6460da99
push 0x5c
pop eax
cmp word [ebp + ecx*2 - 0x21a], ax
je 0x6460da99
push 0x64601328
mov edx, ebx
mov ecx, edi
call fcn.64604305
test eax, eax
js 0x6460db4d
push ecx
push 5
lea edx, [ebp - 0x630]
pop ecx
call fcn.6460d852
test eax, eax
jne 0x6460dac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x646023f4
call fcn.6460ef40
pop ecx
pop ecx
jmp 0x6460db57
lea eax, [ebp - 0x630]
mov ebx, 0x104
push eax
mov edx, ebx
mov ecx, esi
call fcn.646042d0
test eax, eax
js 0x6460db4d
push 0x5c
pop eax
cmp word [edi], ax
je 0x6460daf7
push 0x64601328
mov edx, ebx
mov ecx, esi
call fcn.64604305
test eax, eax
js 0x6460db4d
push edi
mov edx, ebx
mov ecx, esi
call fcn.64604305
test eax, eax
js 0x6460db4d
lea eax, [ebp - 0x420]
push eax
push 0x64602430
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
js 0x6460db4d
push 0x93d
push 0x64602468
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
test eax, eax
js 0x6460db4d
mov ecx, esi
call fcn.6460e78f
xor eax, eax
inc eax
jmp 0x6460db59
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.64615e30
leave
ret
Function at 0x6460ea4f
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, 0x64602670
cmp eax, edi
je 0x6460ea85
test byte [eax + 0x1c], 2
je 0x6460ea85
cmp byte [eax + 0x19], 5
jb 0x6460ea85
push dword [eax + 0x14]
mov edx, esi
push dword [eax + 0x10]
push 0x17
pop ecx
call fcn.64604453
push 0x25
push ebx
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x6460ead3
mov ecx, ebx
call fcn.6460e639
test eax, eax
jne 0x6460ebb3
mov eax, dword [0x64617004]
cmp eax, edi
je 0x6460ebb1
test byte [eax + 0x1c], 2
je 0x6460ebb1
cmp byte [eax + 0x19], 2
jb 0x6460ebb1
push dword [eax + 0x14]
mov edx, esi
push dword [eax + 0x10]
push 0x18
jmp 0x6460eb59
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x6460eb25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x64617004]
cmp ecx, edi
je 0x6460ebb1
test byte [ecx + 0x1c], 2
je 0x6460ebb1
cmp byte [ecx + 0x19], 2
jb 0x6460ebb1
push eax
push dword [ecx + 0x14]
mov edx, 0x64602670
push dword [ecx + 0x10]
push 0x19
pop ecx
call fcn.64604471
jmp 0x6460ebb1
inc esi
lea ecx, [esi + esi]
call fcn.6460cdc3
mov edi, eax
test edi, edi
jne 0x6460eb61
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x6460ebb1
test byte [eax + 0x1c], 2
je 0x6460ebb1
cmp byte [eax + 0x19], 2
jb 0x6460ebb1
push dword [eax + 0x14]
mov edx, 0x64602670
push dword [eax + 0x10]
push 0x1a
pop ecx
call fcn.64604453
jmp 0x6460ebb1
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x6460eb76
cmp eax, esi
ja 0x6460eb76
mov eax, edi
jmp 0x6460ebb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x64617004]
cmp ecx, 0x64617004
je 0x6460ebaa
test byte [ecx + 0x1c], 2
je 0x6460ebaa
cmp byte [ecx + 0x19], 2
jb 0x6460ebaa
push eax
push dword [ecx + 0x14]
mov edx, 0x64602670
push dword [ecx + 0x10]
push 0x1b
pop ecx
call fcn.64604471
mov ecx, edi
call fcn.6460ce29
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x6460ecc2
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 0x6460ed0d
test byte [eax + 0x1c], 2
je 0x6460ed0d
cmp byte [eax + 0x19], 5
jb 0x6460ed0d
push dword [eax + 0x14]
mov edx, 0x64602670
push dword [eax + 0x10]
push 0x27
pop ecx
call fcn.64604453
test esi, esi
je 0x6460edc2
mov ecx, esi
xor edx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, dx
jne 0x6460ed1c
sub ecx, edi
sar ecx, 1
je 0x6460edc2
mov ecx, esi
mov eax, 0x6460266c
mov di, word [eax]
cmp di, word [ecx]
jne 0x6460ed5c
test di, di
je 0x6460ed61
mov di, word [eax + 2]
cmp di, word [ecx + 2]
jne 0x6460ed5c
add eax, 4
add ecx, 4
test di, di
jne 0x6460ed38
jmp 0x6460ed61
sbb edx, edx
or edx, 1
test edx, edx
je 0x6460edc2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x6460edad
mov eax, dword [0x64617004]
cmp eax, ebx
je 0x6460edbe
test byte [eax + 0x1c], 2
je 0x6460edbe
cmp byte [eax + 0x19], 2
jb 0x6460edbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x64617004]
mov edx, 0x64602670
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x28
pop ecx
call fcn.64604471
jmp 0x6460edbe
lea eax, [ebp - 0x24]
push esi
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x6460edc2
xor eax, eax
jmp 0x6460edc5
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615e30
leave
ret

Function at 0x6460edd4
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 0x6460ee0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x6460ee5a
mov eax, dword [ebp - 4]
push ebx
push 2
pop ebx
test eax, eax
je 0x6460ee2a
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.64615858
pop ecx
mov esi, eax
test esi, esi
je 0x6460ee59
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 0x6460ee59
cmp word [esi], di
je 0x6460ee59
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 0x6460ee63
xor edi, edi
inc edi
test esi, esi
je 0x6460ee6e
push esi
call sub.msvcrt.dll_free
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x6460ef40
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 0x6460ef8d
call fcn.64622c79
mov dword [0x646170bc], eax
mov dword [0x64617484], 1
jmp 0x6460ef92
mov eax, dword [0x646170bc]
test eax, eax
jle 0x6460f01a
lea eax, [ebp + 0xc]
mov edx, 0x400
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x804]
call fcn.6460ee74
test eax, eax
js 0x6460f01a
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x6460efbe
sub ecx, edx
mov eax, 0x3fd
sar ecx, 1
cmp ecx, eax
jb 0x6460efd8
mov ecx, eax
push 0xa
pop edx
cmp word [ebp + ecx*2 - 0x806], dx
je 0x6460f00d
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 0x6460f028
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.64615e30
leave
ret
call fcn.64615f78
int3
Function at 0x6460f02e
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 0x118
lea eax, [ebp - 0x124]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [0x64617004]
mov esi, 0x64617004
mov edi, 0x646026c0
push 2
pop ebx
cmp eax, esi
je 0x6460f08d
test byte [eax + 0x1c], bl
je 0x6460f08d
cmp byte [eax + 0x19], 5
jb 0x6460f08d
push dword [eax + 0x14]
mov edx, edi
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.64604453
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x6460f0d9
mov eax, dword [0x64617004]
cmp eax, esi
je 0x6460f12c
test byte [eax + 0x1c], bl
je 0x6460f12c
cmp byte [eax + 0x19], bl
jb 0x6460f12c
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.64604471
jmp 0x6460f12c
cmp dword [ebp - 0x118], ebx
je 0x6460f0ff
mov eax, dword [0x64617004]
cmp eax, esi
je 0x6460f12c
test byte [eax + 0x1c], bl
je 0x6460f12c
cmp byte [eax + 0x19], 3
jb 0x6460f12c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
jmp 0x6460f124
cmp dword [ebp - 0x124], 5
jae 0x6460f130
mov eax, dword [0x64617004]
cmp eax, esi
je 0x6460f12c
test byte [eax + 0x1c], bl
je 0x6460f12c
cmp byte [eax + 0x19], 3
jb 0x6460f12c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xe
mov edx, edi
pop ecx
call fcn.64604453
xor eax, eax
jmp 0x6460f18b
mov eax, dword [ebp - 0x10]
test al, 0x40
je 0x6460f149
xor eax, eax
cmp byte [ebp - 0xe], 1
setne al
dec eax
and eax, 0xffffffe0
add eax, 0x40
jmp 0x6460f18b
test eax, 0x200
je 0x6460f155
xor eax, eax
inc eax
jmp 0x6460f18b
test bl, al
je 0x6460f15d
push 8
jmp 0x6460f18a
test al, al
jns 0x6460f165
push 0x10
jmp 0x6460f18a
test eax, 0x400
je 0x6460f173
mov eax, 0x80
jmp 0x6460f18b
mov cl, byte [ebp - 0xe]
cmp cl, 1
jne 0x6460f17f
mov eax, ebx
jmp 0x6460f18b
cmp cl, 3
je 0x6460f188
cmp cl, bl
jne 0x6460f12c
push 4
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615e30
leave
ret