joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4360e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x436134
mov eax, esi
call fcn.0044bcac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436134
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x436134
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x436273
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x436174
cmp eax, 0x108
ja 0x436174
mov eax, esi
call fcn.0044bcac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43626a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x436273
jmp 0x43626a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x436253
cmp eax, 0x20a
ja 0x436253
test byte [esi + 0x50], 0x80
jne 0x4361a6
sub eax, 0x203
je 0x4361a3
sub eax, 3
je 0x4361a3
sub eax, 3
jne 0x4361a6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4361ba
dec eax
je 0x4361cf
dec eax
je 0x4361ec
dec eax
je 0x4361cf
jmp 0x4361f3
mov ecx, ebx
mov eax, dword [0x46d980]
mov eax, dword [eax]
mov edx, esi
call fcn.00455458
jmp 0x43626a
cmp byte [esi + 0x5d], 1
jne 0x4361e5
mov eax, esi
mov si, 0xffed
call fcn.0040334c
jmp 0x436273
or word [esi + 0x54], 1
jmp 0x43626a
and word [esi + 0x54], 0xfffe
jmp 0x43626a
mov eax, dword [0x46eb10]
cmp byte [eax + 0x20], 0
je 0x43626a
mov eax, dword [0x46eb10]
cmp dword [eax + 0x1c], 0
je 0x43626a
mov eax, dword [ebx]
mov edx, dword [0x46eb10]
cmp eax, dword [edx + 0x1c]
jne 0x43626a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044bbf0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040334c
jmp 0x436273
cmp eax, 0xb00b
jne 0x43626a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00434a18
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4397e0
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 0x4397fc
cmp dword [esi + 4], 0
je 0x439829
test byte [ebx + 0x55], 1
jne 0x43981b
mov eax, ebx
call fcn.00438380
test eax, eax
jne 0x43981b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439939
mov edx, esi
mov eax, ebx
call fcn.00439304
jmp 0x439939
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 0x439932
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b650
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.0043601c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004397e0
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.0043b650
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439939
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 0x43ff4c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46daf0]
cmp byte [eax + 0xc], 0
je 0x4400b9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4400b2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46eb64], 0
jne 0x43ffa0
push 0x4400c0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4400c8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb64], eax
cmp dword [0x46cb98], 0
jne 0x44009b
push 0x4400d8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46cb98], eax
cmp dword [0x46cb98], 0
je 0x44009b
push 0x4400e4
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb68], eax
push 0x4400f4
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb6c], eax
push 0x440108
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb70], eax
push 0x440120
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb74], eax
push 0x440138
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb78], eax
push 0x44014c
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb7c], eax
push 0x440164
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb80], eax
push 0x44017c
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb84], eax
push 0x440198
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb88], eax
push 0x4401a4
mov eax, dword [0x46cb98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4400b9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4443fc
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.00403ea0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44444b
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.00404110
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44bb60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44bbb0]
test si, 4
je 0x44bb74
or bl, 1
test si, 8
je 0x44bb7e
or bl, 4
test si, 1
je 0x44bb88
or bl, 8
test si, 2
je 0x44bb92
or bl, 0x10
test si, 0x10
je 0x44bb9c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bbab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44bbb4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44bbec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bbcd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bbdc
or bl, 4
test esi, 0x20000000
je 0x44bbe7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452294
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4522a6
add esp, 0xfffffff0
call fcn.00403474
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191c4
mov eax, dword [0x46d7ac]
mov dword [eax + 4], ebx
mov dword [eax], 0x452638
mov eax, dword [0x46d7b8]
mov dword [eax + 4], ebx
mov dword [eax], 0x452644
mov eax, ebx
call fcn.00452650
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4114a4]
call fcn.00403120
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4114a4]
call fcn.00403120
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4114a4]
call fcn.00403120
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4114a4]
call fcn.00403120
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4114a4]
call fcn.00403120
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, 0x44ea6c
push eax
push 0
push 0
mov eax, dword [0x46d900]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ac28]
call fcn.0041c39c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ac28]
call fcn.0041c39c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ac28]
call fcn.0041c39c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452a70
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45294c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45294c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45294c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4523e3
call fcn.004034cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452730
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 0x4528db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4528bc
mov dl, 1
mov eax, dword [0x4118c0]
call fcn.00403120
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ea0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4528ab
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.004402ac
test al, al
je 0x45289e
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, 0x4528ec
lea eax, [ebp - 0x254]
call fcn.00408980
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45289e
xor eax, eax
push ebp
push 0x452897
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 0x452924
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452880
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404110
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 0x452880
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45289e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4527a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004153b4
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 0x4528e2
lea eax, [ebp - 0x260]
call fcn.00403ea0
ret

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

Disassembly:
push ecx
mov eax, dword [0x46ebb0]
cmp byte [eax + 0xa5], 0
jne 0x453281
cmp dword [0x46ebc8], 0
jne 0x453242
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4531cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46ebc8], eax
cmp dword [0x46ebc4], 0
jne 0x45325d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46ebc4], eax
cmp dword [0x46ebcc], 0
jne 0x453281
push esp
push 0
push 0
push 0x453170
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46ebcc], eax
pop edx
ret
Function at 0x453378
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45338f
add esp, 0xfffffff0
call fcn.00403474
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191c4
mov eax, dword [0x46d8ec]
cmp word [eax + 2], 0
jne 0x4533b7
mov eax, dword [0x46d8ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454a50
mov eax, dword [0x46d99c]
cmp word [eax + 2], 0
jne 0x4533d1
mov eax, dword [0x46d99c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454c48
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4114a4]
call fcn.00403120
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4114a4]
call fcn.00403120
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 [0x41b708]
call fcn.00422eec
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453558
mov eax, dword [0x46d810]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004232bc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4551e8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46d810]
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.0040c048
test eax, eax
je 0x4534c6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408374
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c070
test eax, eax
je 0x4534da
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.00404110
mov eax, dword [0x46d6f8]
cmp byte [eax], 0
jne 0x45350e
mov eax, ebx
call fcn.00453680
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.004553c4
mov eax, ebx
call fcn.00455d88
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45354e
call fcn.004034cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453900
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46ebb0]
cmp dword [eax + 0x30], 0
je 0x4539aa
cmp dword [ebx + 0x94], 0
jne 0x4539a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453890
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4539a4
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 0x45396a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4539a4
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.0041380c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453979
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45450c
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 0x454541
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.00403f90
jmp 0x45454e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ef4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4555a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4555e1
mov eax, esi
call fcn.0043b928
test al, al
je 0x4555e1
mov eax, dword [ebx + 0x84]
call fcn.0043b650
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4555e1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b650
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x458d50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x458d7e
mov eax, ebx
call fcn.00459804
cmp dword [ebx + 0x40], 0
je 0x458d77
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x458def
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x458de1
cmp dword [ebx + 8], 0
je 0x458da0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x458db2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x458de1
cmp dword [ebx + 8], 0
je 0x458d93
cmp eax, 3
je 0x458dc5
dec eax
jne 0x458d93
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x458d93
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x458d93
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x458e0d
cmp dword [ebx + 0x14], 0xcc
je 0x458e0d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00458e18
pop ebx
ret
Function at 0x10002310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x100325a0
call fcn.100012a0
add esp, 0xc
push 0x100325a0
push 1
call dword [sym.imp.CLEO.asi_Ordinal_40]
mov ebx, 0xc8cf88
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
jne 0x100023a2
push 0
push 0xf020
push 0x112
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x100325a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x100325a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
pop ebp
ret
Function at 0x10006870
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [0x10031040]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
push 0x140
lea eax, [esp + 0x14]
mov esi, ecx
push 0
push eax
call fcn.1000c730
add esp, 0xc
lea eax, [esp + 0x258]
push esi
push str._s
push eax
call fcn.100012e0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100069d5
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax]
test byte [esp + 0x10], 0x10
lea eax, [esp + 0x3c]
je 0x10006982
mov ecx, 0x1002dfbc
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006914
test dl, dl
je 0x10006910
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006914
add eax, 2
add ecx, 2
test dl, dl
jne 0x100068f4
xor eax, eax
jmp 0x10006919
sbb eax, eax
or eax, 1
test eax, eax
je 0x100069be
mov eax, 0x1002dfc0
lea ecx, [esp + 0x3c]
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10006950
test dl, dl
je 0x1000694c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10006950
add ecx, 2
add eax, 2
test dl, dl
jne 0x10006930
xor eax, eax
jmp 0x10006955
sbb eax, eax
or eax, 1
test eax, eax
je 0x100069be
lea eax, [esp + 0x3c]
push eax
push esi
lea eax, [esp + 0x158]
push str._s_s
push eax
call fcn.100012e0
add esp, 0x10
lea ecx, [esp + 0x150]
call fcn.10006870
jmp 0x100069ba
push eax
push esi
lea eax, [esp + 0x158]
push str._s_s
push eax
call fcn.100012e0
add esp, 0x10
lea eax, [esp + 0x150]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100069f1
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
jne 0x100068e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.1000afae
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x364]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000afae
mov esp, ebp
pop ebp
ret
Function at 0x10006fd0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x10031040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1000710e
push 0x140
lea eax, [ebp - 0x460]
push 0
push eax
call fcn.1000c730
add esp, 0xc
lea eax, [ebp - 0x320]
push edi
push str._s
push eax
call fcn.100012e0
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10007173
lea eax, [ebp - 0x434]
push eax
push edi
lea eax, [ebp - 0x110]
push str._s_s
push eax
call fcn.100012e0
lea eax, [ebp - 0x434]
push eax
push ebx
lea eax, [ebp - 0x218]
push str._s_s
push eax
call fcn.100012e0
add esp, 0x20
test byte [ebp - 0x460], 0x10
je 0x10007121
mov ecx, 0x1002dfbc
lea eax, [ebp - 0x434]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100070b2
test dl, dl
je 0x100070ae
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100070b2
add eax, 2
add ecx, 2
test dl, dl
jne 0x10007092
xor eax, eax
jmp 0x100070b7
sbb eax, eax
or eax, 1
test eax, eax
je 0x10007156
mov ecx, 0x1002dfc0
lea eax, [ebp - 0x434]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100070f0
test dl, dl
je 0x100070ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100070f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100070d0
xor eax, eax
jmp 0x100070f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10007156
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x110]
call fcn.10006fd0
test eax, eax
jne 0x10007156
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000afae
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1000710e
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10007045
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000afae
mov esp, ebp
pop ebp
ret