joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f7078
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004097c8
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x5f7116
mov eax, ebx
call fcn.00405490
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5f710f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5f70f9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5f7138
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5f70f9
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f712b
mov eax, dword [ebp - 0x10]
call fcn.004054ac
ret
call fcn.0042719c
dec eax
je 0x5f712b
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.005f6e9c
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f761c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f763d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5f768b
xor eax, eax
push ebp
push 0x5f767b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7682
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f7694
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f76b8
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5f771e
xor eax, eax
push ebp
push 0x5f770e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7715
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x5f772c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f7750
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5f77a8
xor eax, eax
push ebp
push 0x5f7798
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.004097c8
push eax
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f779f
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5f77b4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f77d5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5f7821
xor eax, eax
push ebp
push 0x5f7811
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7818
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f798c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f79af
mov dword [ebp - 4], 0xffffffff
jmp 0x5f79fb
xor eax, eax
push ebp
push 0x5f79eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f79f2
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f7b30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f7b54
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5f7ba8
xor eax, eax
push ebp
push 0x5f7b98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004097c8
push eax
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7b9f
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f7bb4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
test edi, edi
jne 0x5f7bd7
test esi, 4
je 0x5f7bd7
xor edi, edi
jmp 0x5f7be0
mov eax, edi
call fcn.004097c8
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f7bf5
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x5f7c44
xor eax, eax
push ebp
push 0x5f7c34
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.004097c8
push eax
call sub.kernel32.dll_MoveFileExW
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7c3b
lea eax, [ebp - 0x10]
call fcn.005f760c
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5f7cc0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f7ce1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5f7d2d
xor eax, eax
push ebp
push 0x5f7d1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_RemoveDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7d24
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f7d38
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005f75d0
test al, al
jne 0x5f7d5c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5f7da9
xor eax, eax
push ebp
push 0x5f7d99
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.004097c8
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f7da0
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f8b78
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x5f8b80
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x5f8c6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.005b0b4c
mov edx, dword [ebp - 8]
mov ecx, 0x5f8c88
xor eax, eax
call fcn.005f88e0
push 0
mov eax, dword [ebp - 4]
call fcn.004097c8
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x5f8c3b
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x5f8b9a
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x3b
call fcn.005b8018
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00420678
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.005b1ae4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x70
call fcn.005b7fe8
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4197e4]
call fcn.0042648c
call fcn.00407e14
jmp 0x5f8b9a
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00408af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f8c74
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00408778
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408778
ret
Function at 0x5fa608
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
call fcn.004087fc
xor eax, eax
push ebp
push 0x5fa6ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x18], 0
jne 0x5fa64f
lea edx, [ebp + 0x18]
mov eax, edi
call fcn.005af9c0
cmp dword [ebp + 0x18], 0
jne 0x5fa64f
lea eax, [ebp + 0x18]
call fcn.005b09c4
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00405ce4
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
test ebx, ebx
je 0x5fa67a
mov eax, ebx
call fcn.004097c8
mov dword [ebp - 0x34], eax
mov eax, edi
call fcn.004097c8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.004097c8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
call fcn.004097c8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x5fa6bc
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
jmp 0x5fa6d6
mov dword [esi], 0x103
mov eax, dword [ebp - 8]
test eax, eax
je 0x5fa6d6
push esi
movzx edx, byte [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.005fa2a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa6f3
lea eax, [ebp + 0x18]
call fcn.00408718
ret

Function at 0x5fa924
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x5fa952
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.00409868
jmp 0x5fa959
mov eax, ebx
call fcn.00408718
add esp, 0x24
pop ebx
ret

Function at 0x5fa960
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x5fa991
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.00409868
jmp 0x5fa998
mov eax, ebx
call fcn.00408718
add esp, 0x208
pop ebx
ret

Function at 0x5fa9a8
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
call fcn.0042719c
cmp eax, 2
jne 0x5faa10
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x5fa9cb
xor eax, eax
jmp 0x5faa1f
lea eax, [esp + 8]
push eax
push 0x5faa24
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x5faa10
xor eax, eax
jmp 0x5faa1f
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret
Function at 0x5faa4c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x5faaa6
inc esi
xor edi, edi
cmp edi, 1
jne 0x5faa72
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x5faa80
cmp edi, 1
jle 0x5faa80
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005f77b4
test eax, eax
jne 0x5faaa6
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x5faaa6
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x5faaa6
inc edi
dec esi
jne 0x5faa62
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x5fb310
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
push 0
push 2
lea eax, [esp + 8]
push eax
call fcn.005b0d50
and eax, 0x7f
mov ecx, dword [eax*4 + 0x661aec]
mov edx, 0x80000002
xor eax, eax
call fcn.005b0f7c
test eax, eax
jne 0x5fb35a
mov eax, esi
call fcn.004097c8
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
call fcn.004097c8
push eax
call sub.gdi32.dll_RemoveFontResourceW
test eax, eax
je 0x5fb37b
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
pop edx
pop esi
pop ebx
ret
Function at 0x5fb380
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x5fb4c9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5fb4e0
push 0x5fb508
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00411e58
mov ebx, eax
lea edx, [ebp - 0xc]
movzx eax, byte [ebp - 1]
call fcn.005f75d0
test al, al
jne 0x5fb3df
mov byte [ebp - 2], 0
jmp 0x5fb4ae
xor eax, eax
push ebp
push 0x5fb4a7
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5fb423
push 0
mov eax, dword [ebp + 8]
push eax
push edi
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.005af910
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.005af4ec
mov eax, dword [ebp - 0x20]
call fcn.004097c8
push eax
call ebx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x5fb491
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.005af910
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005af9e8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.005af4ec
mov eax, dword [ebp - 0x28]
call fcn.004097c8
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x5fb491
mov ecx, edi
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.005b42ec
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.005b42ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fb4ae
lea eax, [ebp - 0xc]
call fcn.005f760c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fb4d0
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00408778
ret

Function at 0x5fb6b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x5fb6dc
mov eax, dword [ebp - 4]
jmp 0x5fb6df
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x5fb6e4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x5fb731
xor ebx, ebx
jmp 0x5fb726
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.0041f9b4
test eax, eax
jne 0x5fb725
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x5fb7dc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x5fb707
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x5fb73d
je 0x5fb746
jmp 0x5fb74f
call fcn.005b155c
mov esi, eax
jmp 0x5fb751
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x5fb751
xor esi, esi
test si, si
je 0x5fb7dc
xor ebx, ebx
jmp 0x5fb777
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x5fb776
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x5fb7dc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x5fb75e
xor ebx, ebx
jmp 0x5fb7d1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x5fb7d0
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x5fb7c5
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.005fb6b8
push eax
mov eax, esi
call fcn.005fb6b8
pop edx
cmp edx, eax
jne 0x5fb7d0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x5fb7dc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x5fb786
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x603974
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.00421884
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6039a4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x603ac0
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [0x66a2e4]
cmp dword [0x66a2e0], 0
jne 0x603a9b
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jb 0x603a9b
lea eax, [ebp - 8]
call fcn.00603974
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.005af4ec
lea eax, [ebp - 4]
mov edx, 0x603adc
call fcn.004099c0
mov eax, dword [ebp - 4]
call fcn.004097c8
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x66a2e0], eax
cmp dword [0x66a2e0], 0
je 0x603a9b
push 0x603af8
mov eax, dword [0x66a2e0]
push eax
call fcn.00411e58
mov dword [0x66a2c4], eax
push 0x603b18
mov eax, dword [0x66a2e0]
push eax
call fcn.00411e58
mov dword [0x66a2c8], eax
push 0x603b40
mov eax, dword [0x66a2e0]
push eax
call fcn.00411e58
mov dword [0x66a2cc], eax
push 0x603b54
mov eax, dword [0x66a2e0]
push eax
call fcn.00411e58
mov dword [0x66a2d0], eax
push 0x603b6c
mov eax, dword [0x66a2e0]
push eax
call fcn.00411e58
mov dword [0x66a2d4], eax
push 0x603b80
mov eax, dword [0x66a2e0]
push eax
call fcn.00411e58
mov dword [0x66a2d8], eax
cmp dword [0x66a2e0], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x603ac7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408778
ret
Function at 0x6083cc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
xor eax, eax
push ebp
push 0x6085cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov eax, dword [eax + 0x508]
mov edx, 0x20
call fcn.004fc0a4
mov eax, dword [ebx]
mov eax, dword [eax + 0x508]
mov edx, 0x20
call fcn.004fc0d8
mov eax, dword [ebx]
mov eax, dword [eax + 0x50c]
mov edx, 0x20
call fcn.004fc0a4
mov eax, dword [ebx]
mov eax, dword [eax + 0x50c]
mov edx, 0x20
call fcn.004fc0d8
xor eax, eax
push ebp
push 0x6085a2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1010
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x10
push 0x6085dc
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x6084a9
cmp word [ebp - 0x2ac], 0
je 0x6084a9
mov eax, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2ac]
push eax
mov eax, dword [0x666634]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x410]
mov ecx, dword [edx + 0x7c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x508]
call fcn.00608308
xor edx, edx
mov al, 6
call fcn.0063f458
test al, al
je 0x60850e
push 0x27
lea edx, [ebp - 0x2bc]
mov eax, dword [0x662a2c]
mov eax, dword [eax]
call fcn.005af4ec
lea eax, [ebp - 0x2bc]
mov edx, 0x608604
call fcn.004099c0
mov eax, dword [ebp - 0x2bc]
call fcn.004097c8
push eax
mov eax, dword [0x666634]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x418]
mov ecx, dword [edx + 0x7c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x50c]
call fcn.00608308
jmp 0x608598
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
xor eax, eax
call fcn.00644bc8
cmp dword [ebp - 4], 0
jne 0x608532
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
mov al, 1
call fcn.00644bc8
cmp dword [ebp - 4], 0
je 0x608598
push 0x1000
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004097c8
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x608598
cmp word [ebp - 0x2ac], 0
je 0x608598
mov eax, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2ac]
push eax
mov eax, dword [0x666634]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x418]
mov ecx, dword [edx + 0x7c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x50c]
call fcn.00608308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6085ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6085d4
lea eax, [ebp - 0x2bc]
call fcn.00408718
lea eax, [ebp - 4]
call fcn.00408718
ret
Function at 0x61ad2c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, edx
mov esi, eax
cmp byte [esi + 4], 0
je 0x61ae06
mov byte [esi + 5], 1
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x61ae18
call fcn.0060165c
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x61ad84
mov eax, 0x61ae78
call fcn.006013d8
push 1
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_TerminateProcess
push 0x2710
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x61ad6f
push esp
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x61add7
cmp dword [esp], 0
jne 0x61adb9
mov eax, 0x61aed0
call fcn.006013d8
jmp 0x61ade1
mov eax, dword [esp]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x61af0c
call fcn.0060165c
jmp 0x61ade1
mov eax, 0x61af74
call fcn.006013d8
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov byte [esi + 4], 0
test bl, bl
je 0x61ae06
push 0xfa
call sub.kernel32.dll_Sleep
add esp, 0xc
pop esi
pop ebx
ret