joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c8a8
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x558377
call fcn.0052fa89
mov eax, dword [ebp + 8]
or dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x28], eax
xor edi, edi
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
push 0x41c867
push edi
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], ebx
call fcn.0052d4ff
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push 0x41c885
push edi
push edi
mov dword [ebp - 0x20], esi
call fcn.0052d4ff
add esp, 0x30
push 0xffffffffffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], eax
push 1
lea eax, [ebp - 0x34]
push eax
push 2
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], edi
je 0x41c95f
push 0x587cac
lea ecx, [ebp + 8]
call fcn.00401daf
lea esi, [ebp - 0x1c]
mov eax, ebx
mov dword [ebp - 4], edi
call fcn.00409f1d
push 1
lea edx, [ebp + 8]
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00417627
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
xor eax, eax
cmp dword [ebp - 0x14], edi
sete al
call fcn.0052fb61
ret 4

Function at 0x41ce0b
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0x10
pop eax
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
call fcn.0052bfd0
add esp, 0xc
push 0xf0000020
push 1
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x41cea8
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x41ce9e
push ebx
push dword [ebp + 8]
call fcn.0052b5e0
pop ecx
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x41ce95
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x41ce95
mov byte [ebp - 1], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x41d42a
Capabilities:
Read .ini file

Disassembly:
push 0xb0
mov eax, 0x55833f
call fcn.0052faf2
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
call fcn.0042b589
push eax
lea ecx, [ebp - 0xac]
call fcn.0040217f
and dword [ebp - 4], 0
and dword [ebp - 0xa0], 0
lea eax, [ebp - 0x9c]
push eax
push ecx
mov esi, esp
mov eax, ebx
lea edi, [ebp - 0xb0]
mov dword [ebp - 0x9c], esp
call fcn.00409f1d
mov ecx, edi
call fcn.00418817
pop ecx
pop ecx
mov dword [ebp - 0x98], 0xc9
push dword [ebp - 0x98]
lea eax, [ebp - 0xac]
push 0x58837c
push eax
call fcn.004034f1
add esp, 0xc
cmp dword [ebp - 0x98], 0xc9
jne 0x41d4c0
mov dword [ebp - 0xa8], 0x2bd
jmp 0x41d502
lea esi, [ebp - 0xbc]
mov eax, ebx
call fcn.00409f1d
mov byte [ebp - 4], 1
push dword [ebp - 0xb0]
mov eax, dword [eax]
push eax
push 1
push dword [ebp - 0x98]
call fcn.0041aa0e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
add ecx, 0xfffffff0
mov dword [ebp - 0xa8], eax
call fcn.004021a7
lea edi, [ebp - 0x9c]
call fcn.00409aef
mov edi, eax
lea esi, [ebp - 0xa4]
mov eax, ebx
mov byte [ebp - 4], 2
call fcn.00409f1d
push eax
lea eax, [ebp - 0xb8]
push str.DCEX.
push eax
mov byte [ebp - 4], 3
call fcn.0040704f
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push edi
push dword [ebp - 0xa8]
mov edi, dword [ebp - 0xac]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xb8]
mov esi, eax
test esi, esi
setg byte [ebp - 0x91]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.004021a7
cmp byte [ebp - 0x91], 0
je 0x41d5a7
mov eax, dword [ebp - 0xa0]
inc dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x90], esi
inc dword [ebp - 0x98]
cmp dword [ebp - 0x98], 0xe6
jle 0x41d48e
lea esi, [ebp - 0xa4]
mov eax, ebx
call fcn.00409f1d
mov esi, eax
lea eax, [ebp - 0x9c]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.0041b662
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
push ecx
push dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xb4]
mov byte [ebp - 4], 5
push dword [esi]
mov edx, dword [eax]
call fcn.0040233b
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.004021a7
lea ecx, [edi - 0x10]
call fcn.004021a7
call fcn.0052fb75
ret 4
Function at 0x41d62b
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x557b14
call fcn.0052fa89
call fcn.0042b589
push eax
lea ecx, [ebp - 0x14]
call fcn.0040217f
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
push ecx
mov esi, esp
lea edi, [ebp - 0x18]
mov dword [ebp - 0x28], esp
call fcn.00409f1d
mov ecx, edi
call fcn.00418817
pop ecx
pop ecx
mov dword [ebp - 0x10], 0xc9
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0x58837c
push eax
call fcn.004034f1
add esp, 0xc
cmp dword [ebp - 0x10], 0xc9
jne 0x41d692
mov ebx, 0x2bd
jmp 0x41d6c5
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x1c]
call fcn.00409f1d
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push 1
push dword [ebp - 0x10]
call fcn.0041aa0e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
mov ebx, eax
call fcn.004021a7
lea edi, [ebp - 0x28]
call fcn.00409aef
mov edi, eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00409f1d
push eax
lea eax, [ebp - 0x20]
push str.DCEX.
push eax
mov byte [ebp - 4], 3
call fcn.0040704f
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push edi
mov edi, dword [ebp - 0x14]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x20]
mov esi, eax
test esi, esi
setg bl
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004021a7
test bl, bl
je 0x41d742
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
mov dword [eax + ecx*4 + 0x28], esi
inc dword [eax + 0x24]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xe6
jle 0x41d66e
lea ecx, [edi - 0x10]
call fcn.004021a7
call fcn.0052fb61
ret
Function at 0x41dc3d
Capabilities:
Create thread

Disassembly:
push 0x1c
mov eax, 0x558272
call fcn.0052fa89
mov ebx, ecx
lea eax, [ebp - 0x18]
push eax
push ecx
mov esi, esp
mov eax, ebx
lea edi, [ebp - 0x14]
mov dword [ebp - 0x20], esp
call fcn.00409f1d
mov ecx, edi
call fcn.00418817
push dword [ebp - 0x14]
call fcn.0041d8ae
add esp, 0xc
push 0xfd4
call fcn.0042b4e8
pop ecx
test eax, eax
je 0x41dc8b
mov esi, eax
call fcn.0041d142
mov edi, eax
jmp 0x41dc8d
xor edi, edi
lea esi, [ebp - 0x18]
mov eax, ebx
call fcn.00409f1d
and dword [ebp - 4], 0
lea ecx, [edi + 4]
push eax
call fcn.00401ee1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
lea esi, [ebp - 0x18]
mov eax, ebx
call fcn.0040a2d0
lea ecx, [edi + 8]
push eax
mov dword [ebp - 4], 1
call fcn.00401ee1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0041b662
pop ecx
pop ecx
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.00401ee1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
and dword [edi + 0x24], 0
and dword [edi + 0x20], 0
push ecx
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.00409f1d
call fcn.00419119
pop ecx
test al, al
jne 0x41dd42
push ecx
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.00409f1d
call fcn.00418d42
pop ecx
test al, al
jne 0x41dd42
xor esi, esi
xor eax, eax
jmp 0x41dd47
xor eax, eax
inc eax
xor esi, esi
push edi
push ebx
mov byte [edi + 0xfd0], al
call fcn.0041d62b
push dword [ebp - 0x14]
push ebx
call fcn.0041d760
add esp, 0x10
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push esi
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x24], eax
push 8
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0xfc4]
push eax
call fcn.0052b670
add esp, 0xc
test byte [ebx + 0x48], 0x10
jbe 0x41ddae
xor eax, eax
cmp dword [ebx + 0x30], 0xc8
setl al
dec eax
and eax, 6
add eax, 0x1a
mov dword [edi + 0xfcc], eax
lea eax, [ebp - 0x20]
push eax
push esi
push edi
push 0x41d18a
push esi
push esi
mov dword [ebp - 0x20], esi
call fcn.0052d4ff
add esp, 0x18
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x733c
push esi
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x41ddea
mov ebx, dword [ebx + 0x4c]
jmp 0x41dded
mov ebx, dword [ebx + 0x50]
cmp ebx, esi
je 0x41ddf8
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.0052fb61
ret
Function at 0x41eb31
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x552b82
call fcn.0052fa89
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00401e83
pop ecx
push dword [0x5bc5e0]
lea esi, [eax + 0x10]
push 1
push str.FirstRun
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, edi
call fcn.0052fb61
ret

Function at 0x41eb82
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x552b82
call fcn.0052fa89
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00401e83
pop ecx
push dword [0x5bc5e4]
lea esi, [eax + 0x10]
push 1
push str.FirstRun
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, edi
call fcn.0052fb61
ret
Function at 0x41ee87
Capabilities:
Read .ini file

Disassembly:
push 0x248
mov eax, 0x55726c
call fcn.0052faf2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
xor esi, esi
xor eax, eax
inc esi
push 0x206
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0052bfd0
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00409c58
mov eax, dword [eax]
push str.CopyCusPro.ini
push eax
mov ebx, 0x588938
lea eax, [ebp - 0x21c]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x220]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x21c]
push eax
push esi
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x41f0c4
call fcn.0042b589
push eax
lea ecx, [ebp - 0x220]
call fcn.0040217f
mov byte [ebp - 4], 2
call fcn.00409b98
mov eax, dword [eax]
push str.Devices
push str.Resources
push eax
lea eax, [ebp - 0x220]
push 0x58b7ac
push eax
call fcn.004034f1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x14
push eax
call fcn.00401e83
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
jne 0x41ef88
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401ee1
mov esi, dword [ebp - 0x22c]
call fcn.0042b589
push eax
lea ecx, [ebp - 0x224]
call fcn.0040217f
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x220]
push esi
push edi
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.004034f1
add esp, 0x10
lea ecx, [ebp - 0x254]
call fcn.0042d64f
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x224]
push 0
push ebx
lea ecx, [ebp - 0x254]
call fcn.0042d6f6
lea ecx, [ebp - 0x254]
test eax, eax
jne 0x41f003
mov byte [ebp - 4], 4
call fcn.0042d681
lea ecx, [ebx - 0x10]
call fcn.004021a7
lea ecx, [esi - 0x10]
call fcn.004021a7
lea ecx, [edi - 0x10]
jmp 0x41f0bf
call fcn.0042d1bb
push dword [ebp - 0x228]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x228], esp
mov ebx, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov dword [ebp - 0x230], esp
mov ebx, esp
push esi
call fcn.00401e83
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x234], esp
call fcn.00409c58
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x238], esp
mov ebx, esp
push edi
mov byte [ebp - 4], 8
call fcn.00401e83
add eax, 0x10
mov dword [ebx], eax
pop ecx
mov byte [ebp - 4], 5
call fcn.0041dee0
add esp, 0x14
test eax, eax
je 0x41f099
lea eax, [ebp - 0x21c]
push eax
push 0x58a4e0
push str.FirstRun
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 4
call fcn.0042d681
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, esi
call fcn.004021a7
mov ecx, edi
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0052fb75
ret
Function at 0x421d67
Capabilities:
Read .ini file

Disassembly:
push 0x58
mov eax, 0x5578d6
call fcn.0052fa89
mov edi, ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x421d8e
lea ecx, [eax - 0x10]
jmp 0x421eb3
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00401e83
add eax, 0x10
pop ecx
mov dword [esi], eax
push edi
lea eax, [ebp - 0x64]
push eax
call fcn.00407ddf
lea eax, [ebp + 8]
lea ecx, [ebx + 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.00401ee1
lea ecx, [ebp - 0x64]
mov dword [ebx + 8], edi
call fcn.004083a0
lea ecx, [ebp - 0x64]
mov dword [ebx + 0xc], eax
call fcn.0040830c
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x64]
call fcn.00407f68
push dword [ebp - 0x58]
movzx eax, al
push 0
push str.SupportsEpsonScanSetting
push dword [ebp - 0x5c]
mov dword [ebx + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
neg eax
lea edi, [ebp - 0x10]
lea esi, [ebp - 0x64]
mov dword [ebx + 0x18], eax
call fcn.00408431
lea ecx, [ebx + 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.00401ee1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.004084a7
lea ecx, [ebx + 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.00401ee1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.0040859d
lea ecx, [ebx + 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.00401ee1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, esi
call fcn.00408692
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x421ea5
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
mov esi, ebx
call fcn.00421ed6
lea ecx, [ebp - 0x64]
call fcn.00407f3e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0052fb61
ret 0xc
Function at 0x425746
Capabilities:
Enumerate files on windows

Disassembly:
push 0x260
mov eax, 0x5540f5
call fcn.0052faf2
and dword [ebp - 4], 0
and dword [ebp - 0x268], 0
mov ecx, edi
call fcn.0042c572
push 1
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp + 8]
call fcn.00406fff
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x42579a
test ecx, ecx
jns 0x425790
push 0x80070057
call fcn.00402165
cmp word [eax], 0x5c
jne 0x42579a
xor bl, bl
jmp 0x42579c
mov bl, 1
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.004021a7
test bl, bl
je 0x4257b8
push 0x5c
lea ecx, [ebp + 8]
call fcn.0040d76d
push 0x58957c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004016d7
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
cmp esi, 0xffffffff
je 0x4258da
test byte [ebp - 0x260], 0x12
jne 0x4258bd
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.00401daf
push str.desktop.ini
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00408932
test eax, eax
je 0x4258ab
push str.Thumbs.db
lea ecx, [ebp - 0x264]
call fcn.00408932
test eax, eax
je 0x4258ab
push str.__.___
lea ecx, [ebp - 0x264]
call fcn.00408932
test eax, eax
je 0x4258ab
push str.________.___
lea ecx, [ebp - 0x264]
call fcn.00408932
test eax, eax
je 0x4258ab
push str..
lea ecx, [ebp - 0x264]
call fcn.00408932
test eax, eax
je 0x4258ab
push 0
push str.fio12_
lea ecx, [ebp - 0x264]
call fcn.00406fa0
cmp eax, 0xffffffff
jne 0x4258ab
inc dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push eax
mov ecx, edi
call fcn.0042c6d5
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4257f9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [ebp - 0x268]
call fcn.0052fb75
ret 4
Function at 0x4258f3
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x5540ba
call fcn.0052faf2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
and dword [ebp - 4], 0
mov ecx, edi
call fcn.0042c572
push 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp + 8]
call fcn.00406fff
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x425949
test ecx, ecx
jns 0x42593f
push 0x80070057
call fcn.00402165
cmp word [eax], 0x5c
jne 0x425949
xor bl, bl
jmp 0x42594b
mov bl, 1
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.004021a7
test bl, bl
je 0x425967
push 0x5c
lea ecx, [ebp + 8]
call fcn.0040d76d
push 0x58957c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.004016d7
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
cmp esi, 0xffffffff
je 0x425b11
test byte [ebp - 0x264], 0x12
jne 0x425af4
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401daf
push str.desktop.ini
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00408932
test eax, eax
je 0x425ae2
push str.Thumbs.db
lea ecx, [ebp - 0x268]
call fcn.00408932
test eax, eax
je 0x425ae2
push str.__.___
lea ecx, [ebp - 0x268]
call fcn.00408932
test eax, eax
je 0x425ae2
push str.________.___
lea ecx, [ebp - 0x268]
call fcn.00408932
test eax, eax
je 0x425ae2
push str..
lea ecx, [ebp - 0x268]
call fcn.00408932
test eax, eax
je 0x425ae2
push 0
push str.fio12_
lea ecx, [ebp - 0x268]
call fcn.00406fa0
cmp eax, 0xffffffff
jne 0x425ae2
mov ecx, dword [ebp - 0x278]
push 0
push dword [ebp - 0x268]
call fcn.0042c4cb
test eax, eax
jne 0x425ae2
call fcn.0042b589
push eax
lea ecx, [ebp - 0x26c]
call fcn.0040217f
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 2
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.00401ee1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0042c6d5
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.004021a7
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4259a8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
xor eax, eax
inc eax
call fcn.0052fb75
ret 8
Function at 0x427420
Capabilities:
Read .ini file

Disassembly:
push 0x214
mov eax, 0x553fbd
call fcn.0052faf2
mov eax, dword [ebp + 8]
and dword [ebp - 0x214], 0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], ecx
and dword [ebp - 4], 0
push dword [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push pe_nt_image_headers32
lea edx, [ebp - 0x210]
push edx
push dword [ebp + 0xc]
push ecx
push eax
call esi
cmp eax, 0xff
je 0x42747c
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.00401daf
jmp 0x4274eb
push 0x1000
call fcn.0042b522
pop ecx
push dword [edi + 4]
mov dword [ebp - 0x218], eax
push 0x400
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
call esi
push dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
call fcn.00401daf
push dword [ebp - 0x218]
mov byte [ebp - 4], 1
call fcn.0042b517
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
push eax
call fcn.00401e83
pop ecx
pop ecx
mov ecx, dword [ebp - 0x214]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, ebx
call fcn.0052fb75
ret 8

Function at 0x42775e
Capabilities:
Read .ini file

Disassembly:
push 0xdc
mov eax, 0x555226
call fcn.0052faf2
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xdc], ebx
call fcn.0042b589
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040217f
and dword [ebp - 4], 0
call fcn.00409b98
push str.EventGUID.ini
push dword [eax]
lea eax, [ebp - 0xd4]
push 0x588938
push eax
call fcn.004034f1
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x10
push dword [ebp - 0xd4]
mov edi, str.GUID
push 0
push str.ButtonCount
push edi
call esi
push dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
push ebx
push str.GUIDGroupNum
push edi
call esi
cmp dword [ebp - 0xd8], 0
mov dword [ebp - 0xe8], eax
jle 0x4278a7
test eax, eax
jle 0x4278a7
and dword [ebp - 0xe0], 0
mov edi, ebx
cmp eax, ebx
jl 0x4278a7
cmp dword [ebp - 0xe0], 0
jne 0x4278a7
mov esi, ebx
cmp dword [ebp - 0xd8], ebx
jl 0x42789a
push esi
lea eax, [ebp - 0x24]
push 0x58837c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x4c]
push str.GUID_d
push eax
call fcn.00427db1
add esp, 0x18
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push 0x41
push eax
push 0x587cac
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0xe4]
call fcn.0052c1d4
pop ecx
pop ecx
test eax, eax
je 0x42788e
inc esi
cmp esi, dword [ebp - 0xd8]
jle 0x427827
jmp 0x42789a
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
inc edi
cmp edi, dword [ebp - 0xe8]
jle 0x427810
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [ebp - 0xdc]
call fcn.0052fb75
ret 4