joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4743e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47450f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x47451c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindResourceW
test eax, eax
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 4], al
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x474497
push 0x474388
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00424a94
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x474472
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00463dd0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00463ccc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, 0x474540
call fcn.00408344
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1d], 0
je 0x474497
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0xa0]
push 0xa
push 0x47454c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindResourceW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4744f4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4744f4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LockResource
mov edx, dword [ebp - 4]
lea ecx, [edx + 0x18]
pop edx
call fcn.00408e48
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00460fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474516
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00407584
ret

Function at 0x475184
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4751e2
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x4751e2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x4751e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0xf8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4751dd
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x4751e2
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4751ec
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x47524a
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x47524a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x47524a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x108
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x475245
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x47524a
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x482320
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
sub dword [ebp - 8], 6
mov byte [ebp - 0xd], 0
jmp 0x48245a
push 6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x48246a
mov eax, dword [ebp - 8]
cmp byte [eax], 0xc2
jne 0x482395
mov eax, dword [ebp - 8]
cmp byte [eax + 3], 0x90
jne 0x482376
mov eax, dword [ebp - 8]
cmp byte [eax + 4], 0x90
jne 0x482376
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0x90
je 0x48246a
mov eax, dword [ebp - 8]
cmp byte [eax + 3], 0xcc
jne 0x482395
mov eax, dword [ebp - 8]
cmp byte [eax + 4], 0xcc
jne 0x482395
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0xcc
je 0x48246a
mov eax, dword [ebp - 8]
cmp byte [eax], 0xc3
jne 0x4823db
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0x90
jne 0x4823bc
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0x90
jne 0x4823bc
mov eax, dword [ebp - 8]
cmp byte [eax + 3], 0x90
je 0x48246a
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0xcc
jne 0x4823db
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0xcc
jne 0x4823db
mov eax, dword [ebp - 8]
cmp byte [eax + 3], 0xcc
je 0x48246a
mov eax, dword [ebp - 8]
cmp byte [eax], 0xe9
jne 0x482419
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0x90
jne 0x4823fe
mov eax, dword [ebp - 8]
cmp byte [eax + 6], 0x90
jne 0x4823fe
mov eax, dword [ebp - 8]
cmp byte [eax + 7], 0x90
je 0x48246a
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0xcc
jne 0x482419
mov eax, dword [ebp - 8]
cmp byte [eax + 6], 0xcc
jne 0x482419
mov eax, dword [ebp - 8]
cmp byte [eax + 7], 0xcc
je 0x48246a
mov eax, dword [ebp - 8]
cmp byte [eax], 0xeb
jne 0x482457
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0x90
jne 0x48243c
mov eax, dword [ebp - 8]
cmp byte [eax + 3], 0x90
jne 0x48243c
mov eax, dword [ebp - 8]
cmp byte [eax + 4], 0x90
je 0x48246a
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0xcc
jne 0x482457
mov eax, dword [ebp - 8]
cmp byte [eax + 3], 0xcc
jne 0x482457
mov eax, dword [ebp - 8]
cmp byte [eax + 4], 0xcc
je 0x48246a
dec dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
ja 0x48233c
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x48a56c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48a727
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040794c
mov eax, dword [ebp - 4]
call fcn.00489ebc
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x48a5be
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004084fc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0048b1a8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48a69d
xor eax, eax
push ebp
push 0x48a696
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0048a15c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0048a75c
test al, al
je 0x48a674
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004076ac
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x48a674
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004080d8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0048a0bc
test al, al
je 0x48a66e
mov eax, dword [ebp - 8]
call fcn.004080d8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00408140
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0048a56c
dec ebx
cmp ebx, 0xffffffff
jne 0x48a61d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a69d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0048a15c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x4f6678], 0
je 0x48a6dd
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.004080d8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0048a148
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0048a0bc
mov ebx, eax
jmp 0x48a704
mov eax, dword [ebp - 4]
call fcn.004080d8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0048a148
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0048a0bc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a72e
lea eax, [ebp - 0x3c]
call fcn.00407524
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407584
ret
Function at 0x48a7c8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48a880
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0048a75c
test al, al
je 0x48a862
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004076ac
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x48a862
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004080d8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.004080d8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00408140
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x48a81b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a887
lea eax, [ebp - 0x2c]
call fcn.00407524
lea eax, [ebp - 4]
call fcn.00407524
ret

Function at 0x48aa38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48aaf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0048a75c
test al, al
je 0x48aad2
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004076ac
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x48aad2
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004080d8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.004080d8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00408140
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x48aa8b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48aaf7
lea eax, [ebp - 0x2c]
call fcn.00407524
lea eax, [ebp - 4]
call fcn.00407524
ret
Function at 0x48b084
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00489ed4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004080d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0048a0bc
test al, al
jne 0x48b0ec
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f0a58]
mov dl, 1
mov eax, dword [0x488734]
call fcn.00422e80
call fcn.00406bfc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x48b0f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004080d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0048a0bc
test al, al
jne 0x48b159
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f0e14]
mov dl, 1
mov eax, dword [0x488734]
call fcn.00422e80
call fcn.00406bfc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00489f04
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48b758
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48b880
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0048a15c
xor eax, eax
push ebp
push 0x48b85b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a75c
test al, al
je 0x48b83f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0048b638
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004076ac
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x48b83f
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004080d8
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a0bc
test al, al
je 0x48b83b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004080d8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00408140
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0048b638
pop ecx
inc edi
dec ebx
jne 0x48b7e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b862
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0048a15c
ret
Function at 0x48b890
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48bade
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0048a15c
xor eax, eax
push ebp
push 0x48bab4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a75c
test al, al
je 0x48ba98
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004076ac
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x48ba98
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004080d8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a0bc
test al, al
je 0x48ba8c
mov eax, dword [ebp - 4]
call fcn.004080d8
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00408140
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048b1a8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x48ba8c
xor eax, eax
push ebp
push 0x48ba85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0048a15c
xor eax, eax
push ebp
push 0x48ba67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004080d8
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00408140
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048a160
mov eax, dword [ebp - 4]
call fcn.004080d8
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00408140
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0048b1a8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x48ba44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0048b758
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0048b890
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba4b
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x48b91b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48babb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0048a15c
ret
Function at 0x48d588
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetThreadLocale
mov dword [ebp - 8], eax
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0xe
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jg 0x48d5b4
mov word [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x1c]
mov ecx, 0xa
call fcn.00408194
mov esp, ebp
pop ebp
ret

Function at 0x48d64c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d6e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21e]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x21e]
push eax
push 0
push 0x48d6f0
lea eax, [ebp - 0x21e]
push eax
call sub.kernel32.dll_GetTempFileNameW
lea eax, [ebp - 0x21e]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00407a40
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x21e]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
call fcn.004076ac
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0041cf24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d6e9
lea eax, [ebp - 0xc]
call fcn.00407524
ret

Function at 0x48d874
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d92f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x212]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x48d8cc
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00408194
jmp 0x48d911
push 0x48d948
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048d6f8
push dword [ebp - 0x21c]
push 0x48d96c
lea eax, [ebp - 0x218]
mov edx, 3
call fcn.004083cc
mov ecx, dword [ebp - 0x218]
mov dl, 1
mov eax, dword [0x4174a8]
call fcn.00422c7c
call fcn.00406bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d936
lea eax, [ebp - 0x21c]
mov edx, 2
call fcn.00407584
ret
Function at 0x48d9c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov esi, eax
lea edi, [ebp - 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x48da9f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x1d]
push eax
call sub.shell32.dll_SHGetKnownFolderPath
mov dword [ebp - 0xc], eax
test byte [ebp - 9], 0x80
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x48da4b
xor eax, eax
push ebp
push 0x48da44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48da84
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
push 0x48dab8
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x1d]
call fcn.0041b528
push dword [ebp - 0x28]
push 0x48daf8
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004083cc
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x4174a8]
call fcn.00422c7c
call fcn.00406bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48daa6
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00407584
ret

Function at 0x48dcb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov byte [ebp - 1], al
mov byte [ebp - 2], 0
lea eax, [ebp - 8]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x48dd21
lea eax, [ebp - 0x14]
push eax
push 0x48dd38
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
test eax, eax
je 0x48dd21
mov dword [ebp - 0x18], 1
cmp byte [ebp - 1], 0
je 0x48dcfc
mov dword [ebp - 0xc], 2
jmp 0x48dd03
mov dword [ebp - 0xc], 1
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp dword [ebp - 8], 0xffffffff
je 0x48dd30
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret

Function at 0x48e0f8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
cmp dword [0x4f002c], 0
je 0x48e114
mov eax, dword [0x4f002c]
mov dword [ebp - 4], eax
jmp 0x48e192
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
xor ecx, ecx
mov edx, 0x114
call fcn.00404f10
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x48e18a
cmp dword [ebp - 0x114], 0xa
jne 0x48e164
cmp dword [ebp - 0x10c], 0x55f0
jb 0x48e164
mov dword [ebp - 0x114], 0xb
cmp dword [ebp - 0x108], 2
jne 0x48e183
mov eax, dword [ebp - 0x114]
add eax, eax
lea eax, [eax + eax*4]
add eax, dword [ebp - 0x110]
mov dword [ebp - 4], eax
jmp 0x48e18a
mov dword [ebp - 4], 0x2711
mov eax, dword [ebp - 4]
mov dword [0x4f002c], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret