joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4add25
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x543f94]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x4add4b
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
jmp 0x4add4f
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], esi
jne 0x4add63
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x4add90
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [esp + 0x10], eax
je 0x4add90
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4add90
push esi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x20], 1
push ecx
mov eax, esp
push dword [esp + 0x14]
mov dword [edi + 0x378], esi
mov ebx, edi
mov dword [eax], esi
call fcn.004ae112
mov edx, eax
cmp edx, esi
mov dword [esp + 0x18], edx
jne 0x4addc3
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4adeb0
call fcn.0042429b
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
lea ebx, [edi + 4]
push ebx
call fcn.0042414e
cmp dword [edi + 0x36c], esi
je 0x4ade53
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
je 0x4ade33
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
je 0x4ade53
push esi
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.004ae26a
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx]
mov dword [edi + 0x378], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x20], esi
je 0x4ade9c
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x10], esi
je 0x4ade9c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x4ade9c
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x24]
call fcn.0042429b
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4115
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [eax + 8]
push edi
xor edi, edi
inc edi
cmp ecx, edi
jne 0x4b4172
mov eax, dword [eax + 0xc]
cmp eax, 0xea61
jne 0x4b414e
push 4
push 0x50edd8
mov eax, esi
call fcn.004b4593
mov eax, esi
call fcn.004b4a6a
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
pop edi
ret
cmp eax, 0x7d2
jne 0x4b4158
push edi
jmp 0x4b412c
cmp eax, 0x7d3
jne 0x4b4163
push 5
jmp 0x4b412c
cmp eax, 0x7d4
jne 0x4b4172
push esi
call fcn.004b4d98
jmp 0x4b414a
and dword [esi + 0x38c], 0
xor eax, eax
pop edi
ret

Function at 0x4b5b48
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push str.kismain.exe
lea eax, [ebp - 4]
call fcn.00456a72
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0xc]
call fcn.00496e16
pop ecx
lea ecx, [ebp - 8]
call fcn.004297a0
mov eax, dword [ebp - 0xc]
pop ecx
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
xor esi, esi
inc esi
push esi
push ebx
push str._defendmon:xpshield
push dword [ebp - 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
call fcn.004b5bd3
push ebx
push ebx
push ebx
mov dword [edi + 0x28], esi
mov dword [edi + 0x378], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
pop esi
pop ebx
leave
ret

Function at 0x4b62d4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 8]
push esi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
push edi
lea edi, [ebx + 0x7c]
lea esi, [esp + 0x18]
mov dword [esp + 0x10], eax
call fcn.0043fc3f
jmp 0x4b6358
lea esi, [esp + 0x18]
call fcn.0043c64b
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
call dword [eax + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
call fcn.0043c64b
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push edx
call dword [eax + 0x1c]
mov eax, dword [esp + 0x44]
lea edi, [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.004b6f5f
lea esi, [esp + 0x28]
lea edi, [ebx + 0x7c]
call fcn.0043c61a
mov edi, eax
lea esi, [esp + 0x18]
call fcn.0047b3e3
test al, al
jne 0x4b6301
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
je 0x4b6391
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x4b6391
cmp dword [ebp + 8], 0
je 0x4b6391
mov dword [ebx + 0x10], eax
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bafe2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5438cc]
push esi
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
push 0x50edd8
lea eax, [ebp - 4]
push eax
push str.bspt
call fcn.004bae7a
lea esi, [ebp - 4]
call fcn.00407395
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
xor esi, esi
cmp dword [ebp - 4], esi
jne 0x4bb028
xor eax, eax
jmp 0x4bb032
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bb059
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
mov eax, esi
pop esi
leave
ret 4
push esi
lea esi, [ebp - 4]
call fcn.004015aa
mov ecx, dword [ebp + 8]
push eax
call dword [0x4d95ec]
xor esi, esi
inc esi
jmp 0x4bb047

Function at 0x4bb1b7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5438cc]
push ebx
push esi
mov ecx, 0x5438cc
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040127c
push 3
pop ecx
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0042a06a
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
mov eax, dword [ebp - 0xc]
setne bl
add eax, 0xfffffff0
call fcn.00401239
test bl, bl
je 0x4bb21d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
xor eax, eax
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x25c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4bb20c
test byte [ebp - 0x25c], 0x10
je 0x4bb24c
xor esi, esi
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
mov eax, esi
jmp 0x4bb219
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
inc esi
jmp 0x4bb23d
Function at 0x4bb4a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
mov edi, eax
call fcn.0045cea5
xor esi, esi
cmp dword [edi + 8], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
je 0x4bb503
lea esi, [ebp - 0x18]
call fcn.0045d04d
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push edi
push ecx
push edi
mov eax, esi
call fcn.004bbd14
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
lea edi, [ebp - 0x20]
lea esi, [ebp - 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], eax
call fcn.0047b3e3
test al, al
jne 0x4bb515
xor esi, esi
lea eax, [ebp - 0x18]
call fcn.0045cda5
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
test esi, esi
jne 0x4bb522
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x4bb52d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x20], 8
jb 0x4bb538
mov edi, dword [ebx + 0xc]
jmp 0x4bb53b
lea edi, [ebx + 0xc]
mov esi, str.SYSTEM_DIR
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
push eax
push esi
push edi
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4bb5d4
and word [ebp - 0x228], ax
push 0x206
push eax
lea eax, [ebp - 0x226]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x103
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [ebp - 8]
cmp ebx, dword [eax + 4]
jne 0x4bb594
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x20], 8
jb 0x4bb59f
mov ebx, dword [ebx + 0xc]
jmp 0x4bb5a2
add ebx, 0xc
push ebx
lea eax, [ebp - 0xc]
call fcn.004014ce
lea eax, [ebp - 0x228]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.00407090
mov esi, dword [ebp - 0xc]
push esi
call fcn.004bb1b7
test eax, eax
pop ecx
lea eax, [esi - 0x10]
jne 0x4bb618
call fcn.00401239
jmp 0x4bb5fb
mov eax, dword [ebp - 8]
cmp ebx, dword [eax + 4]
jne 0x4bb5e2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x20], 8
jb 0x4bb5ed
mov ebx, dword [ebx + 0xc]
jmp 0x4bb5f0
add ebx, 0xc
push ebx
call fcn.004bb1b7
test eax, eax
pop ecx
jne 0x4bb61d
lea esi, [ebp - 8]
call fcn.00436898
lea edi, [ebp - 0x20]
call fcn.0047b3e3
test al, al
jne 0x4bb512
jmp 0x4bb501
call fcn.00401239
xor esi, esi
inc esi
jmp 0x4bb503
Function at 0x4bc373
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x206]
push esi
push eax
mov word [ebp - 0x208], si
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebp + 8], esi
je 0x4bc41c
push edi
push 1
push 0x23
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov edi, dword [sym.imp.MSVCR80.dll_wcscat_s]
mov esi, 0x104
jne 0x4bc3e6
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4bc41b
push str.All_UsersApplication_Data
lea eax, [ebp - 0x208]
push esi
push eax
call edi
add esp, 0xc
push str.KingsoftKIS_
lea eax, [ebp - 0x208]
push esi
push eax
call edi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 0x10
cmp eax, esi
jae 0x4bc41b
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
pop ecx
pop edi
pop esi
leave
ret 4

Function at 0x4bc6d8
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 4], 0x288
push dword [ebp - 4]
call fcn.004ce6ea
mov edi, eax
test edi, edi
pop ecx
je 0x4bc725
push dword [ebp - 4]
push 0
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, eax
cmp esi, 0x6f
jne 0x4bc72b
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
xor edi, edi
inc ebx
cmp ebx, 2
jl 0x4bc6ee
test esi, esi
jne 0x4bc773
test edi, edi
mov esi, edi
je 0x4bc77e
push 6
lea eax, [esi + 0x10c]
push str.vmware
push eax
call dword [sym.imp.MSVCR80.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4bc758
mov esi, dword [esi]
test esi, esi
jne 0x4bc735
jmp 0x4bc773
push 8
add esi, 0x194
push esi
push dword [ebp + 8]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov dword [ebp - 8], 1
test edi, edi
je 0x4bc77e
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4bcbea
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5438cc]
push ebx
push esi
push edi
mov ecx, 0x5438cc
call dword [eax + 0xc]
xor edi, edi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x208
push esi
lea eax, [ebp - 0x422]
push edi
push eax
mov word [ebp - 0x424], di
call sub.MSVCR80.dll_memset
push esi
lea eax, [ebp - 0x216]
push edi
push eax
mov word [ebp - 0x218], di
call sub.MSVCR80.dll_memset
add esp, 0x18
mov eax, 0x104
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, dword [ebp - 4]
mov eax, ebx
call fcn.00401239
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x4bcc86
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5438cc]
push ebx
push esi
xor ebx, ebx
push edi
mov ecx, 0x5438cc
mov dword [ebp - 8], ebx
call dword [eax + 0xc]
push 0x2001f
mov esi, eax
push str.CLSID
add esi, 0x10
push SysReAllocStringLen
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
call fcn.004017a0
test eax, eax
jne 0x4bcd52
push str.9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0
lea ecx, [ebp - 8]
call fcn.00434ebe
test eax, eax
jne 0x4bcd52
lea eax, [ebp - 0xc]
call fcn.0047824c
lea edi, [ebp - 4]
call fcn.0042a0a0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401239
call fcn.0047867e
cmp eax, 7
je 0x4bcd03
cmp eax, 8
jne 0x4bcd24
push str.Application_Data
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00429fa6
cmp eax, 0xffffffff
jne 0x4bcd24
push str.Application_Data_
mov eax, esi
push eax
call fcn.00407371
push str.KingsoftKIShg.dat
lea eax, [ebp - 4]
push eax
call fcn.00407371
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
jne 0x4bcd4f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4bcd52
xor ebx, ebx
inc ebx
lea eax, [esi - 0x10]
call fcn.00401239
cmp dword [ebp - 8], 0
je 0x4bcd69
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4bcf98
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push 0x58
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call sub.MSVCR80.dll_memset
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.004bcfed
push dword [ebp + 8]
mov eax, esi
call fcn.004bd083
add esp, 0x14
pop esi
leave
ret
Function at 0x4beaeb
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], 8
call fcn.004be9cc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov esi, 0x525654
push esi
push str.SOFTWAREKingsoftAntivirusKDHacker
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4beb9d
push 0x206
lea eax, [ebp - 0x21e]
push edi
push eax
mov word [ebp - 0x220], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kdhwlog.ini
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
push 8
lea eax, [ebp - 8]
push eax
push esi
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jb 0x4bebb8
ja 0x4bebaf
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jbe 0x4bebb8
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.MSVCR80.dll__time64]
cmp dword [ebp - 4], edx
pop ecx
jb 0x4bebd2
ja 0x4bebcc
cmp dword [ebp - 8], eax
jbe 0x4bebd2
xor eax, eax
xor edx, edx
jmp 0x4bebd8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4bed9e
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8040
call fcn.004d6030
push ebx
push esi
push edi
xor esi, esi
push 0x7fff
lea eax, [ebp - 0x803b]
push esi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
mov byte [ebp - 0x803c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
call fcn.004beaeb
push str.KDHackerWall
push esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x4bedfa
mov eax, 0x80004005
jmp 0x4bef13
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0x8000
lea ecx, [ebp - 0x803c]
push ecx
push esi
push 9
push eax
jmp 0x4beefa
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x803c]
lea edi, [ebp - 0x803c]
mov dword [ebp - 0x10], edi
mov ebx, edi
jb 0x4beee0
cmp dword [ebx], esi
je 0x4beee0
mov eax, dword [ebx + 0xc]
xor ecx, ecx
cmp ecx, dword [ebp - 0x20]
jb 0x4beee0
ja 0x4bee52
cmp eax, dword [ebp - 0x24]
jbe 0x4beee0
cmp dword [ebx + 0x14], 0x298b
jne 0x4beec2
lea eax, [edi + 0x38]
push str.KDHackerWall
push eax
call dword [sym.imp.MSVCR80.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jne 0x4beec2
mov esi, dword [ebx + 0x24]
and dword [ebp - 0xc], eax
add esi, edi
and dword [ebp - 0x30], eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp + eax*4 - 0x30], esi
call dword [sym.imp.MSVCR80.dll_wcslen]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
pop ecx
lea esi, [esi + eax*2 + 2]
jb 0x4bee80
jne 0x4beed0
push dword [ebp - 0x2c]
mov eax, dword [ebx + 0xc]
push dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
and dword [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx]
push edx
call dword [eax]
test eax, eax
je 0x4bef08
mov edi, dword [ebp - 0x10]
xor esi, esi
mov eax, dword [ebx]
sub dword [ebp - 8], eax
add edi, dword [ebx]
mov dword [ebp - 0x10], edi
mov ebx, edi
jmp 0x4beed5
mov edi, dword [ebp - 0x10]
xor esi, esi
mov eax, dword [ebp - 8]
cmp eax, dword [ebx]
jae 0x4bee31
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push 0x8000
lea eax, [ebp - 0x803c]
push eax
push esi
push 9
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
jne 0x4bee17
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4c3837
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push str.DISPLAY
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x3b
mov dword [ebp - 4], eax
call edi
push 0x3c
mov dword [ebp - 8], eax
call edi
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4c3885
mov ecx, dword [ebp - 8]
xor edi, edi
jmp 0x4c38a9
mov edi, dword [esi]
test edi, edi
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
jge 0x4c3896
xor edi, edi
test ebx, ebx
jge 0x4c389c
xor ebx, ebx
cmp ecx, dword [ebp - 8]
jle 0x4c38a4
mov ecx, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jle 0x4c38ac
mov eax, dword [ebp - 0xc]
sub eax, ebx
sub ecx, edi
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
call esi
push 0x40cc0020
push ebx
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x14]
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, eax
call esi
push dword [ebp - 4]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4c3a69
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov edi, eax
push str.setupapi.dll
call fcn.0043144f
mov eax, dword [edi]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x4c3a87
xor eax, eax
jmp 0x4c3a8f
push 0x526564
push eax
call esi
mov dword [edi + 8], eax
mov eax, dword [edi]
test eax, eax
je 0x4c3aa0
push str.SetupDiEnumDeviceInterfaces
push eax
call esi
mov dword [edi + 0xc], eax
mov eax, dword [edi]
test eax, eax
je 0x4c3ab1
push str.SetupDiGetDeviceInterfaceDetailW
push eax
call esi
mov dword [edi + 0x10], eax
mov eax, dword [edi]
test eax, eax
je 0x4c3ac2
push 0x5265bc
push eax
call esi
mov dword [edi + 0x14], eax
mov eax, dword [edi]
test eax, eax
je 0x4c3ad3
push 0x5265dc
push eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x4c3ae4
push str.SetupDiSetClassInstallParamsW
push eax
call esi
mov dword [edi + 0x1c], eax
mov eax, dword [edi]
test eax, eax
je 0x4c3af5
push str.SetupDiCallClassInstaller
push eax
call esi
mov dword [edi + 0x20], eax
mov eax, dword [edi]
test eax, eax
je 0x4c3b06
push 0x52663c
push eax
call esi
mov dword [edi + 0x24], eax
mov eax, dword [edi]
test eax, eax
je 0x4c3b17
push 0x526654
push eax
call esi
mov dword [edi + 0x28], eax
pop edi
xor eax, eax
pop esi
ret