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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x10043d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10043e60
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100b2370]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10043e8b
xor al, al
jmp 0x10043f05
lea ecx, [ebp - 0xc]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x10043eae
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10043f05
mov dword [ebp - 0x1c], 1
mov eax, 0xc
imul eax, eax, 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp + eax - 0x18], ecx
mov edx, dword [ebp - 8]
mov dword [ebp + eax - 0x14], edx
mov eax, 0xc
imul eax, eax, 0
mov dword [ebp + eax - 0x10], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x10043f03
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10043f05
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10048fad
mov esp, ebp
pop ebp
ret
Function at 0x10047620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x100474c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret

Function at 0x10047650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x100485f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10047780
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b2370]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
je 0x100477ac
movzx edx, word [ebp - 0x28]
cmp edx, 6
jne 0x100477b5
mov eax, 1
jmp 0x100477b7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10048fad
mov esp, ebp
pop ebp
ret
Function at 0x10048470
Capabilities:
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b2370]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1004849c
xor al, al
jmp 0x100484f5
push 0xf01ff
mov ecx, dword [ebp + 8]
call fcn.1000e0f0
push eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100484c1
xor al, al
jmp 0x100484f5
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x100484e1
xor al, al
jmp 0x100484f5
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x100484f3
xor al, al
jmp 0x100484f5
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10048fad
mov esp, ebp
pop ebp
ret

Function at 0x100486b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095408
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100b2370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.10040570
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.10048470
add esp, 4
lea edx, [ebp - 0x2c]
push edx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvchost
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10048779
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x50]
call fcn.10013da0
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
push str.GroupEx
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.100145d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.1000e020
lea ecx, [ebp - 0x28]
call fcn.1000e0f0
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.1000e020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048fad
mov esp, ebp
pop ebp
ret
Function at 0x1005a5ed
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100b2370]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10052aad
mov dword [ebp - 0x14], eax
cmp dword [0x100b73c4], edi
jne 0x1005a6de
push 0x800
push edi
push 0x1009ea78
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1005a66b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1005a7be
push 0x1009ea78
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1005a7be
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005a7be
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x100b73c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x100b73c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100b73cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100b73d4], eax
test eax, eax
je 0x1005a6db
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100b73d0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005a703
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005a6f6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1005a718
push 4
pop eax
jmp 0x1005a7c0
cmp dword [ebp - 0x14], edi
je 0x1005a718
push dword [0x100b73c4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1005a6fd
mov eax, dword [0x100b73d0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1005a776
cmp dword [0x100b73d4], esi
je 0x1005a776
push eax
call ebx
push dword [0x100b73d4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1005a776
test eax, eax
je 0x1005a776
call ecx
test eax, eax
je 0x1005a76b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1005a76b
test byte [ebp - 8], 1
jne 0x1005a776
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1005a7a6
mov eax, dword [0x100b73c8]
cmp eax, esi
je 0x1005a7a3
push eax
call ebx
test eax, eax
je 0x1005a7a3
call eax
mov edi, eax
test edi, edi
je 0x1005a7a3
mov eax, dword [0x100b73cc]
cmp eax, esi
je 0x1005a7a3
push eax
call ebx
test eax, eax
je 0x1005a7a3
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100b73c4]
call ebx
test eax, eax
je 0x1005a7be
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1005a7c0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10048fad
leave
ret
Function at 0x1006d76a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10052477
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1006d7a2
xor eax, eax
jmp 0x1006d7ce
cmp esi, dword [ebp - 4]
je 0x1006d7cb
cmp dword [ebp + 0xc], 0
je 0x1006d7cb
push dword [edi + 0x9c]
call fcn.1006d378
push dword [edi + 0x9c]
mov esi, eax
call fcn.1005a587
pop ecx
pop ecx
cmp esi, eax
je 0x1006d79e
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x402330
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x411e4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov ebp, ecx
push 0x80000001
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4023a2
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push str.Startup
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x440]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x124]
push eax
push ecx
call edi
lea edx, [esp + 0x124]
push 0x2e
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
lea eax, [esp + 0x20]
push 0x41a0f0
push eax
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x444]
mov dword [esp + 0x438], 0
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov ebx, dword [sym.imp.MSVCRT.dll__strupr]
test eax, eax
je 0x402429
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
call esi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x32c]
push ecx
push edx
jmp 0x40244b
lea eax, [esp + 0x124]
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x20]
push eax
push ecx
call esi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x32c]
push edx
push eax
call edi
lea ecx, [esp + 0x20]
push 0x41a10c
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x402467
mov byte [eax], 0
lea edx, [esp + 0x20]
push str..LNK
push edx
call esi
lea eax, [esp + 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x228]
push 0x41a0f0
push ecx
call esi
lea edx, [esp + 0x124]
push edx
call ebx
add esp, 4
push eax
lea eax, [esp + 0x22c]
push eax
call esi
lea ecx, [esp + 0x32c]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x22c]
push edx
push eax
mov ecx, ebp
call fcn.00402500
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x438], 0xffffffff
call fcn.004113dc
mov ecx, dword [esp + 0x430]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x42c
ret 8
Function at 0x402500
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x417018
push 1
push 0
push 0x417008
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4025e7
mov eax, dword [esp]
lea edx, [esp + 4]
push esi
push edx
mov ecx, dword [eax]
push 0x417028
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x4025da
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x218]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jge 0x402569
push 0
push 0
push str.SetPath_failed_
call sub.MFC42.DLL_AfxMessageBox_1
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x220]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jge 0x40258d
push 0
push 0
push str.SetDescription_failed_
call sub.MFC42.DLL_AfxMessageBox_1
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0xc]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
test esi, esi
jge 0x4025d0
push 0
push 0
push str.Save_failed_
call sub.MFC42.DLL_AfxMessageBox_1
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret 0xc

Function at 0x402bc0
Capabilities:
Inspect load icon resource

Disassembly:
push esi
push edi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
push 0xa8
push 0xe
push 0xa8
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0
push 0
push 0x40
lea edi, [esi + 0x40]
call sub.MFC42.DLL_AfxRegisterWndClass
push eax
mov ecx, edi
call fcn.00411460
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x402c0b
mov eax, dword [eax + 0x20]
push 0
push 0
push eax
mov eax, dword [edi]
push 1
push 1
push 0
push 0
push 0x40000000
push 0x41a660
push eax
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateEx
pop edi
pop esi
ret
Function at 0x405fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4126b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
lea ecx, [esp + 8]
call fcn.0040cd40
lea eax, [edi + 0x454]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], 0
call fcn.0040cfd0
mov esi, dword [esp + 0xc]
test esi, esi
je 0x40603c
add edi, 0x948
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
lea ecx, [eax + 0x68]
add eax, 4
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call fcn.00411460
test esi, esi
jne 0x40601b
mov eax, dword [esp + 0x14]
pop edi
test eax, eax
pop esi
je 0x40604f
lea ecx, [esp]
call fcn.0040cdd0
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040cd80
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x406da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4128d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004113e8
xor edi, edi
mov dword [esi + 0xc8], 0x415458
mov dword [esp + 0x18], edi
mov dword [esi + 0xcc], edi
lea ebx, [esi + 0xe4]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.004113e8
mov dword [ebx], 0x414be4
lea ebx, [esi + 0x124]
mov byte [esp + 0x18], 2
mov ecx, ebx
call fcn.004113e8
mov dword [ebx], 0x414be4
mov eax, 0x414b00
mov dword [esi + 0x168], edi
mov dword [esi + 0x164], eax
mov dword [esi + 0x170], edi
mov dword [esi + 0x16c], eax
mov dword [esi + 0x178], edi
mov dword [esi + 0x174], eax
mov dword [esi + 0x180], edi
mov dword [esi + 0x17c], eax
mov dword [esi + 0x188], edi
mov dword [esi + 0x184], eax
lea ecx, [esi + 0x194]
mov byte [esp + 0x18], 8
call fcn.0040f5b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x190], eax
or eax, 0xffffffff
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x84], edx
mov edx, dword [esp + 0x30]
push edi
mov dword [esi + 0x330], eax
mov dword [esi + 0x314], eax
push edi
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x40]
push edi
lea eax, [esi + 0x318]
push edi
push eax
mov dword [esi], 0x415820
mov dword [esi + 0x18c], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x80], edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x404], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x406ef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x412976
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call fcn.004113e8
xor ebp, ebp
mov dword [ebx + 0xc8], 0x415458
mov dword [esp + 0x1c], ebp
mov dword [ebx + 0xcc], ebp
lea esi, [ebx + 0xe4]
mov byte [esp + 0x1c], 1
mov ecx, esi
call fcn.004113e8
mov dword [esi], 0x414be4
lea esi, [ebx + 0x124]
mov byte [esp + 0x1c], 2
mov ecx, esi
call fcn.004113e8
mov dword [esi], 0x414be4
mov eax, 0x414b00
mov dword [ebx + 0x168], ebp
mov dword [ebx + 0x164], eax
mov dword [ebx + 0x170], ebp
mov dword [ebx + 0x16c], eax
mov dword [ebx + 0x178], ebp
mov dword [ebx + 0x174], eax
mov dword [ebx + 0x180], ebp
mov dword [ebx + 0x17c], eax
mov dword [ebx + 0x188], ebp
mov dword [ebx + 0x184], eax
lea ecx, [ebx + 0x194]
mov byte [esp + 0x1c], 8
call fcn.0040f5b0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea ecx, [ebx + 0x2f8]
mov dword [ebx + 0x190], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1c], 9
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ebx], 0x415820
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], edx
xor edx, edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x90]
mov dx, cx
mov dword [ebx + 0x308], ecx
or edx, 0x1000000
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebx + 0x30c], eax
mov eax, dword [esp + 0x74]
lea edi, [ebx + 0x8c]
mov ecx, 0xf
lea esi, [esp + 0x38]
mov dword [ebx + 0x88], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
or eax, 0xffffffff
mov dword [ebx + 0x18c], ebp
mov dword [ebx + 0xe0], ebp
mov dword [ebx + 0x3fc], ebp
mov dword [ebx + 0x400], ebp
mov dword [ebx + 0x310], ebp
mov dword [ebx + 0x330], eax
mov dword [ebx + 0x70], ecx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [ebx + 0x84], edx
mov edx, dword [esp + 0x84]
mov dword [ebx + 0x78], edx
mov edx, dword [esp + 0x8c]
mov dword [ebx + 0x74], ecx
mov ecx, dword [esp + 0x88]
push ebp
mov dword [ebx + 0x80], edx
push ebp
mov dword [ebx + 0x7c], ecx
mov ecx, dword [esp + 0x9c]
push ebp
lea edx, [ebx + 0x318]
push ebp
push edx
mov dword [ebx + 0x328], ecx
mov dword [ebx + 0x314], eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebx + 0x190]
mov ecx, ebx
push eax
mov dword [ebx + 0x404], ebp
call fcn.00407660
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x74
Function at 0x40ae10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x412d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x3fc]
push 1
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
mov dword [esp + 0x50], 0
call fcn.004100f0
mov eax, dword [esp + 0x30]
add esp, 0x28
cmp eax, 0x64
pop esi
jl 0x40ae85
add eax, 0x76c
mov dword [esp + 4], eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x44]
push str._d__02d__02d__s__02d:_02d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
call fcn.004113dc
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x40cbe0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
lea eax, [esp + 0xc]
xor edi, edi
mov esi, ecx
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp + 0x10]
push ecx
push 0x12
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], str.Choose_a_Computer
mov dword [esp + 0x28], 0x1000
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov ecx, dword [esp + 0x10]
mov esi, eax
cmp ecx, edi
jne 0x40cc50
cmp esi, edi
je 0x40cc66
mov eax, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push ebx
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x40dda0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x413260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push edi
mov edi, ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x28]
call fcn.0040dfe0
cmp edi, ebx
mov dword [esp + 0x90], ebx
jne 0x40ddde
mov dword [0x41a688], ebx
jmp 0x40dde6
mov eax, dword [edi + 0x20]
mov dword [0x41a688], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [edi + 0x60]
push edx
push eax
call fcn.0040a4c0
test eax, eax
jne 0x40de1a
mov dword [esp + 0x90], 1
jmp 0x40df32
push ebp
push esi
mov dword [0x41a68c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push ebx
mov ecx, edi
add esi, 0xbb8
call sub.MFC42.DLL_CWnd::EnableWindow
mov ebx, dword [sym.imp.USER32.dll_WaitMessage]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
call ebx
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call ebp
test eax, eax
je 0x40de73
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [0x41a68c], 1
jne 0x40deb4
test esi, esi
je 0x40de48
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, eax
ja 0x40de48
mov ecx, dword [esp + 0xa0]
xor esi, esi
push ecx
push edi
lea ecx, [esp + 0x34]
call fcn.0040e080
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x2c]
neg edx
sbb edx, edx
and edx, eax
mov dword [0x41a688], edx
jmp 0x40de48
pop esi
pop ebp
test edi, edi
jne 0x40dec2
mov dword [0x41a688], edi
jmp 0x40deca
mov eax, dword [edi + 0x20]
mov dword [0x41a688], eax
lea ecx, [esp + 0x24]
test ecx, ecx
je 0x40dee3
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40dee3
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CWnd::DestroyWindow
push 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [0x41a68c]
test eax, eax
jne 0x40df27
lea ecx, [esp + 0x84]
mov dword [esp + 0x90], 2
call fcn.004113dc
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], 0xffffffff
call fcn.0041136a
mov eax, 1
jmp 0x40df54
mov dword [esp + 0x90], 3
lea ecx, [esp + 0x84]
call fcn.004113dc
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], 0xffffffff
call fcn.0041136a
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0xc

Function at 0x40f9e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
fld qword [0x416d60]
mov esi, eax
fadd qword [0x416d58]
fcom qword [0x416d50]
fnstsw ax
test ah, 1
jne 0x40f9f2
fstp st(0)
call edi
sub eax, esi
cmp eax, 0x3e8
jb 0x40fa1f
mov eax, 1
pop edi
mov dword [0x41a4a8], eax
pop esi
ret
call edi
fld qword [0x416d60]
mov esi, eax
fadd qword [0x416d58]
fcom qword [0x416d48]
fnstsw ax
test ah, 1
jne 0x40fa29
fstp st(0)
call edi
mov ecx, eax
cmp ecx, esi
jne 0x40fa49
lea ecx, [esi + 1]
sub ecx, esi
mov eax, 0x3d0900
xor edx, edx
pop edi
div ecx
pop esi
mov dword [0x41a4a8], eax
ret