joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
je 0x43b33d
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
je 0x43b33d
cmp dword [ebp + 0xc], 0
jne 0x43b341
xor al, al
jmp 0x43b380
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43b372
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax]
jne 0x43b372
mov al, 1
jmp 0x43b380
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
xor al, al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43b4e0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 5
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x1c2], 0
lea ecx, [ebp - 0x20]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43b64c
lea edx, [ebp - 8]
push edx
push 0
push 0
push 2
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x43b642
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43b642
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043aab0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43b642
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00409d80
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 2
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43b636
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43b636
mov dword [ebp - 4], 0
jmp 0x43b5fb
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp eax, dword [edx]
jae 0x43b62c
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx*8 + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x43b62a
mov edx, dword [ebp + 8]
mov byte [edx + 0x1c2], 1
jmp 0x43b62c
jmp 0x43b5f2
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043aa90
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret
Function at 0x43b660
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x105
push 0x105
push 0
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
call fcn.00409d80
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esp, ebp
pop ebp
ret

Function at 0x43b6a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x10
push 0x10
push 0
mov eax, dword [ebp + 8]
add eax, 4
push eax
call fcn.00409d80
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov esp, ebp
pop ebp
ret
Function at 0x43bb10
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x20
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.00409d80
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1a8], 0
mov dword [ebp - 0x20], 0x20
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x18]
shr eax, 0x14
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1a8], eax
mov esp, ebp
pop ebp
ret

Function at 0x43bb60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 4
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00409d80
add esp, 0xc
push 3
mov ecx, dword [ebp + 8]
push ecx
push 7
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
pop ebp
ret

Function at 0x43bd40
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
fldz
fstp dword [eax + 0x1bc]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x43be64
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
adc ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea edx, [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x24]
jb 0x43bdcd
ja 0x43bde9
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x28]
jb 0x43bdcd
rdtsc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
and dword [ebp - 0x2c], 0x7fffffff
fild qword [ebp - 0x30]
and dword [ebp - 0x34], 0x80000000
mov dword [ebp - 0x38], 0
fild qword [ebp - 0x38]
fchs
faddp st(1)
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
and dword [ebp - 0x3c], 0x7fffffff
fild qword [ebp - 0x40]
and dword [ebp - 0x44], 0x80000000
mov dword [ebp - 0x48], 0
fild qword [ebp - 0x48]
fchs
faddp st(1)
fsubp st(1)
fdiv qword [0x45ca90]
mov edx, dword [ebp + 8]
fstp dword [edx + 0x1bc]
mov esp, ebp
pop ebp
ret
Function at 0x43c910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454c4e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x462544]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00404850
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00404850
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x30
call fcn.00404850
mov byte [ebp - 4], 2
push 0xa
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43c984
jmp 0x43ca22
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 8
jae 0x43c9a0
jmp 0x43ca22
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43c9b9
jmp 0x43ca22
mov eax, dword [ebp - 0x28]
add eax, 1
push eax
call fcn.0043aab0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040a3c0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ecx]
cdq
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push 8
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x28]
sub eax, 8
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 8
push ecx
call fcn.004288f0
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x28]
sub eax, 8
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 8
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0043c5e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x138]
call fcn.0043de90
movzx ecx, al
test ecx, ecx
je 0x43e172
cmp dword [ebp - 4], 3
jge 0x43e172
lea edx, [ebp - 0x110]
push edx
call fcn.00409e00
add esp, 4
test eax, eax
jne 0x43e0c1
jmp 0x43e172
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041fa6a
add esp, 8
test eax, eax
jne 0x43e164
lea edx, [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x138]
call fcn.0043de30
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x43e15c
mov eax, dword [ebp - 0x138]
cmp dword [eax + 4], 0
je 0x43e11b
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 4]
push edx
call fcn.0043d4c0
add esp, 4
mov eax, dword [ebp - 0x138]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.0043d7c0
add esp, 8
mov ecx, dword [ebp - 0x138]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x114]
push edx
call fcn.0043aa90
add esp, 4
mov al, 1
jmp 0x43e174
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x43e070
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret 4
Function at 0x43fab0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x400
call fcn.0043aab0
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
push 0
push 0x80
push 3
push 0
push 1
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x43fb68
push 0
push 0x80
push 2
push 0
push 2
push 2
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
jbe 0x43fb50
cmp dword [ebp - 0x10], 0xffffffff
je 0x43fb50
push 0
lea edx, [ebp - 0xc]
push edx
push 0x400
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xc], 0
jbe 0x43fb4e
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x43fb0b
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43fb6a
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x43fb70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x43fbb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [0x464b78], ecx
mov edx, dword [0x464b78]
cmp dword [edx], 0x4550
je 0x43fba9
xor eax, eax
jmp 0x43fbb2
mov eax, dword [0x464b78]
jmp 0x43fbb2
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43fc90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 1
push 0xffffffffffffffff
push 0x23
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x4592d4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409ea0
add esp, 8
pop ebp
ret

Function at 0x43fce0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], 0x44
push 0x40
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00409d80
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0x8000044
push 0
push 0
push 0
push str.explorer.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x43fd36
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
jmp 0x43fd38
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43fd90
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x64], 0
push 0x400
call fcn.0043aab0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
push 0x4599b4
lea eax, [ebp - 0x60]
push eax
call fcn.00409e90
add esp, 8
push 0x4599b8
lea ecx, [ebp - 0x60]
push ecx
call fcn.00409ea0
add esp, 8
push 0x4599bc
lea edx, [ebp - 0x60]
push edx
call fcn.00409ea0
add esp, 8
push 0x4599c0
lea eax, [ebp - 0x60]
push eax
call fcn.00409ea0
add esp, 8
push 0x4599c4
lea ecx, [ebp - 0x60]
push ecx
call fcn.00409ea0
add esp, 8
push 0x4599c8
lea edx, [ebp - 0x60]
push edx
call fcn.00409ea0
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0x1f01ff
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x43ff0b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
push 0
lea edx, [ebp - 0x18]
push edx
push 0x400
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x64], 0x3f4
jae 0x43ff0b
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x43ff0b
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x64]
mov dword [ebp - 4], eax
push 0xc
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0043aeb0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x43fefd
mov byte [ebp - 0xd], 1
push 0x400
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043fb70
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x20
mov edx, dword [0x464b78]
mov dword [edx + 8], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x400
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x43ff0b
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
jmp 0x43fe70
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043aa90
add esp, 4
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret
Function at 0x43ff30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.00409e90
add esp, 8
push str..exe
lea edx, [ebp - 0x118]
push edx
call fcn.00409ea0
add esp, 8
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44001b
lea edx, [ebp - 0x22c]
push edx
call fcn.0043fbc0
add esp, 4
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
push eax
call fcn.00425180
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x43fff3
push 0x4592d4
mov edx, dword [ebp + 8]
push edx
call fcn.00409ea0
add esp, 8
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043af30
add esp, 8
mov byte [ebp - 5], 1
mov edx, dword [ebp - 0x25c]
push edx
call fcn.0043aa90
add esp, 4
jmp 0x44001b
mov eax, dword [ebp - 0x25c]
push eax
call fcn.0043aa90
add esp, 4
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43ff8f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret

Function at 0x440130
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 5], 0
cmp dword [0x46517c], 0
jne 0x440162
push 0x104
call fcn.0043aab0
add esp, 4
mov dword [0x46517c], eax
mov eax, dword [0x46517c]
push eax
call fcn.0043fc90
add esp, 4
mov ecx, dword [0x46517c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00409e90
add esp, 8
push 0x4599b0
mov eax, dword [ebp + 8]
push eax
call fcn.00409ea0
add esp, 8
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x440216
lea eax, [ebp - 0x124]
push eax
call fcn.00425180
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x440201
mov edx, dword [0x46517c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00409e90
add esp, 8
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043af30
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.0043ff30
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x440201
mov al, 1
jmp 0x440223
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4401ae
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret
Function at 0x440840
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x465180], 0
jne 0x4408aa
push 0x200
call fcn.0043aab0
add esp, 4
mov dword [0x465180], eax
mov eax, dword [0x465180]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4598f4
mov ecx, dword [0x464af8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4408aa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov edx, dword [0x464af8]
push edx
push str._s_d.bmp
push 0x200
mov eax, dword [0x465180]
push eax
call fcn.00401090
add esp, 0x14
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [ebp - 0xc], eax
push 8
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 4], eax
push 0xa
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 8], eax
push 0
mov eax, dword [0x465180]
push eax
push 0x800000
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0044db40
add esp, 0x14
push 0
mov eax, dword [0x465180]
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov esp, ebp
pop ebp
ret
Function at 0x440980
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x564
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x560], 0
push 0x13c
push 0
lea eax, [ebp - 0x55c]
push eax
call fcn.00409d80
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x4409c6
jmp 0x440b7f
lea edx, [ebp - 0x564]
push edx
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x4409e0
jmp 0x440b7f
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x564]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x440a20
mov edx, dword [ebp - 0x564]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x440b7f
mov edx, dword [ebp - 0x564]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
push 0x4592d4
lea edx, [ebp - 0x210]
push edx
call fcn.00409ea0
add esp, 8
push 0
mov ecx, dword [0x465158]
call fcn.0043c3e0
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0043af30
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
push 0x4598a0
push 0x200
lea edx, [ebp - 0x410]
push edx
call fcn.00401090
add esp, 0x10
lea eax, [ebp - 0x560]
push eax
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x440b2a
push 0x4598a8
lea edx, [ebp - 0x534]
push edx
call fcn.0040a9b0
add esp, 8
test eax, eax
je 0x440b15
push 0x4598ac
lea eax, [ebp - 0x534]
push eax
call fcn.0040a9b0
add esp, 8
test eax, eax
je 0x440b15
lea ecx, [ebp - 0x534]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0x4592ec
push 0x200
lea eax, [ebp - 0x410]
push eax
call fcn.00401090
add esp, 0x14
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x560]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440ab1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x80
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x440b7f
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret
Function at 0x440b90
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x440bb6
jmp 0x440c79
lea ecx, [ebp - 0x224]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x440bd0
jmp 0x440c79
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x440c0d
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x440c79
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
push 1
mov ecx, dword [0x465158]
call fcn.0043c3e0
push eax
push 0
mov ecx, dword [0x465158]
call fcn.0043c3e0
push eax
lea ecx, [ebp - 0x110]
push ecx
push str._s_s__s.lnk
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.00401090
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret