joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407344
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40737d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040357c
jmp 0x407386
mov eax, ebx
mov edx, esi
call fcn.00403530
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407390
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4073b1
mov al, byte [esp]
jmp 0x4073b3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e6d4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp byte [0x41a2e0], 0
je 0x40e70b
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0040e5d4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
jmp 0x40e761
mov eax, dword [ebp + 8]
mov edx, 0x400
call fcn.004039c4
mov eax, dword [ebp - 4]
call fcn.004038b4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004036f0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004038b4
push eax
mov eax, dword [ebp + 0xc]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004038b4
push eax
mov eax, dword [ebp - 8]
call fcn.004038b4
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.004039c4
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e8bc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40e9e5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x41a2e0], 0
je 0x40e902
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0040e5d4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x18]
jmp 0x40e9cf
mov eax, 0x4000
call fcn.00402564
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e9c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040a354
xor eax, eax
push ebp
push 0x40e9ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 4]
call fcn.004038b4
push eax
push 0x4000
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004038b4
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x40e995
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x40e98d
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.0040364c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
call fcn.00406c20
inc eax
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x40e96b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e9b2
mov eax, dword [ebp - 0xc]
call fcn.0040a410
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e9ec
lea eax, [ebp - 0x18]
call fcn.00403498
ret

Function at 0x40ee70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40ef13
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40ee9a
mov byte [ebp - 5], 1
jmp 0x40eefd
mov byte [ebp - 5], 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004038b4
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40eefd
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004039c4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004038b4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004038b4
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
je 0x40eefd
mov eax, dword [ebp - 0xc]
call fcn.004038b4
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0040364c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef1a
lea eax, [ebp - 0xc]
call fcn.00403498
ret
Function at 0x40ef24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40efe0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040ed8c
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x14]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40efca
xor eax, eax
push ebp
push 0x40efc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40efca
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40efe7
lea eax, [ebp - 0x14]
call fcn.00403498
ret

Function at 0x40f41c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40f55c
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040ed8c
mov eax, dword [ebp - 8]
call fcn.0040a354
xor eax, eax
push ebp
push 0x40f534
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x40]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40f51e
xor eax, eax
push ebp
push 0x40f517
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40f4fa
lea eax, [ebp - 0x424]
lea edx, [ebp - 0x420]
call fcn.0040364c
mov edx, dword [ebp - 0x424]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 0
je 0x40f4a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f51e
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f53b
mov eax, dword [ebp - 8]
call fcn.0040a410
ret
Function at 0x40f568
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40f61f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040ed8c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x40f605
xor eax, eax
push ebp
push 0x40f5fe
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 - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f609
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f626
lea eax, [ebp - 0x14]
call fcn.00403498
ret

Function at 0x40fa1c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40faa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040ed8c
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 0x10]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40fa8f
mov eax, dword [ebp - 8]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40faac
lea eax, [ebp - 0x10]
call fcn.00403498
ret
Function at 0x40fab4
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40fc2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
mov dl, 1
mov eax, dword [0x409a9c]
call fcn.00402b48
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x40fbfc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x40fb5f
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040f41c
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x40fb5f
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00412f28
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.004036f8
mov eax, dword [ebp - 0x28]
mov dl, 1
call fcn.0040fab4
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x40fb27
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00413084
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00406b30
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00406afc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00413084
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.00403530
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040ed8c
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 0xc]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40fbe6
mov eax, dword [ebp - 0x10]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 6]
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fc03
mov eax, dword [ebp - 0x1c]
call fcn.00402b70
ret
Function at 0x40fc3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40fcf7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040ed8c
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x10]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40fce1
xor eax, eax
push ebp
push 0x40fcda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x40fcc3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fce1
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fcfe
lea eax, [ebp - 0x10]
call fcn.00403498
ret

Function at 0x40fd08
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40fdc3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040ed8c
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x10]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40fdad
xor eax, eax
push ebp
push 0x40fda6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x40fd8f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fdad
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fdca
lea eax, [ebp - 0x10]
call fcn.00403498
ret
Function at 0x4116ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x411916
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 0x14]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004102f0
call fcn.00405310
mov byte [eax + 0x5d], 0
call fcn.00405310
mov dl, byte [ebp + 8]
mov byte [eax + 0x5c], dl
call fcn.00405310
add eax, 0xc
mov edx, dword [ebp - 8]
call fcn.004034ec
xor eax, eax
push ebp
push 0x4118b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, 0x104
call fcn.004039c4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
call fcn.004038b4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
call fcn.004038b4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x41156c
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
call fcn.00405310
add eax, 0x54
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
call fcn.004034ec
cmp dword [0x41a348], 0
je 0x411794
call fcn.00405310
mov edx, dword [0x41a348]
mov dword [eax + 0x60], edx
jmp 0x4117cc
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4117bf
push 0
push 0
push 0x31
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
call fcn.00405310
mov dword [eax + 0x60], ebx
jmp 0x4117cc
call fcn.00405310
xor edx, edx
mov dword [eax + 0x60], edx
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x411857
xor eax, eax
push ebp
push 0x411850
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp + 0x11], 0x10
jne 0x411818
lea eax, [ebp - 0x18]
mov edx, 0x104
call fcn.004039c4
mov eax, dword [ebp - 0x18]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
call fcn.00408928
jmp 0x411823
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x34]
call fcn.0040364c
mov eax, dword [ebp - 0x18]
call fcn.004038b4
mov edx, eax
mov eax, dword [ebp + 0xc]
call fcn.0040364c
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411857
mov eax, dword [ebp - 0x1c]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4118b9
call fcn.00405310
cmp dword [eax + 0x58], 0
je 0x411883
call fcn.00405310
mov eax, dword [eax + 0x58]
push eax
call sub.user32.dll_UnhookWindowsHookEx
call fcn.00405310
cmp dword [eax + 0x1c], 0
je 0x4118a2
call fcn.00405310
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_DestroyWindow
cmp dword [ebp - 0x38], 0
je 0x4118b1
mov eax, dword [ebp - 0x38]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
Function at 0x411ce4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403498
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x411d55
mov eax, dword [ebp - 8]
mov edx, 0x104
call fcn.004039c4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x411d4b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004038b4
call fcn.00406c20
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004039c4
jmp 0x411d55
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004039c4
mov esp, ebp
pop ebp
ret

Function at 0x411e68
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [0x41a564]
cmp dword [eax], 2
jne 0x411ed5
test byte [ebp - 4], 0xb
je 0x411ed5
lea eax, [ebp - 0xc]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x411ed5
lea eax, [ebp - 0x18]
push eax
push 0x411ef0
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x411ed5
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
je 0x411ee9
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ExitWindowsEx
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x411f28
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00406758
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x412011
xor eax, eax
push ebp
push 0x41200a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
lea edx, [ebp - 0x54]
mov ecx, 0x40
mov eax, dword [ebp - 0x10]
call fcn.004067bc
cmp eax, 0x40
je 0x411f89
call fcn.00403050
jmp 0x412011
cmp word [ebp - 0x54], 0x5a4d
jne 0x411f97
cmp dword [ebp - 0x18], 0
jne 0x411f9e
call fcn.00403050
jmp 0x412011
mov eax, dword [ebp - 4]
call fcn.00412fd4
cmp eax, dword [ebp - 0x18]
jg 0x411fb2
call fcn.00403050
jmp 0x412011
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00406814
inc eax
jne 0x411fc9
call fcn.00403050
jmp 0x412011
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.004067bc
cmp eax, 4
je 0x411fe5
call fcn.00403050
jmp 0x412011
cmp dword [ebp - 0x14], 0x4550
jne 0x411ff4
mov eax, dword [ebp - 8]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412011
mov eax, dword [ebp - 0x10]
call fcn.00406820
ret
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x4124e8
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
xor edx, edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1e0], edx
mov byte [ebp - 0x1cd], al
xor eax, eax
push ebp
push 0x412755
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e0]
call fcn.00414bec
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x1e0]
call fcn.00406afc
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x1d8]
call fcn.00413084
lea edx, [ebp - 0x1dc]
mov eax, dword [ebp - 0x1d8]
call fcn.00406afc
push 1
lea eax, [ebp - 0x238]
push eax
mov ecx, 0x412768
xor edx, edx
mov eax, dword [ebp - 0x1dc]
call fcn.00412a20
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d4]
mov edx, dword [ebp - 0x1dc]
call fcn.0040373c
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1cc]
call fcn.00404a9a
lea eax, [ebp - 0x1cc]
call fcn.00404d22
call fcn.00402628
push ebp
mov eax, 0x412778
call fcn.00412478
pop ecx
push ebp
push 0x412788
push dword [ebp - 0x1e0]
push 0x412798
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.004037b0
mov eax, dword [ebp - 0x238]
call fcn.00412478
pop ecx
push ebp
push 0x4127a4
push dword [ebp - 0x1e0]
push 0x412798
push 0x4127b8
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.004037b0
mov eax, dword [ebp - 0x238]
call fcn.00412478
pop ecx
cmp byte [ebp - 0x1cd], 0
je 0x412657
push ebp
push 0x4127cc
push dword [ebp - 0x1d8]
push 0x412798
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.004037b0
mov eax, dword [ebp - 0x238]
call fcn.00412478
pop ecx
push ebp
push 0x412788
push dword [ebp - 0x1d4]
push 0x412798
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.004037b0
mov eax, dword [ebp - 0x238]
call fcn.00412478
pop ecx
lea eax, [ebp - 0x1cc]
call fcn.00404b3c
call fcn.00402628
lea eax, [ebp - 0x234]
xor ecx, ecx
mov edx, 0x44
call fcn.004028fc
mov dword [ebp - 0x208], 1
mov word [ebp - 0x204], 0
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x1dc]
call fcn.004038b4
push eax
push 0
push 0x40
push 0
push 0
push 0
push 0x412798
push dword [ebp - 0x1d4]
push 0x412798
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.004037b0
mov eax, dword [ebp - 0x238]
call fcn.004038b4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x41272c
mov eax, dword [ebp - 0x1ec]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1f0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41275c
lea eax, [ebp - 0x238]
call fcn.00403498
lea eax, [ebp - 0x1e0]
mov edx, 4
call fcn.004034bc
ret

Function at 0x41288c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00412868
mov ebx, eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
cmp ebx, eax
jge 0x4128b5
mov byte [ebp - 5], 0
jmp 0x4128b9
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop ebx
pop ecx
pop ecx
pop ebp
ret