joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f253c
Capabilities:
Hash data with crc32

Disassembly:
push esi
nop
xor esi, esi
mov ecx, 0x560554
mov eax, esi
mov edx, 8
test al, 1
je 0x4f2559
shr eax, 1
xor eax, 0xedb88320
jmp 0x4f255b
shr eax, 1
dec edx
jne 0x4f254c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4f2545
pop esi
ret

Function at 0x4f2570
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
nop
cmp dword [0x560550], 0
jne 0x4f2594
call fcn.004f253c
push 1
push 0x560550
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4f25bf
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x560554]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4f259a
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4f3e30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov esi, eax
nop
mov byte [ebp - 9], 0
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00407854
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x4f3ed3
mov eax, ebx
call fcn.0040426c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4f3ecc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4f3eb6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4f3ef8
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4f3eb6
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3eea
mov eax, dword [ebp - 0x14]
call fcn.00404288
ret
mov eax, dword [0x55a4bc]
cmp dword [eax], 1
je 0x4f3eea
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004f3c54
mov byte [ebp - 9], al
movzx eax, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f43d4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
nop
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f43f6
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f4444
xor eax, eax
push ebp
push 0x4f4434
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f443b
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f4450
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
nop
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f4475
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f44db
xor eax, eax
push ebp
push 0x4f44cb
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_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f44d2
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x4f44e8
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
nop
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f450d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f4565
xor eax, eax
push ebp
push 0x4f4555
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.00407854
push eax
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f455c
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4f4574
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
nop
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f4596
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f45e2
xor eax, eax
push ebp
push 0x4f45d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f45d9
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f4754
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
nop
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f4778
mov dword [ebp - 4], 0xffffffff
jmp 0x4f47c4
xor eax, eax
push ebp
push 0x4f47b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f47bb
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f48fc
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
nop
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f4921
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f4975
xor eax, eax
push ebp
push 0x4f4965
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00407854
push eax
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f496c
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f4980
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]
nop
test edi, edi
jne 0x4f49a4
test esi, 4
je 0x4f49a4
xor edi, edi
jmp 0x4f49ad
mov eax, edi
call fcn.00407854
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f49c2
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4f4a11
xor eax, eax
push ebp
push 0x4f4a01
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.00407854
push eax
call sub.kernel32.dll_MoveFileExW
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4a08
lea eax, [ebp - 0x10]
call fcn.004f43c0
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4f4a94
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
nop
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f4ab6
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f4b02
xor eax, eax
push ebp
push 0x4f4af2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_RemoveDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4af9
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f4b0c
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
nop
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004f4384
test al, al
jne 0x4f4b31
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4f4b7e
xor eax, eax
push ebp
push 0x4f4b6e
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4b75
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f58ac
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4f58b4
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4f59a2
push dword fs:[eax]
mov dword fs:[eax], esp
nop
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004bd020
mov edx, dword [ebp - 8]
mov ecx, 0x4f59bc
xor eax, eax
call fcn.004f5610
push 0
mov eax, dword [ebp - 4]
call fcn.00407854
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4f5970
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x4f58cf
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.004f2c88
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.00412848
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.004bdff8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x68
call fcn.004f2c58
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.004171f8
call fcn.00405de0
jmp 0x4f58cf
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004077c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f59a9
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004077c0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004077c0
ret
Function at 0x4f7354
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.004077b0
xor eax, eax
push ebp
push 0x4f7439
push dword fs:[eax]
mov dword fs:[eax], esp
nop
cmp dword [ebp + 0x18], 0
jne 0x4f739c
lea edx, [ebp + 0x18]
mov eax, edi
call fcn.004bbe68
cmp dword [ebp + 0x18], 0
jne 0x4f739c
lea eax, [ebp + 0x18]
call fcn.004bce90
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.004048b0
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
test ebx, ebx
je 0x4f73c7
mov eax, ebx
call fcn.00407854
mov dword [ebp - 0x34], eax
mov eax, edi
call fcn.00407854
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.00407854
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
call fcn.00407854
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 0x4f7409
call sub.kernel32.dll_GetLastError_1
mov dword [esi], eax
jmp 0x4f7423
mov dword [esi], 0x103
mov eax, dword [ebp - 8]
test eax, eax
je 0x4f7423
push esi
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ebp + 0x14]
call fcn.004f6fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7440
lea eax, [ebp + 0x18]
call fcn.004077b8
ret

Function at 0x4f7678
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
nop
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4f76a7
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.004079c0
jmp 0x4f76b0
mov eax, ebx
xor edx, edx
call fcn.004077c8
add esp, 0x24
pop ebx
ret

Function at 0x4f76b8
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
nop
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x4f76ea
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.004079c0
jmp 0x4f76f3
mov eax, ebx
xor edx, edx
call fcn.004077c8
add esp, 0x208
pop ebx
ret

Function at 0x4f7704
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
nop
mov eax, dword [0x55a4bc]
cmp dword [eax], 2
jne 0x4f776d
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4f7728
xor eax, eax
jmp 0x4f777c
lea eax, [esp + 8]
push eax
push 0x4f7780
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_1
test eax, eax
je 0x4f776d
xor eax, eax
jmp 0x4f777c
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret
Function at 0x4f77a8
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
nop
mov esi, ecx
dec esi
test esi, esi
jl 0x4f7803
inc esi
xor edi, edi
cmp edi, 1
jne 0x4f77cf
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x4f77dd
cmp edi, 1
jle 0x4f77dd
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004f4574
test eax, eax
jne 0x4f7803
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x4f7803
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x4f7803
inc edi
dec esi
jne 0x4f77bf
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4f8064
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
nop
push 0
push 2
lea eax, [esp + 8]
push eax
call fcn.004bd250
and eax, 0x7f
mov ecx, dword [eax*4 + 0x5596dc]
mov edx, 0x80000002
xor eax, eax
call fcn.004bd484
test eax, eax
jne 0x4f80af
mov eax, esi
call fcn.00407854
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_1
mov eax, ebx
call fcn.00407854
push eax
call sub.gdi32.dll_RemoveFontResourceW
test eax, eax
je 0x4f80d0
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
pop edx
pop esi
pop ebx
ret
Function at 0x4f80d4
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 0x4f821e
push dword fs:[eax]
mov dword fs:[eax], esp
nop
push 0x4f8234
push 0x4f825c
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040c7d4
mov ebx, eax
lea edx, [ebp - 0xc]
movzx eax, byte [ebp - 1]
call fcn.004f4384
test al, al
jne 0x4f8134
mov byte [ebp - 2], 0
jmp 0x4f8203
xor eax, eax
push ebp
push 0x4f81fc
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4f8178
push 0
mov eax, dword [ebp + 8]
push eax
push edi
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.004bbdb8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004bb98c
mov eax, dword [ebp - 0x20]
call fcn.00407854
push eax
call ebx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x4f81e6
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.004bbdb8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.004bbe90
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004bb98c
mov eax, dword [ebp - 0x28]
call fcn.00407854
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 0x4f81e6
mov ecx, edi
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.004bf224
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.004bf224
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8203
lea eax, [ebp - 0xc]
call fcn.004f43c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8225
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.004077c0
ret

Function at 0x4f840c
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_1
test eax, eax
jle 0x4f8430
mov eax, dword [ebp - 4]
jmp 0x4f8433
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x4f8438
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
nop
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x4f8486
xor ebx, ebx
jmp 0x4f847b
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00411864
test eax, eax
jne 0x4f847a
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x4f8530
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4f845c
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4f8492
je 0x4f849b
jmp 0x4f84a4
call fcn.004bda6c
mov esi, eax
jmp 0x4f84a6
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x4f84a6
xor esi, esi
test si, si
je 0x4f8530
xor ebx, ebx
jmp 0x4f84cc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x4f84cb
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4f8530
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4f84b3
xor ebx, ebx
jmp 0x4f8525
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x4f8524
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x4f8519
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.004f840c
push eax
mov eax, esi
call fcn.004f840c
pop edx
cmp edx, eax
jne 0x4f8524
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4f8530
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4f84db
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4fb838
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, edx
mov esi, eax
nop
cmp byte [esi + 4], 0
je 0x4fb913
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, 0x4fb928
call fcn.004fa4d8
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4fb891
mov eax, 0x4fb988
call fcn.004fa254
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 0x4fb87c
push esp
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x4fb8e4
cmp dword [esp], 0
jne 0x4fb8c6
mov eax, 0x4fb9e0
call fcn.004fa254
jmp 0x4fb8ee
mov eax, dword [esp]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x4fba1c
call fcn.004fa4d8
jmp 0x4fb8ee
mov eax, 0x4fba84
call fcn.004fa254
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
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 0x4fb913
push 0xfa
call sub.kernel32.dll_Sleep_1
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x4fbaec
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fbd2b
push dword fs:[eax]
mov dword fs:[eax], esp
nop
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ecx
xor eax, eax
lea ebx, [eax + 0xc]
add ebx, ecx
xor edx, edx
push ebp
push 0x4fbcd0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4fbb62
mov eax, 0x4fbd48
call fcn.004f5268
xor edx, edx
push ebp
push 0x4fbc65
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x14
call fcn.004048b0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push 0x14
mov eax, dword [ebp - 4]
add eax, 0x4034
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_TransactNamedPipe
test eax, eax
jne 0x4fbc4e
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
je 0x4fbbca
mov eax, 0x4fbd6c
call fcn.004f5268
xor edx, edx
push ebp
push 0x4fbc37
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp + 8], 0
je 0x4fbc0a
mov eax, dword [ebp - 4]
cmp word [eax + 0x1a], 0
je 0x4fbc0a
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4fbbe8
pop dword fs:[0]
add esp, 8
push 0x4fbc3e
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbc6c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret