joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b150
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
xor edx, edx
cmp dword [ebp + 0x18], edx
push edi
mov edi, eax
je 0x47b1b5
cmp dword [ebp + 0x18], 0x12d
jne 0x47b33f
cmp dword [ebp + 0xc], 0x100
jne 0x47b33f
movzx esi, word [ebp + 0x10]
push 0x11
mov dword [edi + 0x3d8], edx
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 0x61
movzx eax, ax
je 0x47b197
cmp esi, 0x41
jne 0x47b1a6
test al, al
jns 0x47b1a6
lea esi, [edi + 0x3e0]
call fcn.0047a976
and dword [ebx], 0
cmp dword [edi + 0x3d8], 0
jmp 0x47b339
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x4e
jne 0x47b208
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x47b321
xor esi, esi
inc esi
mov dword [edi + 0x3d8], esi
cmp dword [eax + 8], esi
jne 0x47b1ea
cmp dword [eax + 0xc], 0x12e
jne 0x47b1ea
call fcn.0047b457
mov eax, esi
jmp 0x47b1f2
mov dword [edi + 0x3d8], edx
xor eax, eax
mov dword [ebx], eax
cmp dword [edi + 0x3d8], 0
je 0x47b321
mov eax, esi
jmp 0x47b341
cmp ecx, 0x110
jne 0x47b241
lea esi, [edi + 0x3d8]
push edi
mov dword [esi], 1
call fcn.0047b5e2
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
cmp dword [esi], 0
je 0x47b321
xor eax, eax
inc eax
jmp 0x47b341
cmp ecx, 0x465
jne 0x47b268
mov eax, dword [ebp + 0x10]
mov esi, edi
mov dword [edi + 0x3d8], 1
call fcn.0047b3b3
mov dword [ebx], eax
cmp dword [edi + 0x3d8], 0
jmp 0x47b233
cmp ecx, 0x466
jne 0x47b283
mov esi, edi
mov dword [edi + 0x3d8], 1
call fcn.0047b3fe
jmp 0x47b25d
mov eax, 0x46c
cmp ecx, eax
jne 0x47b29f
mov esi, edi
mov dword [edi + 0x3d8], 1
call fcn.0047b893
jmp 0x47b25d
cmp ecx, 0x46f
jne 0x47b2ca
push dword [edi + 0x408]
lea esi, [edi + 0x3d8]
push dword [edi + 0x3e0]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x47b22d
cmp ecx, 0x10
jne 0x47b2f2
push 0
push 2
push 0x111
push dword [edi + 4]
lea esi, [edi + 0x3d8]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x47b22d
cmp ecx, 0x111
jne 0x47b321
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
cmp cx, 0x300
mov dword [edi + 0x3d8], edx
jne 0x47b319
push edx
push edx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [ebx], 0
jmp 0x47b25f
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004081b6
test eax, eax
jne 0x47b239
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x47b457
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4b8603
call fcn.004b5be0
sub esp, 0x43c
mov eax, dword [0x4ea5f8]
push ebx
xor ebx, ebx
push esi
mov ecx, 0x4ea5f8
mov dword [ebp - 0x18], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, 0x206
push esi
lea eax, [ebp - 0x23e]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x240], bx
call fcn.00482db0
push esi
lea eax, [ebp - 0x446]
push ebx
push eax
mov word [ebp - 0x448], bx
call fcn.00482db0
add esp, 0x18
lea eax, [ebp - 0x448]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x4cea18
lea eax, [ebp - 0x10]
push eax
call fcn.00427a6d
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 0x34], eax
call fcn.00427923
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], 0x4cea24
mov dword [ebp - 0x28], 0x8041
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp dword [ebp - 0x10], ebx
mov esi, eax
jne 0x47b52d
xor eax, eax
jmp 0x47b536
push dword [ebp - 0x10]
call fcn.004833d5
pop ecx
lea edx, [ebp - 0x10]
call fcn.0041473f
cmp esi, ebx
je 0x47b5bc
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x240]
push eax
call fcn.004833d5
lea eax, [ebp - 0x240]
push eax
lea esi, [ebp - 0x14]
call fcn.00473275
pop ecx
pop ecx
push str.kingsoft_antivirus_
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.00427746
push dword [ebp - 0x14]
push dword [edi + 0x3e0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push edi
mov eax, esi
call fcn.0047b7a0
push eax
push 0x46c
push dword [edi + 0x3dc]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040d60b
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040d60b
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47b5e2
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4bac9e
call fcn.004b5be0
sub esp, 0x20c
push ebx
push esi
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], 0x12d
push ecx
mov eax, esp
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push dword [eax + 4]
lea ebx, [eax + 0x3e0]
call fcn.0047abeb
push str.Arial
push 0x20
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x64
push esi
push esi
push esi
push 0x12
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx]
call edi
push esi
push 0x96
push 0xc5
push dword [ebx]
call edi
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4ea5f8]
mov ecx, 0x4ea5f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x216]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x218], si
call fcn.00482db0
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x47b6bf
push str.c:program_files
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00482bcd
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str._skingsoftkingsoft_antivirus_
lea eax, [ebp - 0x10]
call fcn.00427a22
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp + 8]
add edi, 0x408
lea eax, [ebp - 0x10]
call fcn.00427b58
lea eax, [esi - 0x10]
call fcn.0040d60b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x47b7a0
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, eax
push dword [edi]
lea esi, [ebp - 8]
call fcn.00473275
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.0040d60b
mov eax, dword [edi]
xor ebx, ebx
push 3
pop esi
inc ebx
cmp dword [eax - 0xc], esi
jl 0x47b877
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47b7f0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x47b877
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.00427802
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 8]
setne bl
add eax, 0xfffffff0
call fcn.0040d60b
test bl, bl
je 0x47b821
mov dword [ebp - 4], 2
jmp 0x47b87a
call fcn.0047b70b
test eax, eax
je 0x47b82f
mov dword [ebp - 4], esi
jmp 0x47b87a
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.00427802
push dword [eax]
call fcn.0047b0a5
mov ebx, eax
mov eax, dword [ebp - 8]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.0040d60b
test bl, bl
je 0x47b863
mov dword [ebp - 4], 4
jmp 0x47b87a
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x47b87a
mov dword [ebp - 4], 5
jmp 0x47b87a
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x3dc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47eb18
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.00482db0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x47eb5f
xor eax, eax
inc eax
leave
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4ced10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00427bb4
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47eba8
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040d60b
jmp 0x47eb5a
push esi
push dword [ebp - 4]
xor esi, esi
inc esi
push esi
push 0x4c3e1c
push str.updatecheck
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x47ebd4
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040d60b
mov eax, esi
pop esi
leave
ret
xor esi, esi
jmp 0x47ebc4

Function at 0x47ed27
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b9961
call fcn.004b5be0
sub esp, 0xc
push ebx
push edi
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
mov eax, dword [0x4ea5f8]
mov ecx, 0x4ea5f8
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x30]
push edi
mov byte [ebp - 4], 1
call fcn.00473302
pop ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x12c
push 0
push dword [ebp + 0xc]
lea eax, [esi + 0x28]
push eax
call fcn.00474f79
mov ecx, dword [ebp + 8]
add esp, 0x10
xor edi, edi
test eax, eax
mov dword [ecx], eax
je 0x47edb3
lea eax, [ebx - 0x10]
call fcn.0040d60b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
inc edi
jmp 0x47ed92

Function at 0x47edf7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4b9961
call fcn.004b5be0
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
lea esi, [edi + 0x30]
push esi
call fcn.00473302
pop ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47ee47
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov eax, dword [0x4ea5f8]
mov ecx, 0x4ea5f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s__update:0
mov byte [ebp - 4], 1
call fcn.00427a22
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
push 0xffffffffffffffff
push ebx
push esi
xor ecx, ecx
call fcn.004723c4
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x47ee9a
lea eax, [ebx - 0x10]
call fcn.0040d60b
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x47ee37
inc esi
jmp 0x47ee87
Function at 0x47ee9d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ba660
call fcn.004b5be0
sub esp, 0x214
mov eax, dword [0x4ea5f8]
push ebx
push esi
mov esi, 0x4ea5f8
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x4ea5f8]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x21e]
push edi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x220], di
call fcn.00482db0
add esp, 0xc
push edi
call fcn.004884c9
pop ecx
push edx
push eax
push str.http:__2398.35go.net_defend_o1_jcqgx.ini
lea eax, [ebp - 0x14]
call fcn.0040f4a9
mov esi, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00470255
test eax, eax
mov ebx, dword [ebp - 0x10]
pop ecx
pop ecx
jne 0x47ef95
cmp dword [ebx - 0xc], edi
je 0x47ef95
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x47ef95
push str.jcqgx.ini
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
add edi, 0x24
push edi
call fcn.00427a6d
push dword [edi]
lea eax, [ebp - 0x10]
call fcn.00471fbf
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jne 0x47ef80
add eax, 0xfffffff0
jmp 0x47ef98
add eax, 0xfffffff0
call fcn.0040d60b
lea eax, [esi - 0x10]
call fcn.0040d60b
xor eax, eax
inc eax
jmp 0x47efa7
lea eax, [ebx - 0x10]
call fcn.0040d60b
lea eax, [esi - 0x10]
call fcn.0040d60b
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x47f888
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b8d5e
call fcn.004b5be0
sub esp, 0x260
push ebx
push esi
push edi
push 0x4c3cb8
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [ebp - 0x20], ebx
call fcn.00427bb4
mov dword [ebp - 4], ebx
call fcn.00445ce6
movzx eax, byte [eax + 0x20]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
je 0x47f8ed
cmp dword [esi + 0x14], ebx
jne 0x47f8ed
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push 0x20119
push ebx
push eax
push ecx
mov dword [ebp - 0x10], ebx
call edi
cmp eax, ebx
je 0x47f90c
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push 0x20219
push ebx
push eax
push ecx
mov dword [ebp - 0x10], ebx
call edi
cmp eax, ebx
jne 0x47f9a6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4ea5f8]
mov ecx, 0x4ea5f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x208
lea eax, [ebp - 0x26a]
mov byte [ebp - 4], 2
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x26c], bx
call fcn.00482db0
mov esi, dword [esi + 0xc]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47fa19
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x47f9ee
cmp eax, 2
je 0x47f9ee
cmp eax, 7
je 0x47f9ee
cmp eax, 4
jne 0x47f9cb
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x26c]
call fcn.0048a481
add esp, 0x10
lea eax, [ebp - 0x60]
jmp 0x47f9f4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00427b00
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040d60b
mov eax, esi
jmp 0x47fa61
cmp eax, 0xb
jne 0x47f9fe
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call fcn.0048a5a9
add esp, 0x14
jmp 0x47f9a1
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00427a6d
lea ecx, [ebp - 0x10]
call fcn.004724d0
lea ecx, [ebp - 0x10]
call fcn.004725bc
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x18]
call fcn.00427b58
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x47fa2c
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00427b00
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040d60b
cmp dword [ebp - 0x14], ebx
je 0x47fa54
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040d60b
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4800c2
Capabilities:
Check for sandbox and av modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
push edi
mov dword [ebx], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call fcn.0048116a
xor edi, edi
inc edi
test eax, eax
je 0x4800ee
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
lea ecx, [ebp + 0xb]
call fcn.004811c3
test eax, eax
jne 0x480112
lea ecx, [ebp + 0xb]
call fcn.004811f1
test eax, eax
jne 0x480112
lea ecx, [ebp + 0xb]
call fcn.0048121f
test eax, eax
je 0x480116
or dword [ebp - 4], 2
call fcn.00481299
test eax, eax
je 0x480126
or dword [ebp - 4], 4
mov dword [ebp - 8], edi
cmp dword [ebp - 8], 0
je 0x48013d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
mov dword [ebx], edi
mov dword [eax], ecx
jmp 0x480248
lea esi, [ebp - 4]
call fcn.00480466
test eax, eax
je 0x480161
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x480248
lea esi, [ebp - 4]
call fcn.004804a8
test eax, eax
je 0x48017a
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 3
jmp 0x480154
call fcn.0048090c
test al, al
jne 0x480195
call fcn.004808d1
test al, al
jne 0x480195
call fcn.00480839
test al, al
je 0x4801a2
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 4
jmp 0x480154
lea esi, [ebp - 0xcc]
mov dword [ebp - 8], 3
call fcn.00480a79
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00480b03
test eax, eax
je 0x4801fc
mov eax, dword [ebp - 8]
test eax, eax
je 0x4801d2
cmp eax, edi
je 0x4801d2
cmp eax, 2
jne 0x4801fc
cmp eax, edi
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
mov dword [ebx], 5
jne 0x4801ec
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x3001
jmp 0x480248
cmp eax, 2
jne 0x480248
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x3002
jmp 0x480248
push str.SbieDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x480218
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 6
jmp 0x480242
call fcn.0048024e
test eax, eax
je 0x48022e
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 7
jmp 0x480242
call fcn.004802f1
test eax, eax
je 0x480248
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 8
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4804f1
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e430c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
xor bl, bl
call fcn.00482db0
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x480573
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x48056b
lea eax, [ebp - 0x20c]
push eax
push str.vmusrvc.exe
call fcn.00484b17
test eax, eax
pop ecx
pop ecx
je 0x480571
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x480547
jmp 0x480573
mov bl, 1
test esi, esi
je 0x48057e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0048ad8d
leave
ret

Function at 0x48058e
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4e430c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push esi
push edi
mov edi, 0x208
xor ebx, ebx
push edi
lea eax, [ebp + 0x192]
push ebx
push eax
mov word [ebp + 0x190], bx
call fcn.00482db0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x190]
push eax
mov byte [ebp - 0x7d], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x480647
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
and word [ebp - 0x7c], 0
push edi
lea eax, [ebp - 0x7a]
push 0
push eax
call fcn.00482db0
push 0xffffffffffffffff
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004865ae
push 0xffffffffffffffff
push dword [ebx + 0x4ea15c]
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004b52dd
add esp, 0x2c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x480643
add ebx, 4
cmp ebx, 0x14
jb 0x4805f2
jmp 0x480647
mov byte [ebp - 0x7d], 1
mov ecx, dword [ebp + 0x39c]
mov al, byte [ebp - 0x7d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ad8d
add ebp, 0x3a0
leave
ret
Function at 0x480739
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4e430c]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push ebx
push esi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x5e]
push ebx
push eax
mov byte [ebp - 0x61], bl
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x60], bx
call fcn.00482db0
mov esi, str.DiskVirtual_HD
push esi
mov dword [ebp - 0x70], 0x104
call fcn.004833d5
add esp, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetEnumIDE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x48081f
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [ebp - 0x6c]
test eax, eax
jne 0x480811
cmp word [ebp - 0x60], bx
je 0x4807f2
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x70], eax
jb 0x4807f2
push eax
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.004885ed
add esp, 0xc
test eax, eax
je 0x48080d
push 0x208
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00482db0
add esp, 0xc
mov dword [ebp - 0x70], 0x104
jmp 0x4807b0
mov byte [ebp - 0x61], 1
cmp dword [ebp - 0x68], ebx
je 0x48081f
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1a8]
mov al, byte [ebp - 0x61]
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ad8d
add ebp, 0x1ac
leave
ret

Function at 0x48090c
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4e430c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push esi
push edi
mov edi, 0x208
xor ebx, ebx
push edi
lea eax, [ebp + 0x192]
push ebx
push eax
mov word [ebp + 0x190], bx
call fcn.00482db0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x190]
push eax
mov byte [ebp - 0x7d], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x4809c5
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
and word [ebp - 0x7c], 0
push edi
lea eax, [ebp - 0x7a]
push 0
push eax
call fcn.00482db0
push 0xffffffffffffffff
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004865ae
push 0xffffffffffffffff
push dword [ebx + 0x4ea180]
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004b52dd
add esp, 0x2c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4809c1
add ebx, 4
cmp ebx, 4
jb 0x480970
jmp 0x4809c5
mov byte [ebp - 0x7d], 1
mov ecx, dword [ebp + 0x39c]
mov al, byte [ebp - 0x7d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ad8d
add ebp, 0x3a0
leave
ret