joyce8/EMBER2024-capa huggingface dataset:
Function at 0x671e2ef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6723344b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67463180]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x1b8
call fcn.67226c32
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x671e2f3b
push esi
mov ecx, eax
call fcn.671e3220
jmp 0x671e2f3d
xor eax, eax
push dword [esp + 0x1c]
lea ecx, [eax + 0x30]
mov dword [esi], eax
call fcn.6702d600
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x671e3980
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x672467be
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x67463180]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
push 0x64
call fcn.67226c32
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x671e39d1
push edi
mov ecx, eax
call fcn.671e3ba0
mov esi, eax
jmp 0x671e39d3
xor esi, esi
mov dword [edi], esi
push 8
mov dword [esp + 0x20], 1
call fcn.67226c32
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], 2
test eax, eax
je 0x671e3a03
push 0
push dword [esp + 0x28]
mov ecx, eax
call sym.Qt5Core.dll_public:_void___thiscall_QBuffer::constructor_class_QByteArray___class_QObject__
jmp 0x671e3a05
xor eax, eax
mov dword [esi + 0x2c], eax
push ecx
mov eax, esp
mov byte [esp + 0x20], 1
mov dword [eax], 2
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x30]
or dword [esi + 0x34], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4

Function at 0x671e3ab0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6723344b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67463180]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
call fcn.67226c32
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x671e3afa
push esi
mov ecx, eax
call fcn.671e3ba0
mov ecx, eax
jmp 0x671e3afc
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov dword [esi], ecx
mov dword [ecx + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x671e3ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x672467f3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67463180]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.671e2cf0
push 0x20
push 4
lea ecx, [esi + 0x38]
mov dword [esp + 0x1c], 0
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_int__char_
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
and dword [esi + 0x34], 0xfffffffe
push 0x6a
mov byte [esp + 0x18], 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call sym.Qt5Core.dll_public:_static_class_QTextCodec____cdecl_QTextCodec::codecForMib_int_
mov dword [esi + 0x58], eax
mov eax, esp
mov dword [eax], 1
mov ecx, dword [esi + 0x58]
call sym.Qt5Core.dll_public:_class_QTextDecoder____thiscall_QTextCodec::makeDecoder_class_QFlags_enum_QTextCodec::ConversionFlag__const
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.671e4f60
and dword [esi + 0x34], 0xffffff81
mov eax, esi
mov dword [esi + 0x54], 1
mov dword [esi + 0x60], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x671f0fe0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 8], 0
jne 0x671f1005
mov eax, dword [esp + 0xc]
sub eax, 0
je 0x671f0ffc
dec eax
jne 0x671f1005
mov ecx, dword [esp + 4]
jmp sym.Qt5Core.dll_private:_void___thiscall_QUnifiedTimer::stopTimer_void_
mov ecx, dword [esp + 4]
jmp sym.Qt5Core.dll_private:_void___thiscall_QUnifiedTimer::startTimers_void_
ret

Function at 0x671f13c0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
jne 0x671f1447
mov eax, dword [esp + 0xc]
cmp eax, 5
ja case.default.0x671f13d5
jmp dword [eax*4 + 0x671f1474]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym.Qt5Core.dll_struct_QMetaObject_const_QThread::staticMetaObject
jmp sym.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], sym.Qt5Core.dll_struct_QMetaObject_const_QThread::staticMetaObject
jmp sym.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call sym.Qt5Core.dll_public:_void___thiscall_QThread::start_enum_QThread::Priority_
ret
mov ecx, dword [esp + 4]
push 7
call sym.Qt5Core.dll_public:_void___thiscall_QThread::start_enum_QThread::Priority_
ret
mov ecx, dword [esp + 4]
jmp sym.Qt5Core.dll_public:_void___thiscall_QThread::terminate_void_
mov ecx, dword [esp + 4]
jmp sym.Qt5Core.dll_public:_void___thiscall_QThread::quit_void_
cmp eax, 0xa
jne case.default.0x671f13d5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp eax, sym.Qt5Core.dll_public:_void___thiscall_QThread::started_struct_QThread::QPrivateSignal_
jne 0x671f1465
mov dword [ecx], 0
ret
cmp eax, sym.Qt5Core.dll_public:_void___thiscall_QThread::finished_struct_QThread::QPrivateSignal_
jne case.default.0x671f13d5
mov dword [ecx], 1
ret
Function at 0x67225d70
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x67467938]
test eax, eax
jne 0x67225d8a
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x67467938], eax
jmp 0x67225d93
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
add eax, 0xfffffff8
mov ecx, eax
push esi
push edi
sub ecx, dword [eax + 4]
mov edi, dword [0x6746794c]
mov edx, dword [eax]
sub edi, edx
mov dword [0x6746794c], edi
cmp dword [ecx], 0
jne 0x67225dc4
add dword [ecx + 0x10], edx
lea esi, [ecx + 0x10]
mov eax, dword [esi]
mov dword [eax + ecx + 4], eax
jmp 0x67225ded
lea esi, [eax + 0x10]
mov ecx, eax
mov dword [esi], edx
mov edx, dword [0x67467948]
mov dword [eax], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
test edx, edx
je 0x67225de8
mov dword [edx + 0xc], eax
mov dword [0x67467948], eax
push ebx
mov ebx, dword [esi]
cmp dword [ebx + ecx], 0
lea edx, [ebx + ecx]
jne 0x67225e2a
mov eax, dword [edx + 0x10]
add eax, ebx
mov dword [esi], eax
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x67225e0d
mov eax, dword [edx + 0xc]
mov dword [ebx + 0xc], eax
mov ebx, dword [edx + 0xc]
mov eax, dword [edx + 8]
test ebx, ebx
je 0x67225e1c
mov dword [ebx + 8], eax
jmp 0x67225e21
mov dword [0x67467948], eax
mov eax, dword [esi]
mov dword [eax + ecx + 4], eax
lea edx, [eax + ecx]
cmp dword [ecx + 4], 0
pop ebx
jne 0x67225e7c
cmp dword [edx], 1
jne 0x67225e7c
mov edx, dword [0x67467950]
lea eax, [edi + edi*2]
sub edx, dword [esi]
shr eax, 1
cmp edx, eax
jbe 0x67225e7c
mov dword [0x67467950], edx
mov edx, dword [ecx + 8]
test edx, edx
je 0x67225e5a
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
test edx, edx
je 0x67225e69
mov dword [edx + 8], eax
jmp 0x67225e6e
mov dword [0x67467948], eax
push 0x8000
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [0x67467938]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
ret

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

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402970
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402950
xor eax, eax
push ebp
push 0x402949
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40298c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402950
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404630
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4047e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404691
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404804
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4046fe
xor eax, eax
push ebp
push 0x4046f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4046e0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404824
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4046fe
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4047df
cmp byte [ebp - 0xd], 0
jne 0x404740
cmp byte [ebp - 0x12], 0
je 0x4047df
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404759
dec ebx
cmp byte [ebx], 0x2e
je 0x404768
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404758
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4047df
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404795
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4047df
cmp byte [ebp - 0xd], 0
je 0x4047df
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4047df
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407288
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407392
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4072db
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403400
jmp 0x407379
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.0040723c
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.0040725c
mov ebx, eax
test esi, esi
je 0x407303
dec esi
test esi, esi
jl 0x407303
cmp edi, ebx
jne 0x4072e2
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.004034d0
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403764
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403560
cmp eax, 2
jl 0x407379
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x407379
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403560
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x407379
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403560
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407399
lea eax, [ebp - 0x110]
call fcn.0040331c
ret

Function at 0x4073d4
Capabilities:
Get file attributes

Disassembly:
call fcn.00405b68
push eax
call sub.kernel32.dll_GetFileAttributesA
and al, 0x10
sete al
ret

Function at 0x40742c
Capabilities:
Get file attributes

Disassembly:
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x40743b
dec eax
and al, 0x10
setne al
ret

Function at 0x4076d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x407742
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.004034d0
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.004074ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407749
lea eax, [ebp - 0x10c]
call fcn.0040331c
ret

Function at 0x407750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4077ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.004034d0
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.004074ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4077c1
lea eax, [ebp - 0x10c]
call fcn.0040331c
ret
Function at 0x4077c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x407832
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.004034d0
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.004074ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407839
lea eax, [ebp - 0x10c]
call fcn.0040331c
ret

Function at 0x407840
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov edi, ecx
mov esi, edx
mov ebx, eax
push esp
push 0
mov eax, esi
call fcn.00403724
push eax
mov eax, ebx
call fcn.00403724
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, edi
mov edx, esp
mov ecx, 0x105
call fcn.00403548
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x407880
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403714
mov eax, dword [ebp - 8]
call fcn.00403714
xor eax, eax
push ebp
push 0x4079d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040331c
cmp dword [ebp - 4], 0
je 0x4078e8
mov eax, dword [ebp - 4]
call fcn.00403560
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x4078e8
lea eax, [ebp - 4]
mov edx, 0x4079e8
call fcn.00403568
cmp dword [ebp - 8], 0
je 0x407917
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407917
lea ecx, [ebp - 0x150]
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00406fe4
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 8]
call fcn.004033b4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004035ac
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403724
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
test esi, esi
setne al
jmp 0x4079a0
test dword [ebp - 0x14c], 0x10
ja 0x40798d
cmp dword [ebx], 0
je 0x407960
mov eax, ebx
mov edx, 0x4079f4
call fcn.00403568
push dword [ebx]
push dword [ebp - 4]
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403548
push dword [ebp - 0x150]
mov eax, ebx
mov edx, 3
call fcn.00403620
lea eax, [ebp - 0x14c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
neg eax
sbb eax, eax
neg eax
test al, al
jne 0x407943
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4079d7
lea eax, [ebp - 0x150]
call fcn.0040331c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403340
ret
Function at 0x407e08
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov ebx, eax
pushal
call fcn.00407b04
call fcn.00405dd0
mov dword [ebx + 0x18], eax
popal
pushal
lea eax, [ebx + 0x1c]
call fcn.00403370
popal
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x407f07
pushal
lea edx, [ebx + 0x1c]
mov eax, dword [edx]
call fcn.004074ec
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x407e7d
call fcn.0040c490
mov dword [ebx + 0x20], eax
popal
pushal
push ecx
xchg ecx, eax
mov edx, 0x407e6f
call fcn.004071d4
test al, al
pop edx
jne 0x407e65
mov edx, 0x407e7b
mov eax, dword [ebx + 0x20]
call fcn.0040c4bc
jmp 0x407e7d
popal
add esp, 0xfffffec0
xor edx, edx
push edx
push edx
xchg ecx, eax
mov edx, esp
call fcn.00407b2c
lea eax, [esp + 4]
mov edx, dword [ebx + 0x1c]
pop ecx
push ecx
call fcn.004035ac
call fcn.00405b8c
pop eax
mov edx, esp
push eax
push edx
push eax
call sub.kernel32.dll_FindFirstFileA
mov edi, eax
inc eax
mov eax, esp
pushfd
call fcn.0040331c
popfd
pop ecx
je 0x407f01
mov ecx, dword [esp]
push dword [ebp + 8]
lea edx, [esp + 0x30]
mov eax, ebx
call fcn.00407b64
test al, al
je 0x407ef0
mov eax, 0x140
push eax
call fcn.00402600
push eax
xchg edx, eax
mov eax, dword [ebx + 0x18]
call fcn.00405e4c
pop edx
pop ecx
mov eax, esp
call fcn.004026d4
push esp
push edi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x407ebd
push edi
call sub.kernel32.dll_FindClose
add esp, 0x140
xor eax, eax
xchg dword [ebx + 0x20], eax
call fcn.00405d54
pop edi
pop ebx
pop ebp
ret 4

Function at 0x407f48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00403724
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete al
pop ebp
ret

Function at 0x408174
Capabilities:
Create thread

Disassembly:
push ebx
mov eax, dword [0x44dca4]
mov byte [eax], 1
mov edx, dword [0x4059cc]
xor eax, eax
call fcn.00405d0c
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x408164
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
ret

Function at 0x408204
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x40821f
mov byte [ebx + 0x18], 1
pop ebx
ret
cmp word [ebx + 0x2c], 0
je 0x40822e
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
ret

Function at 0x408230
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
ret
Function at 0x4085d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408668
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x40861d
mov eax, dword [ebx + 0x19]
call fcn.00403724
push eax
push esi
mov eax, edi
call fcn.00403724
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403724
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x408652
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.00403724
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.00406e7c
mov eax, dword [ebp - 8]
call fcn.00403724
push eax
mov eax, edi
call fcn.00403724
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403724
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40866f
lea eax, [ebp - 8]
call fcn.0040331c
ret

Function at 0x40867c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x408685
mov eax, dword [ebp - 4]
add esp, 4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [ebx + 0x18], 0
jne 0x4086f3
mov byte [ebp - 0x8000], 0
mov eax, dword [ebx + 0x19]
call fcn.00403724
push eax
push 0x8000
lea eax, [ebp - 0x8000]
push eax
mov eax, esi
call fcn.00403724
push eax
mov eax, edi
call fcn.00403724
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403724
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x8000]
mov ecx, 0x8000
call fcn.00403548
jmp 0x408724
mov eax, dword [ebp + 8]
mov edx, esi
call fcn.004033b4
mov eax, dword [ebx + 0x19]
call fcn.00403724
push eax
mov eax, esi
call fcn.00403724
push eax
mov eax, edi
call fcn.00403724
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403724
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40af58
Capabilities:
Get graphical window text

Disassembly:
xchg edx, eax
movzx ecx, byte [edx + 0x3a]
jecxz 0x40af67
mov edx, dword [edx + 0x36]
jmp fcn.004034d0
mov ecx, dword [edx + 0x18]
jecxz 0x40af5f
push ebx
push esi
xchg ebx, eax
mov esi, ecx
push esi
call sub.user32.dll_GetWindowTextLengthA
mov edx, eax
inc eax
push eax
mov eax, ebx
call fcn.00403890
pop edx
mov ecx, dword [ebx]
jecxz 0x40af8f
push edx
push ecx
push esi
call sub.user32.dll_GetWindowTextA
pop esi
pop ebx
ret

Function at 0x40b000
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x27], 0xef
test dl, dl
je 0x40b00c
or byte [eax + 0x27], 0x10
mov byte [eax + 0x4e], dl
mov ecx, dword [eax + 0x18]
jecxz 0x40b028
push eax
je 0x40b029
call dword [0x44c150]
pop eax
push 5
push dword [eax + 0x18]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x15a], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x44c150]
ret

Function at 0x40d9c4
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.0040d344
je 0x40da09
mov eax, ebx
push edx
call fcn.0040dd9c
pop edx
cmp eax, edx
je 0x40da09
test edx, edx
mov eax, ebx
jne 0x40d9e8
pop ebx
inc edx
jmp fcn.0040dd8c
mov byte [ebx + 0x49], dl
cmp dl, 5
jne 0x40d9f1
dec edx
push edx
xor edx, edx
call fcn.0040dd8c
mov eax, dword [ebx + 0x3d]
movzx eax, word [eax + 0xe]
call fcn.0040ce30
pop edx
cmp al, dl
xchg ebx, eax
pop ebx
jne fcn.0040daa4
ret