joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420cad
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4c9ba8
call fcn.0045d02c
sub esp, 0x124
push ebx
push esi
mov esi, ecx
xor eax, eax
mov ecx, dword [esi + 0x68]
push edi
lea ebx, [esi + 0x68]
mov dword [ebp - 0x20], esi
cmp dword [ecx - 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
jne 0x420dac
lea ecx, [ebp - 0x130]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x420dac
and dword [ebp - 0x1c], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x130]
push esi
push edi
push dword [ebp - 0x2c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x500988
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x10]
mov cx, word [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ax, word [eax + 0x14]
mov word [ebp - 0x22], ax
mov eax, dword [0x5056f0]
shr esi, 0x10
mov word [ebp - 0x26], cx
mov dword [ebp - 0x10], eax
shr edi, 0x10
and dword [ebp - 4], 0
push 0x809d
lea ecx, [ebp - 0x10]
call fcn.004bf0a3
movzx eax, word [ebp - 0x22]
push eax
movzx eax, di
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, si
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004b7e2b
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bda08
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
add esi, 0x64
mov ecx, dword [ebp + 8]
neg esi
sbb esi, esi
and esi, ebx
push esi
call fcn.004bd77d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42492c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
call fcn.00436002
test eax, eax
je 0x424942
push 0
push 1
jmp 0x4249a6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 4]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0xc]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4249ac
push esi
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x428e6d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x428ed9
lea eax, [ebp - 0x140]
push eax
call fcn.0041fb7b
test eax, eax
pop ecx
je 0x428ed9
lea eax, [ebp - 0x140]
push str.update.exe
push eax
call fcn.0045d120
lea eax, [ebp - 0x140]
pop ecx
mov dword [ebp - 0x2c], eax
pop ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x428ee7
push 5
push str.http:__www.ppStream.com_download_
call fcn.0041fc9e
pop ecx
pop ecx
pop esi
leave
ret 4
Function at 0x42aa5a
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 0x42ab2c
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0045d230
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0045d230
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.0045d110
mov eax, dword [edi + 0x9c]
pop ecx
pop ecx
cmp dword [eax - 8], esi
jne 0x42aae4
push str.http:__www.PPS.tv
jmp 0x42aae5
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0045d120
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 0x42ab31
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 0x42ab33
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x42ab7b
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 0x42abc1
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x42abc1
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 0x42d67e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ca498
call fcn.0045d02c
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.0045d200
push str._accel.ini
push eax
call fcn.0045d110
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 0x42d7ee
mov eax, dword [0x5056f0]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x68]
and dword [ebp - 4], 0
test eax, eax
je 0x42d705
push eax
call fcn.004bdf95
pop ecx
lea eax, [ebx + ebx*2]
shl eax, 1
push eax
call fcn.004bdf6c
test eax, eax
pop ecx
mov dword [esi + 0x68], eax
jne 0x42d71f
xor esi, esi
jmp 0x42d7e0
and dword [ebp - 0x14], 0
test ebx, ebx
jle 0x42d7bf
xor ebx, ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x500774
push eax
call fcn.004b7e2b
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 0x42d718
cmp dword [ebp - 0x18], 0
je 0x42d718
test eax, eax
je 0x42d718
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 0x42d72d
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.004bda08
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42da8e
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4ca4d7
call fcn.0045d02c
sub esp, 0x118
mov eax, dword [0x5056f0]
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 0x42db61
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.004b7e2b
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.004bd77d
mov dword [ebp - 0x1c], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004bda08
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42ec45
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4ca670
call fcn.0045d02c
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 0x42ee01
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 0x42ee01
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.PPS.lnk
lea ecx, [ebp - 0x14]
call fcn.004bda76
push dword [ebp - 0x14]
lea eax, [ebp - 0x128]
mov dword [ebp - 4], ebx
push eax
call fcn.0045d120
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
lea eax, [ebp - 0x128]
push eax
je 0x42ece7
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42edf5
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x42edf5
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 0x42edf5
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.0045fa10
pop ecx
cmp eax, ebx
pop ecx
je 0x42ed63
push 0x500988
push eax
call fcn.0045d110
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 [0x5056f0]
mov dword [ebp + 8], eax
push 0x803d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004bf0a3
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 0x42ede1
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.004bda08
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004bda08
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42f786
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.0042f762
mov esi, eax
test esi, esi
jne 0x42f809
mov al, byte [0x50dd88]
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.0042f710
test eax, eax
je 0x42f800
lea eax, [ebp - 0x104]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
xor edi, edi
mov ecx, ebx
call fcn.0042f762
push 0x1f4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x42f809
inc edi
cmp edi, 0xa
jl 0x42f7e2
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 0x42f802

Function at 0x4342b3
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 0x434342
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x43433b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x120], eax
je 0x43433b
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.004648c0
pop ecx
test eax, eax
pop ecx
je 0x434310
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x4342da
cmp dword [ebp + 0xc], 0
je 0x43432f
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 0x434344
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
leave
ret
Function at 0x435f38
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.0045d4c3
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.0045fcc0
lea eax, [ebp - 0x1a]
push 2
push eax
lea eax, [ebp - 8]
xor bl, bl
push eax
mov byte [ebp - 2], bl
call fcn.0045fcc0
lea eax, [ebp - 0x18]
push 2
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 6], bl
call fcn.0045fcc0
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 4]
push eax
mov byte [ebp - 0xa], bl
call fcn.0045fca7
mov bl, al
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045fca7
mov byte [ebp + 0x13], al
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0045fca7
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 0x43ec00
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.0043c090
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x43ec32
mov dword [esp + 0x2c], 0
jmp 0x43ec4d
mov ecx, ebp
call fcn.0043c090
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.0043c090
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.0043c0a0
cmp eax, esi
jae 0x43ec8d
mov ecx, ebp
call fcn.0043c0a0
mov dword [esp + 0x10], eax
jmp 0x43ec91
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.0043bf50
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x43ecfd
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x43ecf8
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.0043c230
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 0x43eceb
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.0043c450
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x43ecb8
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x43eca6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x442860
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x442890
push esi
call fcn.00442d60
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x442889
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 0x442913
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4428ff
mov eax, dword [esi + 8]
test eax, eax
je 0x4428b4
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 0x4428fb
cmp eax, 2
je 0x4428ff
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4428a7
cmp eax, 3
je 0x4428da
cmp eax, 1
jne 0x4428a7
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 0x4428a7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4428a7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00442940
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442933
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.00442940
add esp, 4
pop esi
ret
Function at 0x45d30b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45d32b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004622ed
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x45d34e
test byte [esp + 8], 2
je 0x45d34e
call fcn.00462360
mov dword [eax], 0xd
call fcn.00462369
mov dword [eax], 5
jmp 0x45d327
xor eax, eax
ret
Function at 0x472985
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de770
push 0x464b10
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 0x4729d2
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
je 0x4729d2
xor eax, eax
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
jmp 0x4729e6
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x475700
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4cd010
call fcn.0045d02c
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 0x4757eb
test byte [ebp - 0x15c], 0x10
push edi
mov edi, dword [ebp - 0x13c]
je 0x475743
mov edi, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.004bdf6c
pop ecx
mov dword [esi + 0x5dc], eax
mov ebx, dword [ebx]
push 0
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0049b78d
and dword [ebp - 4], 0
push edi
push dword [esi + 0x5dc]
lea ecx, [ebp - 0x1c]
call fcn.0049b973
lea ecx, [ebp - 0x1c]
call fcn.0049b9f4
push 3
push edi
push dword [esi + 0x5dc]
call fcn.0049af17
add esp, 0xc
mov dword [esi + 0x5d8], eax
test eax, eax
jne 0x4757c8
xor ecx, ecx
test edi, edi
jbe 0x4757b1
mov eax, dword [esi + 0x5dc]
xor byte [eax + ecx], 0x50
add eax, ecx
inc ecx
cmp ecx, edi
jb 0x4757a0
push 3
push edi
push dword [esi + 0x5dc]
call fcn.0049af17
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.0049b7cc
mov eax, esi
pop edi
jmp 0x4757ed
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x47970a
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [0x510a5c], 1
call fcn.00479855
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 0x47974c
call ebp
push eax
push 0
call ebx
push eax
push 0x4799f3
push 4
call edi
mov dword [esi + 4], eax
test byte [esp + 0x14], 2
je 0x479767
call ebp
push eax
push 0
call ebx
push eax
push 0x479a55
push 0xc
call edi
mov dword [esi + 8], eax
test byte [esp + 0x14], 4
je 0x479782
call ebp
push eax
push 0
call ebx
push eax
push 0x479aba
push 5
call edi
mov dword [esi + 0xc], eax
test byte [esp + 0x14], 8
je 0x47979d
call ebp
push eax
push 0
call ebx
push eax
push 0x479afa
push 0xb
call edi
mov dword [esi + 0x10], eax
test byte [esp + 0x14], 0x10
je 0x4797b8
call ebp
push eax
push 0
call ebx
push eax
push 0x479b29
push 3
call edi
mov dword [esi + 0x14], eax
test byte [esp + 0x14], 0x20
je 0x4797d3
call ebp
push eax
push 0
call ebx
push eax
push 0x479bb1
push 2
call edi
mov dword [esi + 0x18], eax
test byte [esp + 0x14], 0x40
je 0x4797ee
call ebp
push eax
push 0
call ebx
push eax
push 0x479be6
push 7
call edi
mov dword [esi + 0x1c], eax
test byte [esp + 0x14], 0x80
je 0x479809
call ebp
push eax
push 0
call ebx
push eax
push 0x479c1b
push 0xffffffffffffffff
call edi
mov dword [esi + 0x20], eax
test byte [esp + 0x15], 1
je 0x479824
call ebp
push eax
push 0
call ebx
push eax
push 0x479c67
push 0xa
call edi
mov dword [esi + 0x24], eax
test byte [esp + 0x15], 2
je 0x47983f
call ebp
push eax
push 0
call ebx
push eax
push 0x479c93
push 6
call edi
mov dword [esi + 0x28], eax
push dword [esp + 0x1c]
lea ecx, [esi + 0x2c]
call fcn.004719f6
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x47a7f9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cd368
call fcn.0045d02c
push ecx
push esi
mov esi, ecx
push 0x3e8
mov dword [ebp - 0x10], esi
call fcn.004950f2
and dword [ebp - 4], 0
push str.Pictures
lea ecx, [esi + 8]
mov dword [esi], vtable.CResPicture.0
call fcn.004719f6
push str.Picture
lea ecx, [esi + 0xc]
call fcn.004719f6
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