joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c6e40
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5c6e57
add esp, 0xfffffff0
call fcn.00407c6c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c59b0
mov eax, dword [0x616628]
cmp byte [eax], 0
jne 0x5c6e84
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x616990]
cmp word [eax + 2], 0
jne 0x5c6e9e
mov eax, dword [0x616990]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005c9158
mov eax, dword [0x616ac0]
cmp word [eax + 2], 0
jne 0x5c6eb8
mov eax, dword [0x616ac0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005c935c
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4f5f30]
call fcn.004fc080
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5c98d4
mov dl, 1
mov eax, dword [0x48b7fc]
call fcn.00407638
mov dword [ebx + 0xa4], eax
mov dl, 1
mov eax, dword [0x48b7fc]
call fcn.00407638
mov dword [ebx + 0xc4], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xb9], 1
mov byte [ebx + 0xd0], 1
mov dl, 1
mov eax, dword [0x4fa958]
call fcn.005057f0
mov esi, eax
mov dword [ebx + 0xb4], esi
push 0x5c70a0
mov eax, dword [0x61683c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00505c80
mov eax, dword [ebx + 0xb4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5c9bbc
mov dl, 1
mov eax, dword [0x48b7fc]
call fcn.00407638
mov dword [ebx + 0xac], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x61683c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00422f60
test eax, eax
je 0x5c6fd2
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00422d40
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00422f44
test eax, eax
je 0x5c6fea
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa0]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a0a4
push ebx
push 0x5c8b34
call fcn.005bc5e8
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe4], 0
mov eax, dword [0x616628]
cmp byte [eax], 0
jne 0x5c703b
mov eax, ebx
call fcn.005c7268
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xe5], 0
mov byte [ebx + 0xf0], 0
xor eax, eax
mov dword [ebx + 0xe8], eax
mov byte [ebx + 0xe7], 0
xor eax, eax
mov dword [ebx + 0xbc], eax
mov eax, ebx
call fcn.005c9e04
mov eax, ebx
call fcn.005caa5c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c7098
call fcn.00407cc4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c75a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5c7654
cmp dword [ebx + 0xa8], 0
jne 0x5c764e
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c74e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa4]
cmp dword [eax + 8], 0
je 0x5c764e
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5c7614
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa4]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c764e
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa4]
call fcn.004adf24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c7623
inc dword [ebx + 0xa8]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5c7874
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x61c340]
cmp dword [eax + 0x188], 0
je 0x5c79d9
test bl, bl
jne 0x5c7927
cmp dword [esi + 0xb0], 0
jne 0x5c791c
mov eax, esi
call fcn.005ca8ac
push eax
push 0x5c7780
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c78ed
mov eax, dword [0x61c340]
cmp byte [eax + 0xe7], 0
je 0x5c78ed
mov eax, dword [esi + 0xec]
call fcn.0040b26c
mov edi, eax
cmp edi, 0
jl 0x5c78ed
push 0
mov eax, dword [esi + 0xec]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c78d6
mov eax, dword [esi + 0xac]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c791c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xac]
call fcn.004adf24
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c78fc
inc dword [esi + 0xb0]
jmp 0x5c79d9
cmp dword [esi + 0xb0], 0
jle 0x5c79d9
dec dword [esi + 0xb0]
cmp dword [esi + 0xb0], 0
jne 0x5c79d9
cmp dword [esi + 0x58], 0
je 0x5c7984
mov eax, dword [0x61c340]
cmp byte [eax + 0xe7], 0
je 0x5c7984
mov eax, dword [esi + 0xec]
call fcn.0040b26c
mov edi, eax
cmp edi, 0
jl 0x5c7984
push 5
mov eax, dword [esi + 0xec]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c796d
mov eax, dword [esi + 0xac]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c79b3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xac]
call fcn.004adf24
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c7993
mov eax, dword [esi + 0xac]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xec]
mov ecx, 1
mov edx, dword [0x5b8e8c]
call fcn.0040b480
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5c8634
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc0], 0
je 0x5c8691
cmp byte [ebx + 0xe7], 0
jne 0x5c8691
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409460
mov eax, dword [esi]
test eax, eax
je 0x5c867e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5c869e
mov eax, esi
mov edx, dword [ebx + 0xa0]
call fcn.004096b8
jmp 0x5c869e
mov eax, esi
mov edx, dword [ebx + 0xa0]
call fcn.004096b8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5c9ff0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5ca061
mov eax, esi
call fcn.00529b78
test al, al
je 0x5ca061
mov eax, dword [ebx + 0x98]
call fcn.005297a0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5ca061
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5ca052
push 0
mov eax, dword [ebx + 0x98]
call fcn.005297a0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.00520474
jmp 0x5ca061
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005c9e24
pop esi
pop ebx
ret
Function at 0x5ebf74
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff77c
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 0x2c], 0xc
mov dword [ebp - 0x24], 0xffffffff
xor eax, eax
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_CreatePipe
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_CreatePipe
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0x44
call fcn.00406ff4
lea eax, [ebp - 0x80]
xor ecx, ecx
mov edx, 0x10
call fcn.00406ff4
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 0x101
mov word [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebx]
call fcn.00409fe8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5ec058
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5ec1a2
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
mov dl, 1
mov eax, dword [0x4922fc]
call fcn.00407638
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x5ec0ec
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x802
lea eax, [ebp - 0x882]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x5ec0bf
lea edx, [ebp - 0x882]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x5ec087
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.004b2708
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec0f3
mov eax, dword [ebp - 0x20]
call fcn.00407668
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ec1a8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004093bc
xor eax, eax
push ebp
push 0x5ec2a6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00409fe8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x5ec290
mov eax, ebx
call fcn.004066e0
mov dword [ebp - 0xc], eax
xor edi, edi
push ebp
push 0x5ec289
push dword fs:[edi]
mov dword fs:[edi], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
push 0
push esi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5ec2b8
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
mov edx, dword [ebp - 0x10]
movzx edx, word [edx + 8]
and dx, 0xffff
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
shr ecx, 0x10
mov ebx, dword [ebp - 0x10]
movzx ebx, word [ebx + 0xc]
and bx, 0xffff
movzx eax, ax
shl eax, 0x18
movzx edx, dx
shl edx, 0x10
add eax, edx
movzx edx, cx
shl edx, 8
add eax, edx
movzx edx, bx
add eax, edx
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec290
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004066fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec2ad
lea eax, [ebp - 4]
call fcn.004092d8
ret

Function at 0x5ec3a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004093bc
xor eax, eax
push ebp
push 0x5ec468
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
mov eax, dword [ebp - 4]
call fcn.00409fe8
push eax
mov eax, dword [0x619c54]
push eax
call sub.kernel32.dll_FindResourceW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5ec452
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x619c54]
push eax
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x5ec452
xor edx, edx
push ebp
push 0x5ec44b
push dword fs:[edx]
mov dword fs:[edx], esp
push eax
call sub.kernel32.dll_LockResource
test eax, eax
je 0x5ec434
xor edx, edx
push ebp
push 0x5ec42d
push dword fs:[edx]
mov dword fs:[edx], esp
push 5
push eax
call sub.winmm.dll_sndPlaySoundW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec434
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec452
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec46f
lea eax, [ebp - 4]
call fcn.004092d8
ret
Function at 0x401500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x40501c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x210], 0
call sub.VCRUNTIME140.dll_memset
mov bx, word [ebp + 0x10]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x214], 0
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x218], 0
sete al
mov dword [ebp - 0x21c], 4
movzx esi, ax
lea eax, [ebp - 0x20c]
test bx, bx
je 0x401581
push str.SoftwareAdobeAcrobat_ReaderDCFeatureState
jmp 0x401586
push str.SoftwareAdobeAdobe_AcrobatDCFeatureState
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401653
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push dword [ebp - 0x220]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40161e
cmp dword [ebp - 0x214], 4
jne 0x40161e
push dword [ebp - 0x210]
xor ebx, ebx
cmp dword [ebp - 0x218], ebx
setne bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aa0
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0x10], 0
mov ebx, esi
je 0x401633
test edi, edi
je 0x401633
mov eax, 1
mov word [edi], ax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401aa0
mov esp, ebp
pop ebp
ret
mov eax, esi
test bx, bx
je 0x401668
test edi, edi
je 0x401668
mov eax, 1
mov word [edi], ax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401aa0
Function at 0x405c4d
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
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.00405f18
test bl, 8
mov dword [ebp - 8], eax
je 0x405c8c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x429aa8], eax
jmp 0x405e09
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405ca6
test eax, eax
je 0x405db7
test bl, 2
je 0x405db7
mov esi, 0x424f10
push edi
push esi
call fcn.00406541
cmp dword [ebp + 8], 0
je 0x405cc5
push 0x40a56c
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405ccb
push edi
call fcn.00405e5c
cmp word [edi], 0
jne 0x405cdb
cmp word [0x424f10], 0x5c
jne 0x405ce6
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405dac
cmp word [ebp - 0x22c], 0x2e
jne 0x405d30
cmp word [ebp - 0x22a], 0
je 0x405d8f
cmp word [ebp - 0x22a], 0x2e
jne 0x405d30
cmp word [ebp - 0x228], 0
je 0x405d8f
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406541
test byte [ebp - 0x258], 0x10
je 0x405d5b
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405d8f
push dword [ebp + 0xc]
push edi
call fcn.00405c4d
jmp 0x405d8f
push dword [ebp - 4]
push edi
call fcn.00405c05
test eax, eax
jne 0x405d87
cmp dword [ebp - 4], eax
je 0x405d7f
push edi
push 0xfffffffffffffff1
call fcn.004055c6
push 0
push edi
call fcn.00406301
jmp 0x405d8f
inc dword [0x429aa8]
jmp 0x405d8f
push edi
push 0xfffffffffffffff2
call fcn.004055c6
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405d08
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405db7
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405e09
cmp dword [ebp - 8], esi
jne 0x405dcb
inc dword [0x429aa8]
jmp 0x405e09
push edi
call fcn.0040689e
test eax, eax
je 0x405e09
push edi
call fcn.00405e10
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405c05
test eax, eax
jne 0x405e01
cmp dword [ebp - 4], esi
je 0x405dc3
push edi
push 0xfffffffffffffff1
call fcn.004055c6
push esi
push edi
call fcn.00406301
jmp 0x405e09
push edi
push 0xffffffffffffffe5
call fcn.004055c6
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402e20
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x48c
lea eax, [esp + 0x8c]
push ebx
push 0x400
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
test eax, eax
je 0x402f02
cmp byte [esp + 0x91], 0x3a
jne 0x402f02
lea ecx, [esp + 0x10]
push 0x40
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x64]
push 0x40
lea eax, [esp + 0xa8]
xor ebx, ebx
push edx
push eax
mov byte [esp + 0xb3], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
test eax, eax
je 0x402f02
mov ecx, dword [esp + 4]
xor edx, edx
mov dword [0x42954c], ecx
mov cl, byte [edx + 0x42954c]
mov al, cl
and al, 0x80
shl cl, 1
cmp al, bl
je 0x402eb3
or cl, 1
mov al, byte [edx + 0x42954d]
xor al, cl
mov cl, al
and cl, 1
shr al, 1
cmp cl, bl
je 0x402ec8
or al, 0x80
mov byte [edx + 0x42954c], al
inc edx
cmp edx, 3
jl 0x402ea0
mov al, byte [0x42954f]
mov cl, al
and cl, 0x80
shl al, 1
cmp cl, bl
mov dl, al
je 0x402ee9
or dl, 1
mov al, byte [0x42954c]
xor al, dl
mov cl, al
and cl, 1
shr al, 1
cmp cl, bl
je 0x402efd
or al, 0x80
mov byte [0x42954f], al
pop ebx
add esp, 0x48c
ret
Function at 0x403ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov dword [esp], str.event
test eax, eax
mov ecx, 0x42fa7c
mov dword [esp + 4], eax
jne 0x403ad0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 8], 0x4298c8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x403ae8
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], 0x4298c4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x403b00
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0x4298c0
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x403b18
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], 0x4298bc
test eax, eax
mov dword [esp + 0x24], eax
jne 0x403b30
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], 0x4298b8
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x403b48
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], str.data1
test eax, eax
mov dword [esp + 0x34], eax
jne 0x403b60
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], str.data2
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x403b78
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], str.data3
test eax, eax
mov dword [esp + 0x44], eax
jne 0x403b90
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], str.data4
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x403bab
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x50], str.data5
test eax, eax
mov dword [esp + 0x54], eax
jne 0x403bc6
mov dword [esp + 0x54], ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push ebp
push esi
push edi
xor edi, edi
lea esi, [esp + 0x14]
mov ebp, 0xb
mov eax, dword [esi - 4]
push eax
call ebx
mov ecx, dword [esi]
lea edi, [edi + eax + 1]
push ecx
call ebx
add esi, 8
dec ebp
lea edi, [edi + eax + 1]
jne 0x403bdb
lea edi, [edi + edi*2 + 0x64]
push edi
call fcn.0041b345
mov esi, eax
add esp, 4
test esi, esi
je 0x403c65
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov ecx, edx
and ecx, 3
mov dword [esp + 0x6c], 0
rep stosb byte es:[edi], al
lea edi, [esp + 0x10]
mov ebx, 0xb
mov ecx, dword [edi + 4]
mov edx, dword [edi]
lea eax, [esp + 0x6c]
push eax
push ecx
push edx
call fcn.00410290
add esp, 0xc
test eax, eax
je 0x403c52
mov eax, dword [esp + 0x6c]
push eax
push esi
call ebp
lea ecx, [esp + 0x6c]
push ecx
call fcn.0040ad50
add esp, 4
add edi, 8
dec ebx
jne 0x403c32
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x4042a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x42c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00404420
test eax, eax
je 0x404410
call fcn.0040aa30
test eax, eax
je 0x4042cb
call fcn.0040aa30
mov edi, eax
jmp 0x4042d0
mov edi, 0x42fa7c
mov esi, dword [str.Trickler]
test esi, esi
jne 0x4042df
mov esi, 0x42fa7c
call fcn.0040aa60
push eax
push edi
push esi
lea eax, [esp + 0x48]
push str._s_t:_s_s:_08lx
push eax
call dword [sym.imp.USER32.DLL_wsprintfA]
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.DLL_SystemParametersInfoA]
mov ebx, dword [sym.imp.USER32.DLL_GetSystemMetrics]
test eax, eax
jne 0x40432e
push 1
call ebx
push eax
push 0
call ebx
push eax
push 0
lea edx, [esp + 0x1c]
push 0
push edx
call dword [sym.imp.USER32.DLL_SetRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, ecx
push 0x21
sub eax, 0xfa
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call ebx
push 4
mov edi, eax
call ebx
add edi, eax
mov eax, dword [ebp]
push ebp
mov edx, dword [str.Trickler_WndClass]
push eax
push 0
push 0
push edi
push 0xfa
push 0
push esi
lea ecx, [esp + 0x5c]
push 0xc80000
push ecx
push edx
push 0
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push eax
mov dword [0x42fb44], eax
call dword [sym.imp.USER32.DLL_IsWindow]
test eax, eax
je 0x404410
mov eax, dword [esp + 0x440]
test eax, eax
je 0x4043ce
mov eax, dword [0x42fb44]
push 5
push eax
call dword [sym.imp.USER32.DLL_ShowWindow]
mov ecx, dword [0x42fb44]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov edx, dword [0x42fb44]
push edx
call dword [sym.imp.USER32.DLL_UpdateWindow]
mov esi, dword [sym.imp.USER32.DLL_GetMessageA]
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call esi
test eax, eax
je 0x404410
mov edi, dword [sym.imp.USER32.DLL_TranslateMessage]
mov ebx, dword [sym.imp.USER32.DLL_DispatchMessageA]
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x20]
push edx
call ebx
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call esi
test eax, eax
jne 0x4043f1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x42c
ret 4