joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485e8c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
mov eax, dword [ebp - 0xc]
call fcn.004058ec
mov eax, dword [ebp + 8]
call fcn.004058ec
xor eax, eax
push ebp
push 0x485fb9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x485f85
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x420a38]
call fcn.00420b7c
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, 0x485fd4
call fcn.00405894
jne 0x485f06
mov esi, 0x80000002
mov eax, dword [ebp - 4]
mov edx, 0x485fe0
call fcn.00405894
jne 0x485f1a
mov esi, 0x80000001
mov eax, dword [ebp - 8]
mov edx, 0x485fe0
call fcn.00405894
jne 0x485f36
lea eax, [ebp - 0x10]
mov edx, 0x485fec
call fcn.00405504
mov eax, dword [ebp - 8]
mov edx, 0x485fd4
call fcn.00405894
jne 0x485f52
lea eax, [ebp - 0x10]
mov edx, 0x485fec
call fcn.00405504
mov edx, esi
mov eax, ebx
call fcn.00420c14
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00420d58
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0042147c
mov eax, ebx
call fcn.00404640
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485f96
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485fc0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405490
lea eax, [ebp + 8]
call fcn.0040546c
ret

Function at 0x48601c
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
xor eax, eax
push ebp
push 0x4860d6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4860aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x4860e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x486076
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4860bb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4860dd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret
Function at 0x486c68
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov ebx, 0x4ad278
xor eax, eax
push ebp
push 0x486daa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x486caa
mov eax, dword [0x4a4de0]
mov byte [eax], 0
jmp 0x486d8f
mov word [ebp - 0x10], 2
mov eax, dword [0x4a4dbc]
movzx eax, word [eax]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0xe], ax
mov eax, dword [0x4a4f7c]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebp - 0xc], esi
inc esi
jne 0x486cff
mov eax, dword [0x4a4f7c]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x486cf5
mov eax, dword [0x4a4de0]
mov byte [eax], 0
jmp 0x486d8f
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_connect
push 0
push 0x1fff
push 0x4ab278
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_recv
mov eax, 0x4ab278
xor ecx, ecx
mov edx, 0x2000
call fcn.00403ae4
push 0x486dc0
lea edx, [ebp - 0x18]
mov eax, dword [0x4a4cf4]
mov eax, dword [eax]
call fcn.00409c6c
push dword [ebp - 0x18]
push 0x486dd0
push 0x486ddc
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00405800
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx]
call fcn.0049393c
push 0
push 0x1fff
push 0x4ab278
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_recv
mov eax, 0x4ab278
xor ecx, ecx
mov edx, 0x2000
call fcn.00403ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486db1
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405490
ret

Function at 0x48742c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48749e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004054c0
mov dword [ebx + 4], edi
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x487320
push 0
push 0
call sub.kernel32.dll_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4874a5
lea eax, [ebp - 4]
call fcn.0040546c
ret
Function at 0x4874ac
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48753e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x408]
xor ecx, ecx
mov edx, 0x400
call fcn.00403ae4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4874f1
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x48750f
inc edx
xor esi, esi
lea eax, [ebp - 0x408]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi]
mov byte [eax], cl
inc esi
inc eax
dec edx
jne 0x487501
push 0
push 0x400
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487545
lea eax, [ebp - 4]
call fcn.0040546c
ret
Function at 0x48a0fc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
mov eax, dword [ebp - 0xc]
call fcn.004058ec
mov eax, dword [ebp + 8]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48a260
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ad454
call sub.kernel32.dll_EnterCriticalSection
xor eax, eax
push ebp
push 0x48a229
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00489b70
test al, al
je 0x48a174
call fcn.00404f60
jmp 0x48a230
push dword [ebp - 4]
push 0x48a278
push dword [ebp - 8]
push 0x48a278
push dword [ebp - 0xc]
push 0x48a278
push dword [ebp + 8]
push 0x48a284
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00405800
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4ad450]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x10
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, dword [ebp - 8]
call fcn.00409dd8
mov dword [ebx], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00409a78
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 4]
call fcn.004054c0
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
call fcn.00409a78
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 8]
call fcn.004054c0
xor eax, eax
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x489684
push 0
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a230
push 0x4ad454
call sub.kernel32.dll_LeaveCriticalSection
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a267
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405490
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405490
lea eax, [ebp + 8]
call fcn.0040546c
ret

Function at 0x48abec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x48ac4b
xor eax, eax
push ebp
push 0x48ac44
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ac4b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
pop ecx
pop ecx
pop ebp
ret
Function at 0x48b0c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48b158
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0048d2c8
lea eax, [ebp - 8]
mov edx, 0x48b16c
call fcn.00405738
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048e158
push 0
push 0
push 0x48b178
lea eax, [ebp - 0xc]
call fcn.0048d2c8
lea eax, [ebp - 0xc]
mov edx, 0x48b16c
call fcn.00405738
mov eax, dword [ebp - 0xc]
call fcn.004058fc
push eax
push 0x48b17c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b15f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405490
ret
Function at 0x48b5d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x48b5e0
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x48b719
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x41
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00405654
lea eax, [ebp - 0xc]
mov edx, 0x48b730
call fcn.00405738
mov eax, dword [ebp - 0xc]
call fcn.004058fc
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
cmp esi, 1
jle 0x48b6e2
lea eax, [ebp - 0x18]
call fcn.0048d458
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040a4d0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409a78
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x28]
call fcn.00403990
mov edx, 0x48b734
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403960
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x20]
call fcn.004056d0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409a78
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00405894
jne 0x48b6a4
lea eax, [ebp - 8]
mov edx, 0x48b740
call fcn.00405504
jmp 0x48b6b3
lea eax, [ebp - 8]
mov edx, dword [esi*4 + 0x4a4afc]
call fcn.00405504
push dword [ebp - 4]
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.00405654
push dword [ebp - 0x2c]
push 0x48b730
push 0x48b754
push dword [ebp - 8]
push 0x48b760
lea eax, [ebp - 4]
mov edx, 6
call fcn.00405800
inc ebx
cmp bl, 0x5b
jne 0x48b5fd
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b720
lea eax, [ebp - 0x2c]
call fcn.0040546c
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00405490
ret

Function at 0x48b764
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x11
call fcn.004056dc
add esp, 0x18
pop ebx
ret

Function at 0x48b7d4
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x48b808
call sub.user32.dll_FindWindowA
push 0
push 0x48b818
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x48b828
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x48b838
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x48b86c
call sub.user32.dll_FindWindowA
push 0
push 0x48b87c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x48b88c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 5
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x48b89c
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x48b8c0
call sub.user32.dll_FindWindowA
push 0
push 0x48b8d0
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x48b8e0
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x48b904
call sub.user32.dll_FindWindowA
push 0
push 0x48b914
push 0
push eax
call sub.user32.dll_FindWindowExA
push 5
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x48b924
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x48b948
call sub.user32.dll_FindWindowA
push 0
push 0x48b958
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x48b968
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x48b98c
call sub.user32.dll_FindWindowA
push 0
push 0x48b99c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 5
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x48b9ac
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x48b9c8
push 0
push 0
call sub.user32.dll_FindWindowExA
push 0
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x48b9d0
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0x48b9ec
push 0
push 0
call sub.user32.dll_FindWindowExA
push 5
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x48b9f4
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48baaf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48ba94
xor eax, eax
push ebp
push 0x48ba8d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
call sub.advapi32.dll_ControlService
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba94
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bab6
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret
Function at 0x48babc
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48bb7c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48bb61
xor eax, eax
push ebp
push 0x48bb5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.advapi32.dll_StartServiceA
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bb61
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bb83
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret

Function at 0x48be60
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
mov eax, dword [ebp - 0xc]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48bfbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409dd8
cmp eax, 5
ja case.default.0x48bea6
jmp dword [eax*4 + 0x48bead]
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48bea6
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48bea6
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48bea6
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48bea6
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000005
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48bea6
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, dword [ebp - 0xc]
call fcn.004058fc
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
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bfc3
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405490
ret
Function at 0x48bfc8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48c115
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409dd8
cmp eax, 5
ja case.default.0x48c003
jmp dword [eax*4 + 0x48c00a]
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48c003
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48c003
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48c003
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48c003
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000005
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x48c003
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
push 0x48c120
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteKeyA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c11c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret

Function at 0x48c190
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x48c1bc
mov edx, ebx
lea eax, [esp + 4]
call fcn.0048c17c
jmp 0x48c1c3
mov eax, ebx
call fcn.0040546c
add esp, 0x104
pop ebx
ret

Function at 0x48c1cc
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48c1f8
mov edx, ebx
lea eax, [esp + 4]
call fcn.0048c17c
jmp 0x48c1ff
mov eax, ebx
call fcn.0040546c
add esp, 0x104
pop ebx
ret

Function at 0x48c208
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
push 5
lea eax, [esp + 4]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete al
test al, al
je 0x48c234
mov eax, ebx
mov edx, esp
call fcn.00405664
pop ecx
pop edx
pop ebx
ret
Function at 0x48c9f8
Capabilities:
Identify system language via api

Disassembly:
push ebx
add esp, 0xffffff98
mov ebx, eax
call sub.kernel32.dll_GetUserDefaultLangID
push 0x64
lea edx, [esp + 4]
push edx
movzx eax, ax
push eax
call sub.kernel32.dll_VerLanguageNameA
mov eax, ebx
mov edx, esp
mov ecx, 0x65
call fcn.004056dc
add esp, 0x68
pop ebx
ret

Function at 0x48d0a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d1a6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48d16c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x30]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x28]
call fcn.0048f81c
push dword [ebp - 0x28]
push 0x48d1bc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x30]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x34]
call fcn.0048f81c
push dword [ebp - 0x34]
push 0x48d1c8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x30]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x38]
call fcn.0048f81c
push dword [ebp - 0x38]
push 0x48d1d4
mov eax, dword [ebp - 4]
mov edx, 6
call fcn.00405800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d183
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d1ad
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00405490
lea eax, [ebp - 0x28]
call fcn.0040546c
ret

Function at 0x48d2c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48d377
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48d2fa
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
push ebx
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48d31f
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405964
mov eax, dword [ebp - 8]
mov edx, 0x48d38c
call fcn.00405894
je 0x48d352
mov eax, esi
mov ecx, 0x48d38c
mov edx, dword [ebp - 4]
call fcn.00405784
jmp 0x48d35c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d37e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret