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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406cea
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00405044
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004038ac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406cd4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cf1
lea eax, [ebp - 0x10]
call fcn.00404dd4
ret

Function at 0x4090e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405294
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4090f9
test al, 0x10
jne 0x4090fd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c2a0
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 0x40c2d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404ec4
jmp 0x40c2e2
mov eax, ebx
mov edx, esi
call fcn.00404e28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c2ec
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 0x40c30d
mov al, byte [esp]
jmp 0x40c30f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c9a4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c80c
mov eax, dword [0x43f600]
cmp byte [eax], 0
je 0x40ca20
mov eax, dword [0x43f474]
call fcn.00403274
call fcn.00402bb0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004095b0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ca68
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ca56
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x43f43c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x440668]
call fcn.004060fc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d884
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d8e8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405044
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408cfc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8ef
lea eax, [ebp - 0xc]
call fcn.00404dd4
ret

Function at 0x41c7dc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x440884
cmp dword [edi], 0
jne 0x41c858
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x440880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x43e478
mov ecx, 2
call fcn.00402c50
mov edx, 0x41c7b4
lea eax, [esi + 5]
call fcn.0041c7d4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c7d4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41c82d
mov dword [0x440880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41e0cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x41e1d7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.0041e068
mov esi, eax
test esi, esi
jle 0x41e1b9
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004052f4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x41e1b9
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405094
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.004052f4
cmp dword [ebp - 0xc], 0
jne 0x41e18b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x41e1b0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e1de
lea eax, [ebp - 0xc]
call fcn.00404dd4
lea eax, [ebp - 4]
call fcn.00404dd4
ret
Function at 0x41e1ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x41e32a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.0041e068
mov esi, eax
test esi, esi
jle 0x41e30c
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004052f4
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x41e30c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405094
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.004052f4
cmp dword [ebp - 0xc], 0
jne 0x41e28c
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x41e297
mov eax, dword [ebp - 0xc]
call fcn.00405294
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x41e303
mov eax, dword [ebp - 0x18]
call fcn.00402a50
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x41e2fc
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jne 0x41e2f3
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x41e303
mov eax, esi
call fcn.00402a80
jmp 0x41e303
mov eax, esi
call fcn.00402a80
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e331
lea eax, [ebp - 0xc]
call fcn.00404dd4
lea eax, [ebp - 4]
call fcn.00404dd4
ret
Function at 0x41e33c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x41e447
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.0041e068
mov esi, eax
test esi, esi
jle 0x41e429
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004052f4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x41e429
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405094
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.004052f4
cmp dword [ebp - 0xc], 0
jne 0x41e3fb
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x41e420
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e44e
lea eax, [ebp - 0xc]
call fcn.00404dd4
lea eax, [ebp - 4]
call fcn.00404dd4
ret

Function at 0x4203b4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x420496
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x416018]
call fcn.00403fd8
mov dword [ebp - 8], eax
mov dl, 0x7c
mov eax, dword [ebp - 8]
call fcn.00418518
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00418388
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x420478
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
xor eax, eax
push ebp
push 0x420464
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00408d34
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x42045a
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x420470
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x420419
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42049d
lea eax, [ebp - 0x14]
call fcn.00404dd4
lea eax, [ebp - 4]
call fcn.00404dd4
ret
Function at 0x4204a8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x420641
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e6c
xor edx, edx
mov eax, 2
call fcn.0041e8b0
mov esi, eax
mov dword [ebp - 0x130], 0x128
lea edx, [ebp - 0x130]
mov eax, esi
call fcn.0041e8d0
mov ebx, eax
jmp 0x420604
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00405044
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00409434
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040877c
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 8]
call fcn.0040877c
mov edx, dword [ebp - 0x140]
pop eax
call fcn.004051e0
je 0x4205d8
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00405044
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.0040877c
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 8]
call fcn.0040877c
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.004051e0
jne 0x4205f5
mov eax, dword [ebp - 0x128]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
push 0
push edi
call sub.kernel32.dll_TerminateProcess
lea edx, [ebp - 0x130]
mov eax, esi
call fcn.0041e8f0
mov ebx, eax
test ebx, ebx
jne 0x420533
push esi
mov eax, dword [0x43f70c]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420648
lea eax, [ebp - 0x14c]
mov edx, 7
call fcn.00404df8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404df8
ret
Function at 0x420df0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405284
mov eax, dword [ebp - 8]
call fcn.00405284
xor eax, eax
push ebp
push 0x420ec5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404dd4
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405294
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405294
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004053c4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004052ec
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x420e99
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.00404e28
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420ecc
lea eax, [ebp - 0x14]
call fcn.00404dd4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404df8
ret

Function at 0x420f0c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00409704
mov eax, dword [ebx]
call fcn.00405094
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x420f49
mov eax, ebx
mov edx, 0x420f5c
call fcn.0040509c
add esp, 0x108
pop ebx
ret

Function at 0x420f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x420fcf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.00409704
mov edx, dword [ebp - 0x10c]
mov eax, ebx
mov ecx, 0x420fe4
call fcn.004050e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420fd6
lea eax, [ebp - 0x10c]
call fcn.00404dd4
ret
Function at 0x4214e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4214e9
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405284
mov eax, dword [ebp - 8]
call fcn.00405284
xor eax, eax
push ebp
push 0x4215fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, 1
call fcn.00402df4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00408970
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4409f8]
call fcn.00408970
mov edx, dword [ebp - 0x14]
pop eax
call fcn.004051e0
je 0x421580
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.00402df4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408970
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x4409f0]
call fcn.00408970
mov edx, dword [ebp - 0x20]
pop eax
call fcn.004051e0
jne 0x4215c1
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004050e0
mov eax, dword [ebp - 0x24]
call fcn.00405294
mov ebx, eax
mov eax, ebx
call fcn.00420924
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4215df
push 0
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004050e0
push ebx
call sub.kernel32.dll_WinExec
jmp 0x4215df
push 0
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004050e0
mov eax, dword [ebp - 0x2c]
call fcn.00405294
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421601
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.00404df8
ret
Function at 0x4222f4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x4223bf
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x422334
mov eax, dword [ebp - 4]
call fcn.004204a8
mov eax, dword [ebp - 4]
call fcn.004092e8
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.004090d0
test al, al
je 0x4223a9
xor eax, eax
push ebp
push 0x42239f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 4
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405294
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x422395
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov dword [0x44099c], eax
mov eax, dword [0x440998]
push eax
mov eax, dword [0x44099c]
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_LockFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4223a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4223c6
lea eax, [ebp - 4]
call fcn.00404dd4
ret

Function at 0x422c28
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffd0
lea eax, [esp + 4]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x422cc4
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 1
xor ebx, ebx
mov dword [esp + 0x2c], ebx
push esp
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 1
or ebx, 2
mov dword [esp + 0x1c], ebx
push esp
push 0
mov eax, dword [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x30
pop ebx
ret
Function at 0x425398
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x4254c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x4254d8
call fcn.0042370c
lea edx, [ebp - 0x14]
mov eax, 0x425554
call fcn.0042370c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov ecx, 0x4255a4
call fcn.004050e0
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
mov eax, dword [ebp - 4]
call fcn.00405294
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x42541d
mov eax, dword [0x43f370]
mov eax, dword [eax + 0x18]
call fcn.00405294
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
mov eax, dword [ebp - 8]
call fcn.00405294
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x425456
push 0x4255b8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0xc]
mov edx, 0x4255c8
call fcn.00404e6c
lea eax, [ebp - 0xc]
mov edx, 0x4255d8
call fcn.0040509c
lea eax, [ebp - 0xc]
mov edx, 0x4255f4
call fcn.0040509c
lea eax, [ebp - 0x18]
mov ecx, 0x425618
mov edx, dword [ebp - 0xc]
call fcn.004050e0
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov eax, 0x80000002
call fcn.0041e45c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4254cb
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404df8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404df8
ret
Function at 0x426610
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42687c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, 0x200
call fcn.00402a50
mov ebx, eax
push ebx
push 0x200
call sub.kernel32.dll_GetLogicalDriveStringsA
push 1
call sub.kernel32.dll_SetErrorMode
jmp 0x426855
lea eax, [ebp - 0x11d]
xor ecx, ecx
mov edx, 0x105
call fcn.0040353c
lea eax, [ebp - 0x222]
xor ecx, ecx
mov edx, 0x105
call fcn.0040353c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x105
lea eax, [ebp - 0x222]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x105
lea eax, [ebp - 0x11d]
push eax
push ebx
call sub.kernel32.dll_GetVolumeInformationA
lea eax, [ebp - 0x228]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.00405044
cmp dword [ebp - 0x228], 0
jne 0x42672e
push esi
push edi
mov esi, 0x42688c
lea edi, [ebp - 0x11d]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [0x43f4e8]
mov eax, dword [eax]
call eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
add eax, dword [ebp - 8]
adc edx, dword [ebp - 4]
mov dword [esi], eax
mov dword [esi + 4], edx
lea edx, [ebp - 0x22c]
mov eax, 0x42699c
call fcn.004237ec
mov eax, dword [ebp - 0x22c]
call fcn.00405294
push eax
mov eax, dword [0x43f3d8]
mov eax, dword [eax]
call fcn.00405294
push eax
call sub.kernel32.dll_LoadLibraryA
push eax
call fcn.00421924
mov edx, dword [0x43f628]
mov dword [edx], eax
push dword [edi]
lea eax, [ebp - 0x230]
mov edx, ebx
call fcn.00404fcc
push dword [ebp - 0x230]
push 0x4269dc
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.00405044
push dword [ebp - 0x234]
push 0x4269dc
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x238]
call fcn.00408c70
push dword [ebp - 0x238]
push 0x4269dc
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x23c]
call fcn.00408c70
push dword [ebp - 0x23c]
push 0x4269dc
lea eax, [ebp - 0x240]
lea edx, [ebp - 0x222]
mov ecx, 0x105
call fcn.00405044
push dword [ebp - 0x240]
push 0x4269dc
push ebx
mov eax, dword [0x43f628]
mov eax, dword [eax]
call eax
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x244]
call fcn.00408c70
push dword [ebp - 0x244]
push 0x4269dc
mov eax, edi
mov edx, 0xd
call fcn.00405154
add ebx, 4
cmp byte [ebx], 0
jne 0x426690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426883
lea eax, [ebp - 0x244]
mov edx, 8
call fcn.00404df8
ret