joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bb58
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43bb74
cmp dword [esi + 4], 0
je 0x43bba1
test byte [ebx + 0x55], 1
jne 0x43bb93
mov eax, ebx
call fcn.0043a6f8
test eax, eax
jne 0x43bb93
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43bcb1
mov edx, esi
mov eax, ebx
call fcn.0043b67c
jmp 0x43bcb1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43bcaa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d9c8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00438394
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043bb58
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d9c8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bcb1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442340
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45a2a8]
cmp byte [eax + 0xc], 0
je 0x4424ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4424a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45bb90], 0
jne 0x442394
push 0x4424b4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4424bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bb90], eax
cmp dword [0x459c64], 0
jne 0x44248f
push 0x4424cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x459c64], eax
cmp dword [0x459c64], 0
je 0x44248f
push 0x4424d8
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bb94], eax
push 0x4424e8
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bb98], eax
push 0x4424fc
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bb9c], eax
push 0x442514
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bba0], eax
push 0x44252c
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bba4], eax
push 0x442540
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bba8], eax
push 0x442558
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbac], eax
push 0x442570
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbb0], eax
push 0x44258c
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbb4], eax
push 0x442598
mov eax, dword [0x459c64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45bbb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4424ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x446354
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004043e4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4463a3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404654
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44dae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44db30]
test si, 4
je 0x44daf4
or bl, 1
test si, 8
je 0x44dafe
or bl, 4
test si, 1
je 0x44db08
or bl, 8
test si, 2
je 0x44db12
or bl, 0x10
test si, 0x10
je 0x44db1c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44db2b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44db34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44db6c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44db4d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44db5c
or bl, 4
test esi, 0x20000000
je 0x44db67
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x454214
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x454226
add esp, 0xfffffff0
call fcn.004039b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041990c
mov eax, dword [0x459f6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4545b8
mov eax, dword [0x459f78]
mov dword [eax + 4], ebx
mov dword [eax], 0x4545c4
mov eax, ebx
call fcn.004545d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411c04]
call fcn.00403664
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411c04]
call fcn.00403664
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411c04]
call fcn.00403664
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411c04]
call fcn.00403664
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411c04]
call fcn.00403664
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4509ec
push eax
push 0
push 0
mov eax, dword [0x45a0c0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b378]
call fcn.0041caec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b378]
call fcn.0041caec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b378]
call fcn.0041caec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004549f0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4548cc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4548cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4548cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454363
call fcn.00403a10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4546b0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45485b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45483c
mov dl, 1
mov eax, dword [0x412020]
call fcn.00403664
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043e4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45482b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004426a0
test al, al
je 0x45481e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45486c
lea eax, [ebp - 0x254]
call fcn.00408f2c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45481e
xor eax, eax
push ebp
push 0x454817
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4548a4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454800
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404654
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x454800
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45481e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x454721
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415afc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454862
lea eax, [ebp - 0x260]
call fcn.004043e4
ret

Function at 0x455190
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45bbdc]
cmp byte [eax + 0xa5], 0
jne 0x455201
cmp dword [0x45bbf4], 0
jne 0x4551c2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45514c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45bbf4], eax
cmp dword [0x45bbf0], 0
jne 0x4551dd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45bbf0], eax
cmp dword [0x45bbf8], 0
jne 0x455201
push esp
push 0
push 0
push 0x4550f0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45bbf8], eax
pop edx
ret
Function at 0x4552f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45530f
add esp, 0xfffffff0
call fcn.004039b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041990c
mov eax, dword [0x45a0ac]
cmp word [eax + 2], 0
jne 0x455337
mov eax, dword [0x45a0ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004569d0
mov eax, dword [0x45a158]
cmp word [eax + 2], 0
jne 0x455351
mov eax, dword [0x45a158]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456bc8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411c04]
call fcn.00403664
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411c04]
call fcn.00403664
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41be58]
call fcn.004231d0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4554d8
mov eax, dword [0x459fd4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004235a0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457168
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x459fd4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c674
test eax, eax
je 0x455446
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040890c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c69c
test eax, eax
je 0x45545a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404654
mov eax, dword [0x459ec0]
cmp byte [eax], 0
jne 0x45548e
mov eax, ebx
call fcn.00455600
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00457344
mov eax, ebx
call fcn.00457d08
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4554ce
call fcn.00403a10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455880
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45bbdc]
cmp dword [eax + 0x30], 0
je 0x45592a
cmp dword [ebx + 0x94], 0
jne 0x455924
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455810
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455924
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4558ea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455924
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413f6c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4558f9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45648c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4564c1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044d4
jmp 0x4564ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404438
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457520
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457561
mov eax, esi
call fcn.0043dccc
test al, al
je 0x457561
mov eax, dword [ebx + 0x84]
call fcn.0043d9c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457561
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d9c8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x19fd2892
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x49a86d4a
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402a3d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42e470]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402ad1
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a8e
cmp dword [ebp + 0x10], ebx
jne 0x402ac5
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a3d
test eax, eax
jne 0x402aa0
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a75
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00405ecf
cmp eax, ebx
je 0x402ad8
push ebx
push dword [0x42e470]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402ad1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42e470], ebx
jne 0x402ace
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ace
jmp 0x402ad1
Function at 0x405357
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x42b048], 0x44
push eax
xor eax, eax
push 0x42b048
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405392
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x40541c
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405810
mov edi, eax
cmp edi, 0xffffffff
je 0x40545d
test byte [esp + 0x10], 1
push esi
je 0x40543f
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x405445
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40544e
xor eax, eax
inc eax
jmp 0x40545f
test byte [esp + 0x10], 4
jne 0x40545d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405464
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405722
test bl, 8
mov dword [ebp - 0xc], eax
je 0x4054a3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x42e448], eax
jmp 0x40562d
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x4054bd
test eax, eax
je 0x4055db
test bl, 2
je 0x4055db
mov esi, 0x42a848
push edi
push esi
call fcn.00405ba4
cmp dword [ebp + 8], 0
je 0x4054dc
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x4054e2
push edi
call fcn.0040567b
cmp byte [edi], 0
jne 0x4054f0
cmp byte [0x42a848], 0x5c
jne 0x4054fb
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4055d1
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.0040565f
cmp byte [eax], 0
je 0x405541
cmp byte [ebp - 0x1c], 0
je 0x405541
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x405557
mov al, byte [esi + 1]
test al, al
je 0x4055b0
cmp al, 0x2e
jne 0x405557
cmp byte [esi + 2], 0
je 0x4055b0
push esi
push ebx
call fcn.00405ba4
test byte [ebp - 0x14c], 0x10
je 0x40557c
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4055b0
push dword [ebp + 0xc]
push edi
call fcn.00405464
jmp 0x4055b0
push dword [ebp - 4]
push edi
call fcn.0040541c
test eax, eax
jne 0x4055a8
cmp dword [ebp - 4], eax
je 0x4055a0
push edi
push 0xfffffffffffffff1
call fcn.00404e8f
push 0
push edi
call fcn.00405a58
jmp 0x4055b0
inc dword [0x42e448]
jmp 0x4055b0
push edi
push 0xfffffffffffffff2
call fcn.00404e8f
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40551f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4055db
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40562d
cmp dword [ebp - 0xc], esi
jne 0x4055ef
inc dword [0x42e448]
jmp 0x40562d
push edi
call fcn.00405ea8
test eax, eax
je 0x40562d
push edi
call fcn.00405634
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.0040541c
test eax, eax
jne 0x405625
cmp dword [ebp - 4], esi
je 0x4055e7
push edi
push 0xfffffffffffffff1
call fcn.00404e8f
push esi
push edi
call fcn.00405a58
jmp 0x40562d
push edi
push 0xffffffffffffffe5
call fcn.00404e8f
pop edi
pop esi
pop ebx
leave
ret 8