joyce8/EMBER2024-capa huggingface dataset:
Function at 0x571319
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x57133b
cmp dword [edi + 0x3c], 0
jne 0x57133b
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0058d5de
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00571368
pop edi
pop esi
pop ebx
ret 8

Function at 0x5713b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0058d5de
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5713e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005713fa
pop edi
pop esi
pop ebx
ret 8

Function at 0x5729a8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5729e0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00575f8f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00575f67
jmp 0x5729ec
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5746a2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5746e4
call fcn.0058d5de
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5746e4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5746db
xor eax, eax
jmp 0x5746ec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005746f2
pop edi
pop esi
pop ebx
ret 4
Function at 0x58e266
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0058d5de
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x58e2a3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x58e2a3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x58e2a7
xor eax, eax
jmp 0x58e325
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0057110b
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x58e2df
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x58e2c9
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0058e416
push ebx
mov edi, eax
call fcn.00571134
test edi, edi
pop ecx
je 0x58e321
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0058e1df
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0058e32a
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x5900a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x590156
mov ecx, 0x6b8940
call fcn.0058fc81
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x590134
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x590112
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x590112
push ebx
push edi
push eax
call fcn.00578715
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.00575c71
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc
Function at 0x593622
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x59364a
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x59365b
push 2
call edi
test ax, ax
jge 0x59365b
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00571ffa
cmp dword [esi + 0x30], ebx
jne 0x593735
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00571ffa
cmp eax, dword [esp + 0x34]
jne 0x593735
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x5936d1
push 1
push pe_nt_image_headers32
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x593716
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x593735
cmp eax, 0x205
je 0x593735
cmp eax, 0x201
je 0x593735
cmp eax, 0x204
je 0x593735
cmp eax, ebx
jne 0x5936fc
cmp dword [esp + 0x1c], 0x1b
je 0x593735
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x6b8618]
jbe 0x59372b
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x59368e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x401270
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
cmp dword [0x84b590], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x4012a3
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov ecx, dword [0x42c1c8]
mov edx, dword [0x42c1cc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
call fcn.00401260
mov ebx, dword [ebp - 0x18]
mov eax, dword [0x42c1d0]
mov ecx, dword [0x42c1d4]
add ebx, 0x23f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0x20
jmp 0x4012f0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x84b590]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401350
push 0
lea edx, [ebp - 0x830]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84b590]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40136a
mov dword [0x84ab2c], 0xedeb2e40
jmp 0x40137c
cmp ecx, 0x3eb
jne 0x40137c
mov dword [0x84a4e0], 0
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x10], eax
mov dword [0x84ab28], 0xf4ea3dee
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x84b590], 0x9e6
jne 0x4013b4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
xor dword [ebp - 4], edx
shr esi, cl
add esi, dword [ebp - 0x2c]
cmp dword [0x84b590], 0x121
jne 0x40141d
push str.jiyototupihuyurajefanobarejoxep
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
xor eax, esi
add ebx, 0x61c88647
sub edi, eax
sub dword [ebp - 0x1c], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
jne 0x4012f0
cmp dword [0x84b590], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401464
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401570
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x42d368
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4267f8
push eax
mov dword fs:[0], esp
mov eax, dword [0x84b590]
sub esp, 0x504
push ebx
push esi
push edi
cmp eax, 0x5b1
jne 0x401625
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0x34]
call fcn.00401910
push 0
mov dword [ebp - 4], 0
call fcn.00402a23
add esp, 4
jmp 0x401560
add eax, 0x1134b
push eax
push 0
mov dword [0x84b590], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x84b590]
lea edx, [ebp - 0x14]
push edx
push 0x40
push ecx
push eax
mov dword [0x84a4e4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea esp, [esp]
cmp esi, 0x2710
jge 0x401673
lea edx, [ebp - 0x510]
push edx
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401660
mov ecx, dword [0x84b590]
xor esi, esi
test ecx, ecx
jbe 0x4016dd
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [0x84b594]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x84a4e4]
mov byte [edx + esi], cl
mov ecx, dword [0x84b590]
cmp ecx, 0xa8
jne 0x4016d8
push 0
lea eax, [ebp - 0x10]
push eax
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 0x110]
push ecx
call ebx
mov ecx, dword [0x84b590]
inc esi
cmp esi, ecx
jb 0x401694
xor eax, eax
nop
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x401775
inc eax
cmp eax, 0x39621
jl 0x4016e0
call fcn.00401480
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x40170d
call fcn.00401540
inc esi
cmp esi, 0x6753f
jl 0x401701
mov esi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov edi, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ebx, 0x7b
jmp 0x401730
cmp dword [0x84b590], 0x86
jne 0x40175a
push 0
push str.henanuhasov_xun
push str.ekuposu_nujuf
call esi
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
sub ebx, 1
jne 0x401730
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x401780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x84b590], 0x400
push esi
push edi
jne 0x4017de
push 0
call dword [sym.imp.USER32.dll_WindowFromDC]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
lea esi, [ebp - 0x24]
call fcn.004018e0
mov ecx, esi
call fcn.00401900
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCaretPos]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0xa50
jge 0x4017fc
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x401812
cmp edi, 0x78d9a205
jne 0x40181b
inc esi
cmp esi, 0x1c5d
jl 0x4017f0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea esp, [esp]
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40184d
inc esi
cmp esi, 0x4f6a4
jl 0x401830
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40186c
cmp ebx, 0x785074d5
jne 0x401875
inc esi
cmp esi, 0x11915
jl 0x401858
mov ecx, dword [0x42c40c]
mov edx, dword [0x42c3e0]
mov dword [0x84b590], ecx
mov dword [0x84b594], edx
call fcn.00401570
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
mov edi, edi
cmp dword [0x84b590], 0x51f
jne 0x4018bc
push 0
lea eax, [ebp - 0x424]
push eax
push str.kuzekaziguzedabixuve
call esi
sub edi, 1
jne 0x4018a0
mov eax, dword [0x84a4e4]
mov dword [0x84ab24], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4036bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b660]
jne 0x4036c5
repz ret
jmp fcn.00407bcc
Function at 0x40a62f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040551a
and dword [ebp - 4], 0
cmp dword [0x42d28c], 0
mov ebx, eax
jne 0x40a6e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a791
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a791
push eax
call fcn.004054a8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d28c], eax
call esi
push eax
call fcn.004054a8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d290], eax
call esi
push eax
call fcn.004054a8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d294], eax
call esi
push eax
call fcn.004054a8
pop ecx
mov dword [0x42d29c], eax
test eax, eax
je 0x40a6e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004054a8
pop ecx
mov dword [0x42d298], eax
mov eax, dword [0x42d298]
cmp eax, ebx
je 0x40a738
cmp dword [0x42d29c], ebx
je 0x40a738
push eax
call fcn.00405523
push dword [0x42d29c]
mov esi, eax
call fcn.00405523
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a738
test edi, edi
je 0x40a738
call esi
test eax, eax
je 0x40a72f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a72f
test byte [ebp - 0xc], 1
jne 0x40a738
or dword [ebp + 0x10], 0x200000
jmp 0x40a771
mov eax, dword [0x42d290]
cmp eax, ebx
je 0x40a771
push eax
call fcn.00405523
pop ecx
test eax, eax
je 0x40a771
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a771
mov eax, dword [0x42d294]
cmp eax, ebx
je 0x40a771
push eax
call fcn.00405523
pop ecx
test eax, eax
je 0x40a771
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d28c]
call fcn.00405523
pop ecx
test eax, eax
je 0x40a791
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a793
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401858
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40186a
mov eax, dword [0x56709f]
shl eax, 2
mov dword [0x5670a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0055848c
pop edx
call fcn.0055808c
call fcn.005589a8
push 0
call fcn.00559d28
pop ecx
push 0x567048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x5670a7], eax
push 0
jmp fcn.00562778
Function at 0x403630
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
mov eax, dword [ebp + 0xc]
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
jne 0x40364f
xor eax, eax
jmp 0x4036bf
push 0x224
push 0
lea edx, [ebp - 0x224]
push edx
call fcn.00558c9f
add esp, 0xc
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push ecx
push ebx
call sub.KERNEL32.DLL_Module32First
test eax, eax
jne 0x403684
xor eax, eax
jmp 0x4036bf
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x204]
push ecx
call sub.KERNEL32.DLL_lstrcmpiA
test eax, eax
jne 0x4036a6
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x208]
jmp 0x4036bf
lea edx, [ebp - 0x224]
push edx
push ebx
call sub.KERNEL32.DLL_Module32Next
test eax, eax
jne 0x403684
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4149c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x574328
push 0xa
push 0x414a58
mov eax, dword [0x5742a8]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x4149e8
call fcn.00447404
push ebx
mov eax, dword [0x5742a8]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x4149ff
call fcn.00447404
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x414a11
call fcn.00447404
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x57432c], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x574330], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x574334], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x574338], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x57433c], ecx
add edx, dword [eax + 0x14]
mov dword [0x574340], edx
pop esi
pop ebx
ret

Function at 0x431178
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x431216
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4311da
cmp byte [ebx + 0x10], 0
jne 0x4311da
cmp byte [ebx + 0x3c], 0
jne 0x4311da
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x4311fb
lea edx, [ebp - 4]
mov eax, dword [0x5739fc]
call fcn.0045af38
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x421bd8]
call fcn.00444d68
call fcn.00456c34
jmp 0x4311fb
lea edx, [ebp - 8]
mov eax, dword [0x5739fc]
call fcn.0045af38
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x421bd8]
call fcn.00444d68
call fcn.00456c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43121d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00457c98
ret

Function at 0x431a94
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x431ae2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004310fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x431afb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x431b04
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004310fc
dec esi
jne 0x431b26
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x433340
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x574568
cmp dword [edi], 0
jne 0x4333bc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x574564]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x56994c
mov ecx, 2
call fcn.00455758
mov edx, 0x433318
lea eax, [esi + 5]
call fcn.00433338
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00433338
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x433391
mov dword [0x574564], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x436a60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x436bdb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00457cf4
mov eax, dword [ebp - 4]
call fcn.004362f8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x436ab2
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004584a8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0043770c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x436b91
xor eax, eax
push ebp
push 0x436b8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00436660
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00436c10
test al, al
je 0x436b68
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00457ddc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x436b68
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00457d2c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004365c0
test al, al
je 0x436b62
mov eax, dword [ebp - 8]
call fcn.00457d2c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00457e5c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00436a60
dec ebx
cmp ebx, 0xffffffff
jne 0x436b11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436b91
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00436660
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.00457d2c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0043664c
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004365c0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436be2
lea eax, [ebp - 0x3c]
call fcn.00457c90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00457c98
ret