joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47dd1f
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 0x47dd84
cmp dword [ebp + 0x18], 0x12d
jne 0x47df0e
cmp dword [ebp + 0xc], 0x100
jne 0x47df0e
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 0x47dd66
cmp esi, 0x41
jne 0x47dd75
test al, al
jns 0x47dd75
lea esi, [edi + 0x3e0]
call fcn.0047d5a2
and dword [ebx], 0
cmp dword [edi + 0x3d8], 0
jmp 0x47df08
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x4e
jne 0x47ddd7
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x47def0
xor esi, esi
inc esi
mov dword [edi + 0x3d8], esi
cmp dword [eax + 8], esi
jne 0x47ddb9
cmp dword [eax + 0xc], 0x12e
jne 0x47ddb9
call fcn.0047e026
mov eax, esi
jmp 0x47ddc1
mov dword [edi + 0x3d8], edx
xor eax, eax
mov dword [ebx], eax
cmp dword [edi + 0x3d8], 0
je 0x47def0
mov eax, esi
jmp 0x47df10
cmp ecx, 0x110
jne 0x47de10
lea esi, [edi + 0x3d8]
push edi
mov dword [esi], 1
call fcn.0047e1b1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
cmp dword [esi], 0
je 0x47def0
xor eax, eax
inc eax
jmp 0x47df10
cmp ecx, 0x465
jne 0x47de37
mov eax, dword [ebp + 0x10]
mov esi, edi
mov dword [edi + 0x3d8], 1
call fcn.0047df82
mov dword [ebx], eax
cmp dword [edi + 0x3d8], 0
jmp 0x47de02
cmp ecx, 0x466
jne 0x47de52
mov esi, edi
mov dword [edi + 0x3d8], 1
call fcn.0047dfcd
jmp 0x47de2c
mov eax, 0x46c
cmp ecx, eax
jne 0x47de6e
mov esi, edi
mov dword [edi + 0x3d8], 1
call fcn.0047e462
jmp 0x47de2c
cmp ecx, 0x46f
jne 0x47de99
push dword [edi + 0x408]
lea esi, [edi + 0x3d8]
push dword [edi + 0x3e0]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x47ddfc
cmp ecx, 0x10
jne 0x47dec1
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 0x47ddfc
cmp ecx, 0x111
jne 0x47def0
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
cmp cx, 0x300
mov dword [edi + 0x3d8], edx
jne 0x47dee8
push edx
push edx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [ebx], 0
jmp 0x47de2e
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.004084b8
test eax, eax
jne 0x47de08
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x47e026
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4bb124
call fcn.004b89d0
sub esp, 0x43c
mov eax, dword [0x4ed5f0]
push ebx
xor ebx, ebx
push esi
mov ecx, 0x4ed5f0
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.00486640
push esi
lea eax, [ebp - 0x446]
push ebx
push eax
mov word [ebp - 0x448], bx
call fcn.00486640
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 0x4d1bc0
lea eax, [ebp - 0x10]
push eax
call fcn.00427868
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.0042771e
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], 0x4d1bcc
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 0x47e0fc
xor eax, eax
jmp 0x47e105
push dword [ebp - 0x10]
call fcn.00486c84
pop ecx
lea edx, [ebp - 0x10]
call fcn.00414cbf
cmp esi, ebx
je 0x47e18b
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x240]
push eax
call fcn.00486c84
lea eax, [ebp - 0x240]
push eax
lea esi, [ebp - 0x14]
call fcn.00475dba
pop ecx
pop ecx
push str.kingsoft_antivirus_
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.00427541
push dword [ebp - 0x14]
push dword [edi + 0x3e0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push edi
mov eax, esi
call fcn.0047e36f
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.0040dae8
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47e1b1
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4bae72
call fcn.004b89d0
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.0047d817
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 [0x4ed5f0]
mov ecx, 0x4ed5f0
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.00486640
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 0x47e28e
push str.c:program_files
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0048633c
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str._skingsoftkingsoft_antivirus_
lea eax, [ebp - 0x10]
call fcn.0042781d
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.00427953
lea eax, [esi - 0x10]
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x47e36f
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.00475dba
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, dword [edi]
xor ebx, ebx
push 3
pop esi
inc ebx
cmp dword [eax - 0xc], esi
jl 0x47e446
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47e3bf
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x47e446
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.004275fd
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.0040dae8
test bl, bl
je 0x47e3f0
mov dword [ebp - 4], 2
jmp 0x47e449
call fcn.0047e2da
test eax, eax
je 0x47e3fe
mov dword [ebp - 4], esi
jmp 0x47e449
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.004275fd
push dword [eax]
call fcn.0047dc74
mov ebx, eax
mov eax, dword [ebp - 8]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.0040dae8
test bl, bl
je 0x47e432
mov dword [ebp - 4], 4
jmp 0x47e449
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x47e449
mov dword [ebp - 4], 5
jmp 0x47e449
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 0x47eb57
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x47eb9e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x47eb97
cmp dword [esp + 4], 0x1b
jne 0x47eb7e
push 0
push 2
jmp 0x47eb89
cmp dword [esp + 4], 0xd
jne 0x47eb97
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x3bc], 0
ret 4
Function at 0x4814ba
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.00459afb
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x4814cb
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x14]
push 0x4814f5
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
call fcn.00487b55
add esp, 0x18
ret

Function at 0x481762
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.00486640
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4817a9
xor eax, eax
inc eax
leave
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4d1f48
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.004279af
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4817f2
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040dae8
jmp 0x4817a4
push esi
push dword [ebp - 4]
xor esi, esi
inc esi
push esi
push 0x4c6edc
push str.updatecheck
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x48181e
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, esi
pop esi
leave
ret
xor esi, esi
jmp 0x48180e

Function at 0x481971
Capabilities:
Delete file

Disassembly:
mov eax, 0x4bc829
call fcn.004b89d0
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 [0x4ed5f0]
mov ecx, 0x4ed5f0
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.00475e47
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.00477a3a
mov ecx, dword [ebp + 8]
add esp, 0x10
xor edi, edi
test eax, eax
mov dword [ecx], eax
je 0x4819fd
lea eax, [ebx - 0x10]
call fcn.0040dae8
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 0x4819dc
Function at 0x481a41
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4bc829
call fcn.004b89d0
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.00475e47
pop ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x481a91
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 [0x4ed5f0]
mov ecx, 0x4ed5f0
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.0042781d
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
push 0xffffffffffffffff
push ebx
push esi
xor ecx, ecx
call fcn.00474f09
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x481ae4
lea eax, [ebx - 0x10]
call fcn.0040dae8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x481a81
inc esi
jmp 0x481ad1

Function at 0x481ae7
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4bd50b
call fcn.004b89d0
sub esp, 0x214
mov eax, dword [0x4ed5f0]
push ebx
push esi
mov esi, 0x4ed5f0
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 [0x4ed5f0]
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.00486640
add esp, 0xc
push edi
call fcn.0048b2c1
pop ecx
push edx
push eax
push str.http:__2398.35go.net_defend_o1_jcqgx.ini
lea eax, [ebp - 0x14]
call fcn.0040fafc
mov esi, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00428007
test eax, eax
mov ebx, dword [ebp - 0x10]
pop ecx
pop ecx
jne 0x481bdf
cmp dword [ebx - 0xc], edi
je 0x481bdf
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x481bdf
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.00427868
push dword [edi]
lea eax, [ebp - 0x10]
call fcn.00474a8f
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jne 0x481bca
add eax, 0xfffffff0
jmp 0x481be2
add eax, 0xfffffff0
call fcn.0040dae8
lea eax, [esi - 0x10]
call fcn.0040dae8
xor eax, eax
inc eax
jmp 0x481bf1
lea eax, [ebx - 0x10]
call fcn.0040dae8
lea eax, [esi - 0x10]
call fcn.0040dae8
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4824d2
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4bbc21
call fcn.004b89d0
sub esp, 0x260
push ebx
push esi
push edi
push 0x4c6d78
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [ebp - 0x20], ebx
call fcn.004279af
mov dword [ebp - 4], ebx
call fcn.004480ed
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 0x482537
cmp dword [esi + 0x14], ebx
jne 0x482537
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 0x482556
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 0x4825f0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4ed5f0]
mov ecx, 0x4ed5f0
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.00486640
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 0x482663
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x482638
cmp eax, 2
je 0x482638
cmp eax, 7
je 0x482638
cmp eax, 4
jne 0x482615
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x26c]
call fcn.0048d3d3
add esp, 0x10
lea eax, [ebp - 0x60]
jmp 0x48263e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004278fb
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, esi
jmp 0x4826ab
cmp eax, 0xb
jne 0x482648
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call fcn.0048d4fb
add esp, 0x14
jmp 0x4825eb
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00427868
lea ecx, [ebp - 0x10]
call fcn.00475015
lea ecx, [ebp - 0x10]
call fcn.00475101
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x18]
call fcn.00427953
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x482676
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004278fb
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040dae8
cmp dword [ebp - 0x14], ebx
je 0x48269e
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x482ea2
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.00483305
xor edi, edi
inc edi
test eax, eax
je 0x482ece
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
lea ecx, [ebp + 0xb]
call fcn.0048335e
test eax, eax
jne 0x482ef2
lea ecx, [ebp + 0xb]
call fcn.0048338c
test eax, eax
jne 0x482ef2
lea ecx, [ebp + 0xb]
call fcn.004833ba
test eax, eax
je 0x482ef6
or dword [ebp - 4], 2
call fcn.00483434
test eax, eax
je 0x482f06
or dword [ebp - 4], 4
mov dword [ebp - 8], edi
cmp dword [ebp - 8], 0
je 0x482f1d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
mov dword [ebx], edi
mov dword [eax], ecx
jmp 0x483028
lea esi, [ebp - 4]
call fcn.00483505
test eax, eax
je 0x482f41
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 0x483028
lea esi, [ebp - 4]
call fcn.00483547
test eax, eax
je 0x482f5a
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 3
jmp 0x482f34
call fcn.004839ab
test al, al
jne 0x482f75
call fcn.00483970
test al, al
jne 0x482f75
call fcn.004838d8
test al, al
je 0x482f82
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 4
jmp 0x482f34
lea esi, [ebp - 0xcc]
mov dword [ebp - 8], 3
call fcn.00483b18
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00483ba2
test eax, eax
je 0x482fdc
mov eax, dword [ebp - 8]
test eax, eax
je 0x482fb2
cmp eax, edi
je 0x482fb2
cmp eax, 2
jne 0x482fdc
cmp eax, edi
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
mov dword [ebx], 5
jne 0x482fcc
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x3001
jmp 0x483028
cmp eax, 2
jne 0x483028
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x3002
jmp 0x483028
push str.SbieDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x482ff8
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 6
jmp 0x483022
call fcn.0048302e
test eax, eax
je 0x48300e
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebx], 7
jmp 0x483022
call fcn.004830d1
test eax, eax
je 0x483028
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 0x483590
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e731c]
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.00486640
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x483612
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x48360a
lea eax, [ebp - 0x20c]
push eax
push str.vmusrvc.exe
call fcn.00487d12
test eax, eax
pop ecx
pop ecx
je 0x483610
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4835e6
jmp 0x483612
mov bl, 1
test esi, esi
je 0x48361d
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.0048db8d
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4e731c]
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.00486640
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 0x4836e6
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.00486640
push 0xffffffffffffffff
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0048957c
push 0xffffffffffffffff
push dword [ebx + 0x4ed174]
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004b80cd
add esp, 0x2c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4836e2
add ebx, 4
cmp ebx, 0x14
jb 0x483691
jmp 0x4836e6
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.0048db8d
add ebp, 0x3a0
leave
ret
Function at 0x4837d8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4e731c]
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.00486640
mov esi, str.DiskVirtual_HD
push esi
mov dword [ebp - 0x70], 0x104
call fcn.00486c84
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 0x4838be
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 0x4838b0
cmp word [ebp - 0x60], bx
je 0x483891
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x70], eax
jb 0x483891
push eax
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0048b3e5
add esp, 0xc
test eax, eax
je 0x4838ac
push 0x208
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00486640
add esp, 0xc
mov dword [ebp - 0x70], 0x104
jmp 0x48384f
mov byte [ebp - 0x61], 1
cmp dword [ebp - 0x68], ebx
je 0x4838be
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.0048db8d
add ebp, 0x1ac
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4e731c]
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.00486640
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 0x483a64
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.00486640
push 0xffffffffffffffff
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0048957c
push 0xffffffffffffffff
push dword [ebx + 0x4ed198]
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004b80cd
add esp, 0x2c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x483a60
add ebx, 4
cmp ebx, 4
jb 0x483a0f
jmp 0x483a64
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.0048db8d
add ebp, 0x3a0
leave
ret