joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ae8a
Capabilities:
Create process on windows
Get common file path
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push esi
lea eax, [ebp - 0x74]
push edi
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x68], 0x6400000
jb 0x42af5c
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0045d740
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0045d740
add esp, 0x18
lea eax, [ebp - 0x178]
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], si
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x176]
push str.Program_FilesInternet_ExplorerIEXPLORE.EXE
push eax
call fcn.0045d620
mov eax, dword [edi + 0x9c]
pop ecx
pop ecx
cmp dword [eax - 8], esi
jne 0x42af14
push str.http:__www.PPS.tv
jmp 0x42af15
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0045d630
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x178]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42af61
mov eax, dword [ebp - 8]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xa0], eax
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
jmp 0x42af63
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x42afab
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x42aff1
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x42aff1
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xa0], 0
pop edi
pop esi
leave
ret
Function at 0x42db5c
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ca9dc
call fcn.0045d534
sub esp, 0x118
push ebx
push esi
push edi
lea eax, [ebp - 0x124]
push 0x104
push eax
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x124]
push 0x5c
push eax
call fcn.0045d710
push str._accel.ini
push eax
call fcn.0045d620
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
push 0
push str.Count
push str.Total
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x42dccc
mov eax, dword [0x505810]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x68]
and dword [ebp - 4], 0
test eax, eax
je 0x42dbe3
push eax
call fcn.004be44f
pop ecx
lea eax, [ebx + ebx*2]
shl eax, 1
push eax
call fcn.004be426
test eax, eax
pop ecx
mov dword [esi + 0x68], eax
jne 0x42dbfd
xor esi, esi
jmp 0x42dcbe
and dword [ebp - 0x14], 0
test ebx, ebx
jle 0x42dc9d
xor ebx, ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x500774
push eax
call fcn.004b82e3
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push 0
push 0x500770
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x124]
push eax
push 0
push str.combokey
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x124]
push eax
push 0
push 0x500760
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x42dbf6
cmp dword [ebp - 0x18], 0
je 0x42dbf6
test eax, eax
je 0x42dbf6
mov edx, dword [esi + 0x68]
inc dword [ebp - 0x14]
mov word [edx + ebx + 4], cx
mov ecx, dword [esi + 0x68]
mov dl, byte [ebp - 0x18]
mov byte [ecx + ebx], dl
mov ecx, dword [esi + 0x68]
mov word [ecx + ebx + 2], ax
mov eax, dword [ebp - 0x14]
add ebx, 6
cmp eax, dword [ebp - 0x1c]
jl 0x42dc0b
mov ebx, dword [ebp - 0x1c]
push dword [esi + 0x468]
lea edi, [esi + 0x468]
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
push ebx
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_CreateAcceleratorTableA]
push 1
mov dword [edi], eax
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bdec2
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42df6c
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4caa1b
call fcn.0045d534
sub esp, 0x118
mov eax, dword [0x505810]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x124]
push 0x104
push eax
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, esi
je 0x42e03f
push edi
push ebx
push 2
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
lea eax, [ebp - 0x124]
push edi
push ebx
push dword [ebp - 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x500988
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
mov di, word [eax + 0x10]
mov edx, dword [eax + 0x14]
movzx eax, word [eax + 0x14]
shr edx, 0x10
push eax
movzx eax, dx
push eax
movzx eax, di
shr ecx, 0x10
push eax
movzx eax, cx
push eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.004b82e3
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004bdc37
mov dword [ebp - 0x1c], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004bdec2
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42f123
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4cabb4
call fcn.0045d534
sub esp, 0x428
push ebx
lea eax, [ebp - 0x18]
push esi
push eax
xor ebx, ebx
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f2df
lea eax, [ebp - 0x20]
mov esi, 0x104
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.Startup
mov dword [ebp - 0x20], esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x42f2df
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.PPS.lnk
lea ecx, [ebp - 0x14]
call fcn.004bdf30
push dword [ebp - 0x14]
lea eax, [ebp - 0x128]
mov dword [ebp - 4], ebx
push eax
call fcn.0045d630
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
lea eax, [ebp - 0x128]
push eax
je 0x42f1c5
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42f2d3
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x42f2d3
lea eax, [ebp - 0x10]
push eax
push 0x4ddd0c
push 1
push ebx
push 0x4ddd2c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x42f2d3
lea eax, [ebp - 0x22c]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x22c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push str.startup
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x22c]
push 0x5c
push eax
call fcn.00460190
pop ecx
cmp eax, ebx
pop ecx
je 0x42f241
push 0x500988
push eax
call fcn.0045d620
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x22c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [0x505810]
mov dword [ebp + 8], eax
push 0x803d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004bf55b
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push 0x4ddf7c
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jl 0x42f2bf
lea eax, [ebp - 0x434]
push esi
push eax
lea eax, [ebp - 0x128]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x434]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004bdec2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004bdec2
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42fc64
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0042fc40
mov esi, eax
test esi, esi
jne 0x42fce7
mov al, byte [0x50dea8]
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x104
push eax
mov ecx, ebx
call fcn.0042fbee
test eax, eax
je 0x42fcde
lea eax, [ebp - 0x104]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
xor edi, edi
mov ecx, ebx
call fcn.0042fc40
push 0x1f4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x42fce7
inc edi
cmp edi, 0xa
jl 0x42fcc0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x168
push dword [ebp + 8]
push 0x52c
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push 1
pop eax
jmp 0x42fce0

Function at 0x4347a3
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x434832
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x43482b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x120], eax
je 0x43482b
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.00464f70
pop ecx
test eax, eax
pop ecx
je 0x434800
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x4347ca
cmp dword [ebp + 0xc], 0
je 0x43481f
push dword [ebp - 0x120]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xfffffffffffffff7
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x434834
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
leave
ret
Function at 0x436428
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 0x10
movzx eax, al
push eax
xor eax, eax
mov al, byte [ebp + 0x11]
movzx eax, al
push eax
movzx eax, byte [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push str._.2x_.2x_.2x
push eax
call fcn.0045d9d3
add esp, 0x14
lea eax, [ebp - 0x1c]
push dword [ebp + 0x14]
push 0xa
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1c]
push 2
push eax
lea eax, [ebp - 4]
push eax
call fcn.0045ef40
lea eax, [ebp - 0x1a]
push 2
push eax
lea eax, [ebp - 8]
xor bl, bl
push eax
mov byte [ebp - 2], bl
call fcn.0045ef40
lea eax, [ebp - 0x18]
push 2
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 6], bl
call fcn.0045ef40
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 4]
push eax
mov byte [ebp - 0xa], bl
call fcn.00460427
mov bl, al
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 8]
push eax
call fcn.00460427
mov byte [ebp + 0x13], al
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00460427
xor ecx, ecx
add esp, 0x48
mov ch, al
mov cl, byte [ebp + 0x13]
movzx eax, bl
shl ecx, 8
or eax, ecx
pop ebx
leave
ret 0x10
Function at 0x43f100
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.0043c590
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x43f132
mov dword [esp + 0x2c], 0
jmp 0x43f14d
mov ecx, ebp
call fcn.0043c590
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.0043c590
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.0043c5a0
cmp eax, esi
jae 0x43f18d
mov ecx, ebp
call fcn.0043c5a0
mov dword [esp + 0x10], eax
jmp 0x43f191
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.0043c450
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x43f1fd
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x43f1f8
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.0043c730
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x43f1eb
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.0043c950
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x43f1b8
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x43f1a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x442d60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x442d90
push esi
call fcn.00443260
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x442d89
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x442e13
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x442dff
mov eax, dword [esi + 8]
test eax, eax
je 0x442db4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x442dfb
cmp eax, 2
je 0x442dff
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x442da7
cmp eax, 3
je 0x442dda
cmp eax, 1
jne 0x442da7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x442da7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x442da7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00442e40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442e33
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00442e40
add esp, 4
pop esi
ret
Function at 0x45d81b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45d83b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046296d
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x45d85e
test byte [esp + 8], 2
je 0x45d85e
call fcn.004629e0
mov dword [eax], 0xd
call fcn.004629e9
mov dword [eax], 5
jmp 0x45d837
xor eax, eax
ret
Function at 0x472e4a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de770
push 0x45ee5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
jne 0x472e97
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
je 0x472e97
xor eax, eax
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
jmp 0x472eab
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x475bc6
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4cd550
call fcn.0045d534
sub esp, 0x150
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [ebx]
lea ecx, [ebp - 0x15c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x475cb1
test byte [ebp - 0x15c], 0x10
push edi
mov edi, dword [ebp - 0x13c]
je 0x475c09
mov edi, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.004be426
pop ecx
mov dword [esi + 0x5dc], eax
mov ebx, dword [ebx]
push 0
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0049bbd8
and dword [ebp - 4], 0
push edi
push dword [esi + 0x5dc]
lea ecx, [ebp - 0x1c]
call fcn.0049bdbe
lea ecx, [ebp - 0x1c]
call fcn.0049be3f
push 3
push edi
push dword [esi + 0x5dc]
call fcn.0049b362
add esp, 0xc
mov dword [esi + 0x5d8], eax
test eax, eax
jne 0x475c8e
xor ecx, ecx
test edi, edi
jbe 0x475c77
mov eax, dword [esi + 0x5dc]
xor byte [eax + ecx], 0x50
add eax, ecx
inc ecx
cmp ecx, edi
jb 0x475c66
push 3
push edi
push dword [esi + 0x5dc]
call fcn.0049b362
add esp, 0xc
mov dword [esi + 0x5d8], eax
mov eax, dword [esi + 0x5d8]
xor ecx, ecx
test eax, eax
setne cl
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
mov esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.0049bc17
mov eax, esi
pop edi
jmp 0x475cb3
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x479bc7
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [0x510b7c], 1
call fcn.00479d12
test byte [esp + 0x14], 1
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
je 0x479c09
call ebp
push eax
push 0
call ebx
push eax
push 0x479eb7
push 4
call edi
mov dword [esi + 4], eax
test byte [esp + 0x14], 2
je 0x479c24
call ebp
push eax
push 0
call ebx
push eax
push 0x479f19
push 0xc
call edi
mov dword [esi + 8], eax
test byte [esp + 0x14], 4
je 0x479c3f
call ebp
push eax
push 0
call ebx
push eax
push 0x479f7e
push 5
call edi
mov dword [esi + 0xc], eax
test byte [esp + 0x14], 8
je 0x479c5a
call ebp
push eax
push 0
call ebx
push eax
push 0x479fbe
push 0xb
call edi
mov dword [esi + 0x10], eax
test byte [esp + 0x14], 0x10
je 0x479c75
call ebp
push eax
push 0
call ebx
push eax
push 0x479fed
push 3
call edi
mov dword [esi + 0x14], eax
test byte [esp + 0x14], 0x20
je 0x479c90
call ebp
push eax
push 0
call ebx
push eax
push 0x47a075
push 2
call edi
mov dword [esi + 0x18], eax
test byte [esp + 0x14], 0x40
je 0x479cab
call ebp
push eax
push 0
call ebx
push eax
push 0x47a0aa
push 7
call edi
mov dword [esi + 0x1c], eax
test byte [esp + 0x14], 0x80
je 0x479cc6
call ebp
push eax
push 0
call ebx
push eax
push 0x47a0df
push 0xffffffffffffffff
call edi
mov dword [esi + 0x20], eax
test byte [esp + 0x15], 1
je 0x479ce1
call ebp
push eax
push 0
call ebx
push eax
push 0x47a12b
push 0xa
call edi
mov dword [esi + 0x24], eax
test byte [esp + 0x15], 2
je 0x479cfc
call ebp
push eax
push 0
call ebx
push eax
push 0x47a157
push 6
call edi
mov dword [esi + 0x28], eax
push dword [esp + 0x1c]
lea ecx, [esi + 0x2c]
call fcn.00471eb4
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x47ac01
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cd8a8
call fcn.0045d534
push ecx
push esi
mov esi, ecx
push 0x3e8
mov dword [ebp - 0x10], esi
call fcn.00495505
and dword [ebp - 4], 0
push str.Pictures
lea ecx, [esi + 8]
mov dword [esi], vtable.CResPicture.0
call fcn.00471eb4
push str.Picture
lea ecx, [esi + 0xc]
call fcn.00471eb4
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x30], 0
mov dword [esi + 0x10], 0x41c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4838d7
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4cf526
call fcn.0045d534
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0047b2e4
and dword [esp + 0x1c], 0
mov ebp, 0x47cd91
mov ebx, fcn.0047ccb2
push ebp
push ebx
mov edi, 0x148
push 2
lea eax, [esi + 0x210]
push edi
push eax
call fcn.0045ffdc
push ebp
push ebx
push 4
lea eax, [esi + 0x4a0]
push edi
push eax
mov byte [esp + 0x30], 1
call fcn.0045ffdc
push ebp
push ebx
push 4
lea eax, [esi + 0x9c0]
push edi
push eax
mov byte [esp + 0x30], 2
call fcn.0045ffdc
mov ecx, dword [esp + 0x14]
mov dword [esi], vtable.SkinComboBox.0
mov dword [esi + 0x208], 0x1f4
mov dword [esi + 0x20c], 0x64
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x48896f
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4d07d6
call fcn.0045d534
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0047b2e4
and dword [esp + 0x1c], 0
mov ebp, 0x47cd91
mov ebx, fcn.0047ccb2
push ebp
push ebx
mov edi, 0x148
push 2
lea eax, [esi + 0x210]
push edi
push eax
call fcn.0045ffdc
push ebp
push ebx
push 4
lea eax, [esi + 0x4a0]
push edi
push eax
mov byte [esp + 0x30], 1
call fcn.0045ffdc
push ebp
push ebx
push 4
lea eax, [esi + 0x9c0]
push edi
push eax
mov byte [esp + 0x30], 2
call fcn.0045ffdc
mov ecx, dword [esp + 0x14]
mov dword [esi], vtable.SkinDatetime.0
mov dword [esi + 0x208], 0x1f4
mov dword [esi + 0x20c], 0x64
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x48a366
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x50d0d4], 0xffffffff
jne 0x48a432
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x48a432
mov eax, dword [ebp - 0x84]
dec eax
je 0x48a3f8
dec eax
jne 0x48a432
mov eax, dword [ebp - 0x90]
push 3
pop ecx
sub eax, ecx
je 0x48a432
dec eax
je 0x48a3f0
dec eax
je 0x48a3ca
mov dword [0x50d0d4], 6
jmp 0x48a432
mov eax, dword [ebp - 0x8c]
sub eax, 0
je 0x48a3e4
dec eax
jne 0x48a3be
mov dword [0x50d0d4], 5
jmp 0x48a432
mov dword [0x50d0d4], 4
jmp 0x48a432
mov dword [0x50d0d4], ecx
jmp 0x48a432
cmp dword [ebp - 0x8c], 0
je 0x48a42b
cmp dword [ebp - 0x8c], 0xa
je 0x48a41f
cmp dword [ebp - 0x8c], 0x5a
jne 0x48a432
mov dword [0x50d0d4], 2
jmp 0x48a432
mov dword [0x50d0d4], 1
jmp 0x48a432
and dword [0x50d0d4], 0
mov eax, dword [0x50d0d4]
leave
ret