joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e6b0
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x120]
push esi
mov esi, dword [esp + 0x120]
test esi, esi
push edi
mov edi, dword [esp + 0x12c]
mov dword [esp + 0xc], 0
je 0x45e86d
test ebx, ebx
je 0x45e86d
test edi, edi
je 0x45e86d
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push esi
push 0x80000002
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45e809
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45e7cb
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x45e78d
lea ecx, [esp + 0x18]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45e780
test dl, dl
je 0x45e77c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45e780
add eax, 2
add ecx, 2
test dl, dl
jne 0x45e760
xor eax, eax
jmp 0x45e785
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45e850
mov edx, dword [esp + 0xc]
push 0x104
push edi
push 1
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0048de34
add esp, 0x114
ret
mov eax, dword [esp + 0xc]
push 0x104
push edi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0048de34
add esp, 0x114
ret
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45e845
mov ecx, dword [esp + 0xc]
push 0x104
push edi
push 1
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0048de34
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0048de34
add esp, 0x114
ret

Function at 0x45f5c0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x45f5e0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x45f5f8
push 0x80004005
call fcn.00405d80
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x45f605
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x45ffb0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x46001e
test ecx, ecx
je 0x460010
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x46002c
test ecx, ecx
je 0x4600d1
push ecx
jmp 0x4600cb
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x46009e
jmp 0x460060
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0045ffb0
mov edi, eax
test edi, edi
jne 0x4600ed
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x460060
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4600b5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4600d1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0048de34
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4600fc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4600d3
Function at 0x462180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.0041d1e0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push edi
push esi
mov dword [esp + 0x20], 0
call ebx
mov ebp, eax
test ebp, ebp
je 0x46225f
push pe_nt_image_headers32
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x4621d4
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x462238
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x462238
push ebx
push edi
call fcn.0045e4c0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov esi, eax
test esi, esi
jne 0x462224
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x462246
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x462246
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x462255
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4622a0
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x210
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [0x4dfe8c]
push ebx
push esi
push 4
push 0x4c0170
push eax
mov esi, ecx
xor ebx, ebx
push ebx
mov ecx, 0x4dfe78
call fcn.0041bc70
test eax, eax
jne 0x4622ef
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0048de34
add esp, 0x210
ret
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 8]
push edx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x462381
push 0x104
lea eax, [esp + 0x114]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x46237a
push 0x104
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x46237a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x110]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x462370
cmp al, bl
je 0x46236c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x462370
add ecx, 2
add edx, 2
cmp al, bl
jne 0x462350
xor eax, eax
jmp 0x462375
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x214]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0048de34
add esp, 0x210
ret
Function at 0x4639c0
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4bac38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.0044ae60
lea ecx, [esp + 0xc]
push ecx
push 0x45f270
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x463a44
mov edx, dword [esp + 0x14]
push edx
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x463a69
mov eax, dword [esp + 0x44]
push eax
call fcn.0048d433
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048de34
add esp, 0x30
ret
Function at 0x4644f0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4bad72
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x130], eax
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push eax
push 2
mov dword [esp + 0x14c], eax
mov dword [esp + 0x10], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4645a4
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x46459d
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.004a0500
add esp, 8
test eax, eax
jne 0x46458e
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0043f840
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x464570
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0048de34
add esp, 0x140
ret
Function at 0x464890
Capabilities:
Access peb ldr_data
Get kernel32 base address
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4baeb1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x20], 1
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
call fcn.00463c60
push 0x1e8
lea ebp, [esi + 0x154]
push ebx
mov dword [esi + method.WTLEx::CWtlTrayImp_class_CMainDlg__129_.virtual_0], vtable.WTLEx::CWtlTrayImp_class_CMainDlg__129_.0
mov dword [esi + 0x33c], ebx
push ebp
mov dword [esi + 0x340], ebx
call fcn.0048ea70
add esp, 0xc
mov dword [ebp], 0x1e8
mov dword [esi + 0x15c], 0x81
mov dword [esi + 0x160], ebx
lea ebp, [esi + 0x344]
mov ecx, ebp
mov byte [esp + 0x20], 3
call fcn.00464610
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esi + 0x370]
mov byte [esp + 0x24], 4
mov dword [esi], vtable.CMainDlg.3.0
mov dword [esi + 0x20], vtable.CMainDlg.2.0
mov dword [edi], vtable.CMainDlg.1.0
mov dword [esi + method.CMainDlg.virtual_0], vtable.CMainDlg.0
mov dword [ebp], 0x4c2f34
mov dword [esi + 0x36c], ebx
call fcn.00402c30
lea ecx, [esi + 0x380]
mov byte [esp + 0x20], 5
call fcn.00404f80
lea edi, [esi + 0x3bc]
mov dword [esi + 0x3b4], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x3d4], ebx
mov dword [esi + 0x3d8], ebx
mov dword [esi + 0x3dc], ebx
mov dword [esi + 0x404], ebx
mov ebp, 0xf
mov dword [esi + 0x420], ebp
mov dword [esi + 0x41c], ebx
mov byte [esi + 0x40c], bl
push 0x45e980
push 0x45f0d0
push 5
push 4
lea ecx, [esi + 0x424]
push ecx
mov byte [esp + 0x34], 9
call fcn.0048f2dd
mov dword [esi + 0x450], ebp
mov dword [esi + 0x44c], ebx
mov byte [esi + 0x43c], bl
mov dword [esi + 0x454], ebx
mov dword [esi + 0x458], ebx
mov dword [esi + 0x45c], ebx
mov dword [esi + 0x460], ebx
mov dword [esi + 0x47c], ebp
mov dword [esi + 0x478], ebx
mov byte [esi + 0x468], bl
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov byte [esp + 0x24], 0xc
mov dword [esi + 0x3cc], edx
mov dword [esi + 0x3b8], eax
call fcn.004643b0
lea edx, [esi + 0x3e0]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.xunyoubar.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x400], eax
jne 0x464a86
push 0x10
push 0x4bfaf0
push 0x4c2f08
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x4e01dc]
mov dword [esi + 0xe0], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x464aa2
push eax
call fcn.0048d433
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x464cb0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x464cba
lea esi, [ecx - 0x24]
jmp 0x464cbc
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret
Function at 0x466560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bafa8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
je 0x466590
lea esi, [edi - 0x24]
jmp 0x466592
xor esi, esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 2
push 2
push eax
push ecx
push 0
push 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push 1
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 0
mov ecx, edi
call fcn.00465dc0
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0x10
Function at 0x4688d0
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
mov esi, dword [esp + 0x1ac]
lea eax, [esp + 0xc]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcA]
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 8
mov dword [esp + 0xc], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [esp + 0x1a4]
push 0x4c3028
push edx
push 0
mov ecx, 0x4dfde4
call fcn.0045efc0
call fcn.0041d1e0
push str.xunyoubar.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x468974
push 0x10
push 0x4bfaf0
push 0x4c2f08
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x1b0]
push eax
push esi
call fcn.00467b80
add esp, 8
mov ecx, 0x4dfde4
mov esi, eax
call fcn.004624f0
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x19c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0048de34
add esp, 0x19c
ret 0x10

Function at 0x468c10
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1128
call fcn.00490820
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x1124], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0x1000
lea ecx, [esp + 0x18]
push ecx
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x468d27
xor ebx, ebx
xor esi, esi
test dword [esp + 0xc], 0xfffffffc
jbe 0x468d27
jmp 0x468c70
mov eax, dword [esp + esi*4 + 0x10]
push 0x104
lea edx, [esp + 0x1030]
push edx
push eax
push edi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x468d15
lea eax, [esp + 0x102c]
mov dword [esp + 0x1028], 0xf
mov dword [esp + 0x1024], ebx
mov byte [esp + 0x1014], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x468cb3
sub eax, edx
push eax
lea ecx, [esp + 0x1030]
push ecx
lea ecx, [esp + 0x1018]
call fcn.00401e90
lea edx, [esp + 0x1010]
push edx
call fcn.0043d900
add esp, 4
push 0xa
push ebx
push str.HOOKDISKID
lea ecx, [esp + 0x101c]
call fcn.00437450
test eax, eax
jge 0x468d4b
cmp dword [esp + 0x1028], 0x10
jb 0x468d15
mov eax, dword [esp + 0x1014]
push eax
call fcn.0048d433
add esp, 4
mov ecx, dword [esp + 0xc]
add esi, 1
shr ecx, 2
cmp esi, ecx
jb 0x468c70
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1124]
xor ecx, esp
call fcn.0048de34
add esp, 0x1128
ret
cmp dword [esp + 0x1028], 0x10
jb 0x468d65
mov edx, dword [esp + 0x1014]
push edx
call fcn.0048d433
add esp, 4
mov ecx, dword [esp + 0x1130]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0048de34
add esp, 0x1128
ret
Function at 0x468d80
Capabilities:
Enumerate services

Disassembly:
push 0xffffffffffffffff
push 0x4bb2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ebx, ebx
push 0xf003f
push ebx
mov esi, eax
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x10000
push esi
push 3
push 0x30
push eax
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jbe 0x468eba
mov dword [esp + 0x14], esi
jmp 0x468e03
xor ebx, ebx
push 7
push str.SbieSvc
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
call fcn.00401e90
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x468e30
mov edi, dword [esp + 0x3c]
sub eax, esi
mov esi, eax
cmp edi, esi
mov ecx, edi
jb 0x468e49
mov ecx, esi
mov ebp, dword [esp + 0x40]
cmp ebp, 0x10
mov eax, dword [esp + 0x2c]
jae 0x468e5a
lea eax, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00419fd0
add esp, 0xc
cmp eax, ebx
jne 0x468e7b
cmp edi, esi
jae 0x468e72
or eax, 0xffffffff
jmp 0x468e79
xor eax, eax
cmp edi, esi
setne al
cmp eax, ebx
sete bl
cmp ebp, 0x10
mov dword [esp + 0x4c], 0xffffffff
jb 0x468e98
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0048d433
add esp, 4
test bl, bl
jne 0x468ed7
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], 0x24
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
jb 0x468e01
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x469bf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, eax
shr eax, 8
shr ecx, 0x18
mov byte [esp + 0xd], al
mov al, byte [esi + 0x14]
mov byte [esp + 0xf], cl
shr edx, 0x10
mov byte [esp + 0xc], al
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0xe], dl
mov edx, eax
mov byte [esp + 0xb], cl
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [esp + 0xa], dl
mov dl, al
shr eax, 3
mov byte [esp + 9], cl
and eax, 0x3f
mov ecx, 0x40
sub ecx, eax
cmp ecx, 9
mov edi, dword [esp + 0x18]
mov byte [esp + 8], dl
jae 0x469c64
add ecx, 0x40
add ecx, 0xfffffff8
push ecx
push 0x4de070
push esi
call fcn.00469b40
push 8
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00469b40
add esp, 0x18
test edi, edi
je 0x469cfc
movzx ecx, byte [esi + 3]
mov byte [edi + 3], cl
movzx edx, byte [esi + 2]
mov byte [edi + 2], dl
mov eax, dword [esi]
shr eax, 8
mov byte [edi + 1], al
movzx ecx, byte [esi]
mov byte [edi], cl
movzx edx, byte [esi + 7]
mov byte [edi + 7], dl
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
mov ecx, dword [esi + 4]
shr ecx, 8
mov byte [edi + 5], cl
movzx edx, byte [esi + 4]
mov byte [edi + 4], dl
movzx eax, byte [esi + 0xb]
mov byte [edi + 0xb], al
movzx ecx, byte [esi + 0xa]
mov byte [edi + 0xa], cl
mov edx, dword [esi + 8]
shr edx, 8
mov byte [edi + 9], dl
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
movzx ecx, byte [esi + 0xf]
mov byte [edi + 0xf], cl
movzx edx, byte [esi + 0xe]
mov byte [edi + 0xe], dl
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [edi + 0xd], al
movzx ecx, byte [esi + 0xc]
mov byte [edi + 0xc], cl
push 0x58
push 0
push esi
call fcn.0048ea70
mov ecx, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.0048de34
add esp, 0xc
ret

Function at 0x469d20
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.00469b40
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00469bf0
mov ecx, dword [esp + 0x70]
add esp, 0x14
pop esi
xor ecx, esp
call fcn.0048de34
add esp, 0x5c
ret

Function at 0x469da0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8