joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4810d0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b2716
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x5c595c]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.0049f5b2
push str..
lea ecx, [esp + 0x10]
call fcn.0049f805
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x481173
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.0049f429
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0049f429
xor eax, eax
jmp 0x4812b8
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x5c55e0
push edx
call fcn.0048e694
add esp, 8
test eax, eax
je 0x481269
lea eax, [esp + 0x48]
push 0x5c55dc
push eax
call fcn.0048e694
add esp, 8
test eax, eax
je 0x481269
test ebp, ebp
jne 0x4811d5
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.0048e743
add esp, 8
test eax, eax
je 0x481269
push esi
lea ecx, [esp + 0x14]
call fcn.0049f5b2
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0049f82c
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.0049f805
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x481215
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x481237
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.004810d0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x481269
test edi, edi
je 0x48125e
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.0048e743
add esp, 8
test eax, eax
jne 0x48125e
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.004812e0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x481183
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.0049f429
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.0049f429
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x4812e0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b272b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.0048ef50
mov eax, dword [0x5c595c]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.0049f5b2
push 0x5c
lea ecx, [esp + 8]
call fcn.0049f82c
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.0049f805
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x481386
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.0049f429
xor eax, eax
jmp 0x481403
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x4813e1
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x4813d3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x4813ad
jmp 0x4813e1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.0049f429
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4819a6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4819a6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x481987
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x481d30
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x481d68
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4829f0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x482a39
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x482eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b2970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00482a60
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00482ae0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00482ae0
lea ecx, [esi + 0xc]
call fcn.0049f3b4
lea ecx, [esi + 0x10]
call fcn.0049f3b4
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00484070
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00484070
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00484070
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0049f429
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0049f429
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a026f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004aa6c8
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a02a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004a02b3
pop edi
pop esi
pop ebx
ret 8

Function at 0x4a1887
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a18bf
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049f8d0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049f8a8
jmp 0x4a18cb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a317b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a31bd
call fcn.004aa6c8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a31bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a31b4
xor eax, eax
jmp 0x4a31c5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a31cb
pop edi
pop esi
pop ebx
ret 4

Function at 0x4aabf8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4aac26
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aac44
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004aab5e
jmp 0x4aac44
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4aac44
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004aab5e
test edi, edi
mov eax, edi
jne 0x4aac2e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x402c00
pop dword [ebp - 0x18]
mov eax, 0x59af738
sub eax, 0x55acb38
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xa7ad7c0a
sub dword [ebp - 0x28], 0x595b36bf
mov dword [ebp - 0x24], 0x7449e74c
add dword [ebp - 0x24], 0xbde964f9
mov dword [ebp - 0x20], 0x704720f8
sub dword [ebp - 0x20], 0x23fadcca
mov dword [ebp - 0x1c], 0xc68ae4bb
sub dword [ebp - 0x1c], 0xc68ae4bb
lea eax, [ebp - 0x28]
push eax
mov eax, 0x56e6d1a6
sub eax, 0x56a6511a
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x2f788c71
add dword [ebp - 0x28], 0x44f9dce5
mov dword [ebp - 0x24], 0x77535348
sub dword [ebp - 0x24], 0x35e6f1d3
mov dword [ebp - 0x20], 0xd08fcc40
sub dword [ebp - 0x20], 0x6d205fd4
mov dword [ebp - 0x1c], 0x365b67e7
sub dword [ebp - 0x1c], 0x365b67e7
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xf60335c2
sub eax, 0xf5c2b4ee
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3c2ce
push 0
call eax
mov ecx, 0xda24b951
sub ecx, 0xda245b5f
mov ebx, eax
mov esi, 0xe27b30d2
sub esi, 0xe23a20d2
add esi, dword [ebp - 0x18]
mov edi, 0x5106f16c
add edi, 0x2519fb78
add dword [ebp - 4], 0x77aa4756
mov edx, dword [esi]
xor dword [ebp - 8], ecx
sub edx, edi
add dword [ebp - 4], edx
mov dword [ebx], edx
add dword [ebp - 0x14], edx
add ebx, 4
add esi, 0xc9bd699f
add esi, 0x36429665
loop 0x402d22
add eax, 0x16a9b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xcffb5994
sub ecx, 0xcfbb5994
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x401f80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43a2c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [esp + 0xc], ebx
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
lea ecx, [ebx + 0x3c]
mov dword [esp + 0x18], 0
call fcn.00401b70
mov dword [ebx + 0x34], vtable.WTL::CMessageFilter.0
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x38], vtable.WTL::CIdleHandler.0
mov byte [esp + 0x18], 1
mov dword [ebx], vtable.CMainFrame.0
mov dword [ebx + 0x34], vtable.CMainFrame.1.0
mov dword [ebx + 0x38], vtable.CMainFrame.2.0
call fcn.00401980
lea ecx, [ebx + 0x114]
mov dword [ebx + 0x54], vtable.WTL::CCommandBarCtrl.0
call fcn.00401ac0
mov ecx, dword [esp + 0x10]
mov dword [ebx + method.CCustomTabView.virtual_0], vtable.CCustomTabView.0
mov dword [ebx + 0x194], 0
mov dword [ebx + 0x198], 0
mov eax, dword [0x44b084]
mov dword [ebx + 0x19c], eax
mov dword [ebx + 0x1a4], 0
mov dword [ebx + 0x1b4], 0
mov dword [ebx + 0x1c0], edi
mov dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1bc], 0
mov dword [ebx + method.CAddressComboBox.virtual_0], vtable.CAddressComboBox.0
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1c8], 0
mov eax, dword [0x44b084]
pop edi
mov dword [ebx + 0x1d4], eax
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4020d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
push 0x30
mov esi, ecx
push 0
push esi
call fcn.00423310
push 0x90
lea eax, [esp + 0x18]
mov dword [esi], 0x30
push 0
push eax
mov dword [esp + 0x1c], 0x94
call fcn.00423310
add esp, 0x18
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x402129
mov eax, dword [esp + 8]
cmp eax, 5
jae 0x40212f
cmp eax, 4
jne 0x402129
cmp dword [esp + 0xc], 0x5a
jae 0x40212f
mov dword [esi], 0x2c
mov eax, esi
pop esi
add esp, 0x94
ret
Function at 0x405450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [0x44ecb4]
push 2
push dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
xor ecx, ecx
pop esi
cmp word [eax + 0xe], 0x20
sete al
ret

Function at 0x405480
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push 0x90
lea eax, [esp + 8]
mov dword [esp + 4], 0x94
push 0
push eax
call fcn.00423310
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x4054ce
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x4054c5
cmp eax, 4
jne 0x4054ce
cmp dword [esp + 8], 0x5a
jb 0x4054ce
xor al, al
add esp, 0x94
ret
mov al, 1
add esp, 0x94
ret
Function at 0x4058e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x160
push esi
push edi
mov edi, dword [esp + 0x16c]
mov esi, ecx
test edi, edi
je 0x40590b
push edi
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
jne 0x40590b
pop edi
pop esi
add esp, 0x160
ret 4
test byte [esi + 0x86], 1
je 0x405921
cmp dword [esi + 0x44], 0
je 0x405921
mov ecx, esi
call fcn.0041ba10
mov eax, dword [esi + 0x44]
test eax, eax
je 0x405935
test byte [esi + 0x58], 2
jne 0x405935
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
test byte [esi + 0x84], 2
mov dword [esi + 0x44], edi
jne 0x405b42
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push dword [esi + 4]
call ebx
push 0
push 0
push 0x418
push dword [esi + 4]
call ebx
mov edi, eax
test edi, edi
jle 0x405981
jmp 0x405970
push 0
push 0
push 0x416
push dword [esi + 4]
call ebx
dec edi
jne 0x405970
mov eax, dword [esi + 0x44]
test eax, eax
je 0x405b20
push ebp
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebp, eax
mov byte [esp + 0x78], 0
push 0x63
lea eax, [esp + 0x7d]
mov dword [esp + 0x14], ebp
push 0
push eax
call fcn.00423310
add esp, 0xc
xor edi, edi
test ebp, ebp
jle 0x405b1f
mov ebp, dword [sym.imp.USER32.dll_SetMenuItemInfoA]
push 0x30
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00423310
push 0x90
lea eax, [esp + 0xf0]
mov dword [esp + 0x38], 0x30
push 0
push eax
mov dword [esp + 0xf4], 0x94
call fcn.00423310
add esp, 0x18
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x405a25
mov eax, dword [esp + 0xe0]
cmp eax, 5
jae 0x405a2d
cmp eax, 4
jne 0x405a25
cmp dword [esp + 0xe4], 0x5a
jae 0x405a2d
mov dword [esp + 0x28], 0x2c
lea eax, [esp + 0x78]
mov dword [esp + 0x2c], 0x15
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x28]
push eax
push 1
push edi
push dword [esi + 0x44]
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], 0x64
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cmp eax, 0x63
jle 0x405a88
lea eax, [esp + 0x28]
mov dword [esp + 0x30], 4
push eax
push 1
push edi
push dword [esi + 0x44]
call ebp
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
and al, 3
mov dword [esp + 0x14], 0
neg al
movdqu xmmword [esp + 0x18], xmm0
sbb al, al
mov dword [esp + 0x18], edi
and al, 0xfc
mov byte [esp + 0x1d], 0x18
add al, 4
mov dword [esp + 0x20], 0
mov byte [esp + 0x1c], al
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push 0x415
push dword [esi + 4]
mov dword [esp + 0x34], 0
call ebx
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
lea eax, [esp + 0x78]
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
push eax
push edi
push 0x442
push dword [esi + 4]
movdqu xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x68], 0x20
mov dword [esp + 0x6c], 2
call ebx
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4059c0
pop ebp
push 0
push 1
push 0xb
push dword [esi + 4]
call ebx
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x160
ret 4
Function at 0x405b60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43a698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, dword [esp + 0x7c]
push 8
push 0
push 0x454
push edi
call esi
mov eax, dword [0x44b084]
mov dword [esp + 0x7c], eax
push 0x7918
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0
call fcn.0040d9a0
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x58]
push eax
push 0xffffffffffffffff
push 0x415
push edi
mov word [esp + 0x70], 0x5004
mov dword [esp + 0x6c], 0x7918
mov dword [esp + 0x68], 0
mov dword [esp + 0x74], 0
call esi
push 0x7919
lea ecx, [esp + 0x80]
call fcn.0040d9a0
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
push eax
push 0xffffffffffffffff
push 0x415
push edi
mov word [esp + 0x5c], 0x5004
mov dword [esp + 0x58], 0x7919
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0
call esi
push 0x791a
lea ecx, [esp + 0x80]
call fcn.0040d9a0
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x34], xmm0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push 0x415
push edi
mov word [esp + 0x48], 0x5004
mov dword [esp + 0x44], 0x791a
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], 0
call esi
push 0x791b
lea ecx, [esp + 0x80]
call fcn.0040d9a0
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x20], xmm0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 0x415
push edi
mov word [esp + 0x34], 0x5004
mov dword [esp + 0x30], 0x791b
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0
call esi
push 0x791c
lea ecx, [esp + 0x80]
call fcn.0040d9a0
mov esi, dword [esp + 0x7c]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
xorps xmm0, xmm0
mov dword [esp + 0x10], 0
movdqu xmmword [esp + 0x14], xmm0
push 0x415
push edi
mov word [esp + 0x20], 0x5004
mov dword [esp + 0x1c], 0x791c
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
jne 0x405d5b
cmp byte [0x44e01c], 0
jne 0x405d57
push dword [0x44ecb4]
call fcn.00420960
add esp, 4
mov byte [0x44e01c], 1
mov esi, dword [esp + 0x7c]
push 0
push 0
push 0x416
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esi - 0xc]
mov dword [esp + 0x74], 0xffffffff
cmp eax, dword [0x44b080]
je 0x405d95
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x405d95
push esi
call fcn.00423300
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 4
Function at 0x408220
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x408285
cmp dword [edi], 0
mov esi, dword [esi]
je 0x408265
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
je 0x40827b
push str.RegDeleteKeyTransactedA
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x40827b
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x40827b
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x44e078], 0
jne 0x4082c5
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
je 0x4082b7
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x44e074], eax
mov byte [0x44e078], 1
jmp 0x4082ca
mov eax, dword [0x44e074]
mov byte [0x44e078], 1
jmp 0x4082ca
mov eax, dword [0x44e074]
test eax, eax
je 0x4082e0
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
ret 4

Function at 0x408410
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
push ebp
push esi
mov ebp, ecx
push edi
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
mov edi, eax
push 0x40c
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_SendMessageA]
xor cl, cl
mov dword [esp + 0x14], eax
xor esi, esi
mov byte [esp + 0xf], cl
test eax, eax
jle 0x408571
push ebx
nop
push 0x90
lea eax, [esp + 0x9c]
mov dword [esp + 0x98], 0x94
push 0
push eax
mov ebx, 0x64
call fcn.00423310
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x4084e0
cmp dword [esp + 0x98], 6
jb 0x4084e0
push 0x14
xor edi, edi
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00423310
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x14
push eax
push str.comctl32.dll
call fcn.00405220
add esp, 0x14
test eax, eax
js 0x4084c6
mov edi, dword [esp + 0x20]
jmp 0x4084cd
cmp eax, 0x80004001
je 0x4084dc
test eax, eax
js 0x4084dc
cmp edi, 6
mov edi, dword [esp + 0x14]
jae 0x4084e5
jmp 0x4084e0
mov edi, dword [esp + 0x14]
mov ebx, 0x50
push 0x5c
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], ebx
push 0
push eax
mov dword [esp + 0x40], 0x11
call fcn.00423310
add esp, 0xc
lea eax, [esp + 0x30]
push eax
push esi
push 0x41d
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x408521
mov eax, dword [esp + 0x50]
cmp eax, dword [ebp + 4]
je 0x40853b
inc esi
cmp esi, dword [esp + 0x18]
jl 0x408450
mov al, byte [esp + 0x13]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x118
ret
test dword [esp + 0x38], 0x200
je 0x40852c
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0x42b
push edi
call esi
push 0
push 0x28
push pe_nt_image_headers32
push dword [ebp + 4]
call esi
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x118
ret
pop edi
pop esi
mov al, cl
pop ebp
add esp, 0x118
ret