joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495a60
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x587648
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x164], 0
lea eax, [esi + 0x84]
je 0x495aa7
lea eax, [esi + 0x150]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.0040a080
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._r_nXunYouWebDlg::OpenURL:
mov dword [esp + 0x38], 0
call edi
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x495aee
lea eax, [esp + 0x10]
push eax
call edi
mov eax, dword [esi + 4]
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0x24], 0x10
mov ecx, dword [esp + 0x10]
jae 0x495b0f
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00494560
add esp, 8
mov dword [esi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0xdc], 0
mov dword [esi + 0xd8], eax
mov ecx, esi
jne 0x495b43
push 0
call fcn.004951c0
push 0
push 5
jmp 0x495b4e
push 5
call fcn.004951c0
push 0
push 0
mov ecx, esi
call fcn.00495130
cmp dword [esp + 0x24], 0x10
mov esi, dword [esi + 0xdc]
jb 0x495b6f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0055215c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00552d63
add esp, 0x2c
ret

Function at 0x497700
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4977a4
mov ecx, dword [esi + 0x94]
mov edx, dword [esp + 0x24]
cmp edx, ecx
jle 0x497795
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x98]
push 2
push ecx
mov dword [esp + 0x14], 0x1c
mov dword [esp + 0x18], 7
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov edx, dword [esi + 0x8c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x1c
ret 4
mov eax, dword [esi + 0x8c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x1c
ret 4
Function at 0x498950
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5876a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CDialogUIViewBase_class_CXYListViewCtrl__class_WTL::CMemDlgTemplate__class_ATL::CDialogImpl_class_CXYListViewCtrl__class_ATL::CWindow__.0
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
call fcn.004a1350
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x49c540
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
test ebx, ebx
push esi
mov esi, ecx
jl 0x49c607
mov eax, dword [esi + 0x38]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1200
push eax
call ebp
cmp ebx, eax
jg 0x49c606
mov ecx, dword [esi + 0x70]
test ecx, ecx
push edi
lea edi, [esi + 0x6c]
jne 0x49c580
xor eax, eax
jmp 0x49c588
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
ja 0x49c605
mov ecx, dword [esi + 0x38]
push 0
push ebx
push 0x1202
push ecx
call ebp
cmp eax, 1
jne 0x49c605
push ebx
mov ecx, edi
call fcn.0049acc0
mov esi, dword [eax]
test esi, esi
je 0x49c605
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
jne 0x49c605
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0049b550
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00498d70
mov ecx, eax
call fcn.00498340
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00498da0
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x49d970
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x587972
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0x5ceca6
push 0xd8
call fcn.00555c18
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x49d9c6
mov ecx, eax
call fcn.0049d770
mov esi, eax
jmp 0x49d9c8
xor esi, esi
test esi, esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x24], esi
jne 0x49d9df
xor al, al
jmp 0x49db0a
mov ebp, dword [edi + 0xb8]
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xc4]
mov edx, dword [edi + 0xc0]
mov ebx, dword [edi + 0xbc]
mov dword [esp + 0x1c], ebp
mov ebp, dword [edi + 0xb4]
mov dword [esp + 0x18], ebp
mov ebp, dword [edi + 0x88]
mov dword [esp + 0x14], ebp
mov ebp, dword [edi + 0x34]
mov dword [esi + 0x34], ebp
mov ebp, dword [esp + 0x14]
mov dword [esi + 0x88], ebp
mov ebp, dword [esp + 0x18]
mov dword [esi + 0xb4], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], 5
mov eax, dword [edi + 4]
push 0
push eax
mov ecx, esi
call fcn.004990d0
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x49dacb
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
mov ecx, eax
push ecx
mov dword [esi + 0x38], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 4
cmp eax, ecx
je 0x49dabf
mov edx, dword [esi + 0x38]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x38]
push 0x17
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x38]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [edi + 0x6c]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x49dadb
call fcn.005532de
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], edi
lea edi, [edi + edx*4]
cmp edi, dword [esi + 8]
ja 0x49daf0
cmp edi, dword [esi + 4]
jae 0x49daf5
call fcn.005532de
lea eax, [esp + 0x24]
push eax
push edi
push esi
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0049ca60
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4a1130
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x418
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push ebx
push edi
lea ecx, [esp + 8]
push ecx
xor ebx, ebx
push eax
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 edi, eax
cmp edi, ebx
je 0x4a11e7
push 0x104
lea eax, [esp + 0x218]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4a11e0
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4a11e0
lea edx, [esp + 0xc]
lea ecx, [esp + 0x214]
lea esp, [esp]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4a11d6
cmp ax, bx
je 0x4a11d2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4a11d6
add ecx, 4
add edx, 4
cmp ax, bx
jne 0x4a11b0
xor eax, eax
jmp 0x4a11db
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x41c]
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00552d63
add esp, 0x418
ret

Function at 0x4a1230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 4], eax
test ebx, ebx
push esi
push edi
je 0x4a1285
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x4a1285
lea eax, [edi + edi]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x4a1285
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4a1287
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret

Function at 0x4a13d0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
cmp edi, ebx
je 0x4a13fa
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [esp + 0x10]
push ebp
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call ebp
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call ebp
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, ebx
mov esi, eax
pop ebp
je 0x4a1444
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4a2a10
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_RegSetValueExW]
ret 8
Function at 0x4a2a30
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x4a2a48
push 0x80004005
call fcn.00401200
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4a2a55
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_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x4a3430
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x22c]
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_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x4a349e
test ecx, ecx
je 0x4a3490
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 0x4a34ac
test ecx, ecx
je 0x4a3551
push ecx
jmp 0x4a354b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
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 0x4a351e
jmp 0x4a34e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.004a3430
mov edi, eax
test edi, edi
jne 0x4a356d
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 0x4a34e0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a3535
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_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a3551
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00552d63
add esp, 0x21c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a357c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4a3553
Function at 0x4abfb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x5882e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x5cc888]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x4ac03d
call fcn.004a27f0
mov esi, eax
jmp 0x4ac125
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4ac059
call fcn.004a27f0
jmp 0x4ac11c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x4ac072
call fcn.004a27f0
jmp 0x4ac11c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x4ac0a8
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4ac096
lea ecx, [ebp]
call fcn.004a3320
lea ecx, [ebp - 0x1c]
call fcn.004547a0
mov eax, 0x8007000e
jmp 0x4ac142
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004a42b0
mov dword [ebp - 4], 1
jmp 0x4ac0d1
mov ebx, dword [ebp]
test ebx, ebx
jne 0x4ac0df
mov esi, 0x8007000e
jmp 0x4ac11e
call dword [0x5cc888]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4ac100
call fcn.004a27f0
jmp 0x4ac11c
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004a57b0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4ac140
lea ecx, [ebp]
call fcn.004a3320
jmp 0x4ac140
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00552d63
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ad740
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x588508
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x5cca0c]
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.0040a160
lea ecx, [esp + 0xc]
push ecx
push 0x4a3f10
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x4ad7c4
mov edx, dword [esp + 0x14]
push edx
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x4ad7e9
mov eax, dword [esp + 0x44]
push eax
call fcn.0055215c
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.00552d63
add esp, 0x30
ret

Function at 0x4ad810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x588538
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
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.0040a160
lea ecx, [esp + 0xc]
push ecx
push 0x4a3f10
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x4ad897
mov edx, dword [esp + 0x14]
push edx
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x4ad8bc
mov eax, dword [esp + 0x44]
push eax
call fcn.0055215c
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.00552d63
add esp, 0x30
ret
Function at 0x4af220
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x5887e9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x238]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
push edi
push 2
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x10], esi
je 0x4af333
lea ecx, [ebp]
push ecx
push esi
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4af32c
jmp 0x4af2b2
xor edi, edi
lea edx, [ebp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x4af300
lea edi, [eax + eax]
mov eax, edi
call fcn.00553150
mov esi, esp
test esi, esi
je 0x4af2fd
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp + 0x24]
push eax
push 0
push 0x3a8
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp - 0x10]
jmp 0x4af302
mov esi, dword [ebp - 0x10]
xor eax, eax
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call fcn.005554bb
add esp, 8
test eax, eax
jne 0x4af31e
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.00477930
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4af2b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.00552d63
add ebp, 0x230
mov esp, ebp
pop ebp
ret
Function at 0x4b12d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x2ac]
mov eax, 0x1234
call fcn.00554a50
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp + 0x2a8], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp + 0x78]
push eax
push 0x1000
lea ecx, [ebp - 0xf88]
push ecx
push esi
mov dword [ebp + 0x80], esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4b1433
xor eax, eax
xor ebx, ebx
test dword [ebp + 0x78], 0xfffffffc
mov dword [ebp + 0x7c], eax
jbe 0x4b1433
mov eax, dword [ebp + eax*4 - 0xf88]
push 0x208
lea edx, [ebp + 0xa0]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4b1416
lea ecx, [ebp + 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x4b139e
lea edi, [eax + eax]
mov eax, edi
call fcn.00553150
mov esi, esp
cmp esi, ebx
je 0x4b139e
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
lea edx, [ebp + 0xa0]
push edx
push ebx
push 0x3a8
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4b13a0
xor eax, eax
mov ecx, eax
mov dword [ebp + 0x9c], 0xf
mov dword [ebp + 0x98], ebx
mov byte [ebp + 0x88], bl
lea esi, [ecx + 1]
jmp 0x4b13c0
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x4b13c0
sub ecx, esi
push ecx
push eax
lea ecx, [ebp + 0x84]
call fcn.0040c1c0
lea eax, [ebp + 0x84]
push eax
call fcn.004b1230
add esp, 4
push 0xa
push ebx
push str.HOOKDISKID
lea ecx, [ebp + 0x84]
call fcn.004050c0
test eax, eax
jge 0x4b145f
cmp dword [ebp + 0x9c], 0x10
jb 0x4b1416
mov ecx, dword [ebp + 0x88]
push ecx
call fcn.0055215c
add esp, 4
mov eax, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x78]
mov esi, dword [ebp + 0x80]
add eax, 1
shr edx, 2
cmp eax, edx
mov dword [ebp + 0x7c], eax
jb 0x4b1332
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0xf94]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a8]
xor ecx, ebp
call fcn.00552d63
add ebp, 0x2ac
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x9c], 0x10
jb 0x4b1477
mov eax, dword [ebp + 0x88]
push eax
call fcn.0055215c
add esp, 4
xor eax, eax
jmp 0x4b143f