joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bc30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x420]
xor esi, esi
push eax
push 0x2001f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsOUTLOOK.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x420], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bce5
mov esi, dword [ebp - 0x420]
push 0x410
push eax
lea eax, [ebp - 0x414]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], 0x410
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0x421948
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bce5
mov eax, dword [ebp - 0x418]
cmp eax, 1
je 0x40bcca
cmp eax, 2
jne 0x40bce5
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x40bd04
test al, 1
jne 0x40bce5
shr eax, 1
cmp word [ebp + eax*2 - 0x416], 0
je 0x40bd0d
xor ebx, ebx
test esi, esi
je 0x40bcf2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c340
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x40bce5
xor ebx, ebx
cmp dword [ebp - 0x41c], 6
sete bl
jmp 0x40bce7
Function at 0x414180
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ee9d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.0041ad80
add esp, 4
cmp dword [ebp - 0x14], 0
jne 0x4141d1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x14]
call fcn.00414170
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x420558]
call esi
lea ecx, [ebp - 0x14]
call fcn.00414220
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4147b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test edx, edx
je 0x414833
test ecx, ecx
je 0x414833
test edi, edi
je 0x414833
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [ebp + 0x14]
mov esi, 1
or eax, 0x2001f
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x414802
xor esi, esi
jmp 0x414813
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x414821
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c340
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0041c340
mov esp, ebp
pop ebp
ret
Function at 0x414850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::Empty_void_]
push 0x800
mov ecx, edi
call dword [sym.imp.Cmmlib.dll_public:_wchar_t____thiscall_Cmm::CStringT_wchar_t_::GetBuffer_unsigned_int_]
mov ebx, eax
test ebx, ebx
jne 0x4148a4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c340
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x41492f
cmp dword [ebp - 8], 0
je 0x41492f
cmp dword [ebp - 0x14], 0
je 0x41492f
push 0x1000
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
mov esi, 1
push eax
mov eax, dword [ebp + 0x18]
or eax, 0x20019
push eax
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41491d
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0x1000
push eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41491d
cmp dword [ebp - 8], esi
je 0x41491f
xor esi, esi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x414931
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414931
xor esi, esi
mov ecx, edi
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::ReleaseBuffer_void_]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c340
mov esp, ebp
pop ebp
ret
Function at 0x414950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x414a5c
test edi, edi
je 0x414a5c
test ecx, ecx
je 0x414a5c
push esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
or eax, 0x20006
mov esi, 1
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4149f4
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push 0
or eax, 0xf003f
push eax
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [ebp - 0x10]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x4149f4
xor esi, esi
jmp 0x414a3e
mov ebx, dword [ebp - 0x18]
xor edi, edi
mov ecx, ebx
call dword [sym.imp.Cmmlib.dll_public:_int___thiscall_Cmm::CStringT_wchar_t_::IsEmpty_void_const]
test eax, eax
jne 0x414a20
mov ecx, ebx
call dword [sym.imp.Cmmlib.dll_public:_wchar_t_const____thiscall_Cmm::CStringT_wchar_t_::operator_wchar_t_const__void_const]
mov ecx, ebx
mov edi, eax
call dword [sym.imp.Cmmlib.dll_public:_unsigned_int___thiscall_Cmm::CStringT_wchar_t_::GetLength_void_const]
lea eax, [eax*2 + 2]
jmp 0x414a22
xor eax, eax
push eax
push edi
push 1
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x414a49
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c340
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0041c340
mov esp, ebp
pop ebp
ret
Function at 0x414a70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x414b4d
test edi, edi
je 0x414b4d
test ecx, ecx
je 0x414b4d
push esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
or eax, 0x20006
mov esi, 1
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x414b0e
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push 0
or eax, 0xf003f
push eax
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [ebp - 0x10]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x414b11
xor esi, esi
jmp 0x414b2f
mov ecx, dword [ebp - 0xc]
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x414b3a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c340
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0041c340
mov esp, ebp
pop ebp
ret

Function at 0x4154f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f0a2
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x42d3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x20], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], vtable.CProxy_ILyncClientEvents_class_CzClientProxy_.0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_void_]
push 0x421948
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], 3
call dword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____thiscall_Cmm::CStringT_wchar_t_::operator_wchar_t_const__]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418a10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea esi, [ecx + 0xdc]
mov dword [ebp - 0xc], eax
mov ecx, esi
call dword [sym.imp.Cmmlib.dll_public:_int___thiscall_Cmm::CStringT_wchar_t_::IsEmpty_void_const]
test eax, eax
jne 0x418b4f
push edi
push eax
push 0x10000000
push 3
push eax
push 3
push SysReAllocString
mov ecx, esi
call dword [sym.imp.Cmmlib.dll_public:_wchar_t_const____thiscall_Cmm::CStringT_wchar_t_::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x418b4e
test edi, edi
je 0x418b4e
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x418b46
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x418b46
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
jne 0x418ac5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c340
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x418ac7
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
push eax
push ebx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
jne 0x418b0f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c340
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0xc]
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x418b4d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c340
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041c340
mov esp, ebp
pop ebp
ret 4
Function at 0x41bcc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x42d3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x42d2cc]
push ebx
mov ebx, dword [0x42d2c8]
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, 1
cmp ebx, eax
jae 0x41bd62
nop dword [eax]
test edi, edi
js 0x41bd5f
mov esi, dword [ebx]
test esi, esi
je 0x41bd58
mov edi, dword [esi + 8]
mov dword [ebp - 0xc], 0
test edi, edi
je 0x41bd58
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
push 0x4218ac
push dword [esi + 0xc]
call dword [0x420558]
call edi
mov edi, eax
test edi, edi
js 0x41bd3c
mov eax, dword [esi + 0x10]
add eax, 4
push eax
push 5
push 4
push dword [ebp - 0xc]
push dword [esi]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov edi, eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x41bd53
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x420558]
call esi
mov eax, dword [0x42d2cc]
add ebx, 4
cmp ebx, eax
jb 0x41bcf0
mov esi, dword [ebp - 8]
test edi, edi
js 0x41be09
jne 0x41be05
cmp byte [esi + 0x3c], 0
je 0x41bdf0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x41bde2
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x41b810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x41bdb7
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], ebx
test ebx, ebx
je 0x41bde2
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x41bdd9
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41bdf8
mov ecx, esi
mov edi, 0x80004005
call fcn.0041bf40
jmp 0x41be09
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x41be09
mov ecx, esi
call fcn.0041bf40
jmp 0x41be09
mov byte [esi + 0x3c], 0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c340
mov esp, ebp
pop ebp
ret 4
Function at 0x40112b
Capabilities:
Check for time delay via queryperformancecounter
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
mov eax, 0x200
xor edi, edi
mov dword [0x40c088], edi
mov dword [0x40c084], eax
mov dword [0x40c080], eax
mov dword [0x40c094], 0x3f800000
mov dword [0x40c08c], 2
call fcn.0040179f
push dword [0x40c088]
movss xmm0, dword [0x40c094]
mov edx, dword [0x40c084]
push ecx
mov ecx, dword [0x40c080]
movss dword [esp], xmm0
call fcn.00401285
call fcn.00401000
push 0x404060
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x404050
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [0x404060]
movss xmm0, dword [0x402e04]
push 5
fstp dword [ebp - 4]
fld dword [ebp - 4]
mov eax, dword [0x404050]
fstp dword [ebp - 4]
push dword [0x404068]
divss xmm0, dword [ebp - 4]
mov dword [0x404058], eax
mov eax, dword [0x404054]
movss dword [ebp - 8], xmm0
mov dword [0x40405c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401270
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x401209
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x401270
push 0x404058
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [0x404058]
sub ecx, dword [0x404050]
mov eax, dword [0x40405c]
sbb eax, dword [0x404054]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
fild qword [ebp - 0x10]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [ebp - 8]
addss xmm0, dword [0x404048]
movss dword [0x404048], xmm0
call fcn.00401019
mov eax, dword [0x404058]
mov dword [0x404050], eax
mov eax, dword [0x40405c]
mov dword [0x404054], eax
cmp byte [section..data], 0
jne 0x4011ea
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401285
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x78
and dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
push 9
mov dword [esp + 0x14], ecx
pop ecx
xor eax, eax
mov esi, edx
lea edi, [esp + 0x2c]
push eax
mov dword [esp + 0x18], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x50], 0x402e20
mov dword [esp + 0x2c], 0x23
mov dword [esp + 0x30], 0x401437
call dword [sym.imp.USER32.dll_RegisterClassA]
mov ebp, dword [esp + 0x90]
test ebp, ebp
je 0x4012eb
mov ebx, 0x40008
mov edi, 0x96000000
jmp 0x4012f5
mov ebx, 0x40101
mov edi, 0x16c80000
mov eax, dword [esp + 0x10]
and dword [esp + 0x18], 0
and dword [esp + 0x1c], 0
mov dword [esp + 0x24], esi
xor esi, esi
push esi
mov dword [esp + 0x24], eax
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push esi
push dword [esp + 0x3c]
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push eax
push 1
call esi
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x3c]
add eax, ecx
sar eax, 1
push eax
push 0
call esi
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x3c]
add eax, ecx
sar eax, 1
push eax
push edi
push str.quite::speedup
push dword [esp + 0x74]
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [0x404068], eax
xor esi, esi
mov dword [esp + 0x6c], eax
xor eax, eax
inc esi
test ebp, ebp
sete al
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
push 0x20
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0x16
mov dword [esp + 0x60], 2
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], esi
call sub.d3d9.dll_Direct3DCreate9
lea edx, [esp + 0x50]
push 0x404070
push edx
push 0x40
push dword [0x404068]
mov dword [0x40406c], eax
mov ecx, dword [eax]
push esi
push ebx
push eax
call dword [ecx + 0x40]
push 5
push dword [0x404068]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x404068]
call dword [sym.imp.USER32.dll_SetFocus]
test ebp, ebp
je 0x401419
push ebx
call dword [sym.imp.USER32.dll_ShowCursor]
mov eax, dword [0x404070]
push 0x40407c
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x98]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8

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

Disassembly:
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x402680
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x407080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4070a1
mov eax, 0xff
call fcn.00402680
xor byte [esi], al
inc esi
dec ebx
jne 0x407091
pop esi
pop ebx
ret
Function at 0x40e150
Capabilities:
Enumerate files on windows
Move file

Disassembly:
sub esp, 0x870
mov eax, dword [0x47f038]
xor eax, esp
mov dword [esp + 0x86c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x880]
mov ebp, ecx
cmp byte [ebp + 0xe64], 0
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [esp + 0x888]
push 0
je 0x40e196
push 1
push 0
push edi
push esi
call fcn.0040deb0
jmp 0x40e2d5
mov ecx, dword [ebp + 4]
push edi
call fcn.00445680
test ebx, ebx
je 0x40e1b1
push 0
push 1
push edi
push 6
mov ecx, ebx
call fcn.0044dac0
push 0
push 1
push 0
push edi
push esi
mov ecx, ebp
call fcn.0040deb0
push str..in2
push edi
lea eax, [esp + 0x67c]
push 0x464ad0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x678]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x40e2d5
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [esp + 0x14], 0x10
je 0x40e2b2
lea eax, [esp + 0x40]
push eax
push edi
lea ecx, [esp + 0x474]
push 0x464ad0
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
xor eax, eax
jmp 0x40e230
movzx ecx, word [esp + eax + 0x46c]
mov word [esp + eax + 0x264], cx
add eax, 2
test cx, cx
jne 0x40e230
lea eax, [esp + 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e252
sub eax, edx
sar eax, 1
mov edx, 0x66
mov word [esp + eax*2 + 0x262], dx
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x470]
push ecx
call esi
test ebx, ebx
je 0x40e299
push 0
push 0
lea edx, [esp + 0x26c]
push edx
push 1
mov ecx, ebx
call fcn.0044dac0
cmp dword [esp + 0x88c], 0
je 0x40e2b2
lea eax, [esp + 0x264]
push eax
mov ecx, ebp
call fcn.0040dde0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e202
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x87c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044e1a0
add esp, 0x870
ret 0xc