joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4788bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4788f4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4788d5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4788e4
or bl, 4
test esi, 0x20000000
je 0x4788ef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47f3b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47f3c6
add esp, 0xfffffff0
call fcn.00403f90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425914
mov eax, dword [0x4e1284]
mov dword [eax + 4], ebx
mov dword [eax], 0x47f758
mov eax, dword [0x4e1298]
mov dword [eax + 4], ebx
mov dword [eax], 0x47f764
mov eax, ebx
call fcn.0047f770
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41aa6c]
call fcn.00403bfc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41aa6c]
call fcn.00403bfc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41aa6c]
call fcn.00403bfc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41aa6c]
call fcn.00403bfc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41aa6c]
call fcn.00403bfc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47bb8c
push eax
push 0
push 0
mov eax, dword [0x4e14dc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4273d8]
call fcn.00428bec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4273d8]
call fcn.00428bec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4273d8]
call fcn.00428bec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047fb90
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47fa6c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47fa6c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47fa6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47f503
call fcn.00403fe8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47f850
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47f9fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47f9dc
mov dl, 1
mov eax, dword [0x41b0d0]
call fcn.00403bfc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47f9cb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0046ba68
test al, al
je 0x47f9be
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x47fa0c
lea eax, [ebp - 0x254]
call fcn.0040a53c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47f9be
xor eax, eax
push ebp
push 0x47f9b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x47fa44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47f9a0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c48
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x47f9a0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f9be
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47f8c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f8c0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fa02
lea eax, [ebp - 0x260]
call fcn.004049d8
ret

Function at 0x480330
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4e2bf0]
cmp byte [eax + 0xa5], 0
jne 0x4803a1
cmp dword [0x4e2c08], 0
jne 0x480362
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4802ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e2c08], eax
cmp dword [0x4e2c04], 0
jne 0x48037d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e2c04], eax
cmp dword [0x4e2c0c], 0
jne 0x4803a1
push esp
push 0
push 0
push 0x480290
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4e2c0c], eax
pop edx
ret
Function at 0x480498
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4804af
add esp, 0xfffffff0
call fcn.00403f90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425914
mov eax, dword [0x4e14c8]
cmp word [eax + 2], 0
jne 0x4804d7
mov eax, dword [0x4e14c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00481c18
mov eax, dword [0x4e15e0]
cmp word [eax + 2], 0
jne 0x4804f1
mov eax, dword [0x4e15e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00481e10
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41aa6c]
call fcn.00403bfc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41aa6c]
call fcn.00403bfc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x427f58]
call fcn.00430108
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x480678
mov eax, dword [0x4e1334]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004304d8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4823c0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e1334]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e498
test eax, eax
je 0x4805e6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ed8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e4c0
test eax, eax
je 0x4805fa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c48
mov eax, dword [0x4e1114]
cmp byte [eax], 0
jne 0x48062e
mov eax, ebx
call fcn.004807a0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0048259c
mov eax, ebx
call fcn.00482f60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48066e
call fcn.00403fe8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480a20
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e2bf0]
cmp dword [eax + 0x30], 0
je 0x480aca
cmp dword [ebx + 0x94], 0
jne 0x480ac4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4809b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x480ac4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x480a8a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x480ac4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d2bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x480a99
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48162c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x481661
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404ac8
jmp 0x48166e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a2c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x482778
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4827b9
mov eax, esi
call fcn.00466fec
test al, al
je 0x4827b9
mov eax, dword [ebx + 0x84]
call fcn.00466ce8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4827b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00466ce8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x485e80
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x485eae
mov eax, ebx
call fcn.00486934
cmp dword [ebx + 0x40], 0
je 0x485ea7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x485f1f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x485f11
cmp dword [ebx + 8], 0
je 0x485ed0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x485ee2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x485f11
cmp dword [ebx + 8], 0
je 0x485ec3
cmp eax, 3
je 0x485ef5
dec eax
jne 0x485ec3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x485ec3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x485ec3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x485f3d
cmp dword [ebx + 0x14], 0xcc
je 0x485f3d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00485f48
pop ebx
ret
Function at 0x497fc4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x498135
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x498110
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404bc0
lea eax, [ebp - 0x118]
mov edx, 0x49814c
call fcn.00404ca0
mov eax, dword [ebp - 0x118]
call fcn.00404e98
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x498082
lea eax, [ebp - 0x111]
call fcn.00409e9c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404ac8
jmp 0x498089
mov eax, esi
call fcn.004049d8
cmp bl, 0x61
jae 0x4980aa
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e36c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404a2c
jmp 0x4980c4
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e2e0
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404a2c
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x498158
call fcn.0040a5bc
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498117
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x49b1e4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419fe4]
call fcn.00405398
xor eax, eax
push ebp
push 0x49b328
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dfb90], 0
jne 0x49b237
mov ecx, dword [0x4e1144]
mov dl, 1
mov eax, dword [0x408210]
call fcn.0040d5dc
call fcn.004043f8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032a8
mov eax, ebx
call fcn.00405268
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49b338
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406610
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405278
test eax, eax
jle 0x49b2cf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49b2c8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c60
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c48
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004090e0
test eax, eax
jne 0x49b2c8
mov ebx, 0x15
jmp 0x49b2d4
mov ebx, 0x10
jmp 0x49b2d4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4dfb90]
call fcn.0049b13c
mov eax, dword [ebp - 8]
call fcn.0049b13c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b32f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004049fc
lea eax, [ebp - 0x10]
mov edx, dword [0x419fe4]
call fcn.00405468
ret

Function at 0x4cd2e7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4e0f1a
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4cd33f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4e0f3b
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4cd335
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4cd343
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4da4f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404e88
xor eax, eax
push ebp
push 0x4da5fb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e10e0], 0
jne 0x4da5c9
lea ecx, [ebp - 8]
mov edx, pe_nt_image_headers32
mov al, 0x20
call fcn.00405088
mov eax, dword [ebp - 8]
call fcn.00404e98
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, 0x4da610
mov eax, ebx
call fcn.00409f78
push ebx
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4e10e0], eax
cmp dword [0x4e10e0], 0
jne 0x4da586
mov ecx, 0x4da624
mov dl, 1
mov eax, dword [0x408210]
call fcn.0040d520
call fcn.004043f8
push 0x4da65c
mov eax, dword [0x4e10e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
mov dword [0x4e4080], ebx
test ebx, ebx
jne 0x4da5b8
mov ecx, 0x4da670
mov dl, 1
mov eax, dword [0x408210]
call fcn.0040d520
call fcn.004043f8
push 0x4e10dc
push 0x1c
push 0
push 0
call dword [0x4e4080]
mov eax, dword [ebp + 8]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404e98
push eax
push esi
call dword [0x4e4080]
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da602
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049fc
ret

Function at 0x4dacf8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e88
xor eax, eax
push ebp
push 0x4dad98
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4dadac
lea eax, [ebp - 0x1d0]
call fcn.00403004
lea eax, [ebp - 0x1d0]
call fcn.00402da0
call fcn.00402988
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.004050b4
call fcn.004036ec
call fcn.00402988
lea eax, [ebp - 0x1d0]
call fcn.004030cc
call fcn.00402988
push 0
push 0
push 0
push 0x4dadbc
push 0x4dadcc
mov eax, dword [0x4e15ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dad9f
lea eax, [ebp - 4]
call fcn.004049d8
ret

Function at 0x4daed4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e88
xor eax, eax
push ebp
push 0x4daf2b
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404e98
push eax
push 0x4daf38
mov eax, dword [0x4e15ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4daf32
lea eax, [ebp - 4]
call fcn.004049d8
ret
Function at 0x4dd28c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e88
xor eax, eax
push ebp
push 0x4dd32c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4dd340
lea eax, [ebp - 0x1d0]
call fcn.00403004
lea eax, [ebp - 0x1d0]
call fcn.00402da0
call fcn.00402988
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.004050b4
call fcn.004036ec
call fcn.00402988
lea eax, [ebp - 0x1d0]
call fcn.004030cc
call fcn.00402988
push 0
push 0
push 0
push 0x4dd350
push 0x4dd360
mov eax, dword [0x4e15ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd333
lea eax, [ebp - 4]
call fcn.004049d8
ret
Function at 0x401570
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f7624
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.004b88a0
xor ebp, ebp
mov dword [esi + 0x24], 0x4fdbd0
mov dword [esp + 0x20], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x20], 1
mov ecx, edi
call fcn.004a98a0
mov al, byte [esp + 0x13]
mov dword [esi + 0x30], 0x4fdbc0
mov byte [esi + 0x34], al
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea ecx, [esi + 0x4c]
mov byte [esp + 0x20], 3
call fcn.0049dce0
lea ecx, [esi + 0xac]
mov byte [esp + 0x20], 4
call fcn.004b2b20
mov ebx, 5
lea ecx, [esi + 0x7a0]
mov byte [esp + 0x20], bl
call fcn.004b2b20
lea ecx, [esi + 0x2f70]
mov byte [esp + 0x20], 6
mov dword [esi + 0xe94], ebp
mov dword [esi + 0xe98], ebp
mov dword [esi + 0xe9c], ebp
mov dword [esi + 0xea0], ebp
call fcn.00467380
lea ecx, [esi + 0x2f88]
mov byte [esp + 0x20], 7
call fcn.00467380
lea ecx, [esi + 0x2fa0]
mov byte [esp + 0x20], 8
call fcn.00467380
lea ecx, [esi + 0x2fbc]
mov byte [esp + 0x20], 9
call fcn.00467380
lea ecx, [esi + 0x3020]
mov byte [esp + 0x20], 0xa
call fcn.00467380
lea ecx, [esi + 0x3038]
mov byte [esp + 0x20], 0xb
call fcn.00467380
push ebp
lea ecx, [esi + 0x50f8]
mov byte [esp + 0x24], 0xc
call fcn.004992c0
mov dword [esi], 0x4fdbac
mov dword [esi + 0x24], 0x4fdba4
mov dword [edi], 0x4fdba0
mov dword [esi + 0x30], 0x4fdb90
mov dword [esi + 0x44], ebp
mov dword [esi + 0x2f58], ebp
mov dword [esi + 0x2f5c], ebp
mov dword [esi + 0x3014], ebp
mov dword [esi + 0x2fdc], ebx
mov dword [esi + 0x2fe4], ebp
mov dword [esi + 0x2fe0], ebx
mov dword [esi + 0x2fe8], ebp
mov dword [esi + 0x2fec], ebp
mov dword [esi + 0x2ff0], 0x1a
mov dword [esi + 0x2ffc], ebp
mov eax, 3
mov dword [esi + 0x3000], ebx
mov dword [esi + 0x2ff4], eax
mov edx, 0x20
mov dword [esi + 0x2f6c], eax
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x40a8]
mov dword [esi + 0x3018], ebp
mov dword [esi + 0x2ff8], 0x10
mov dword [esi + 0x3004], ebp
mov dword [esi + 0x3008], ebp
mov dword [esi + 0x300c], ebp
mov dword [esi + 0x3010], 0xa9a9a9
mov dword [esi + 0x2fd8], ebp
mov dword [esi + 0x2fd4], ebp
mov dword [esi + 0x2f54], edx
mov dword [esi + 0xea8], ebp
mov dword [esi + 0xeac], ebp
mov dword [esi + 0xeb0], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x2f50], ebp
mov dword [esi + 0x2f60], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x3060]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov dword [esi + 0x50f4], eax
mov dword [esi + 0x50f0], eax
mov dword [esi + 0xeb4], ebp
mov word [esi + 0xeb8], bp
mov word [esi + 0x1f00], bp
mov dword [esi + 0x2f48], ebp
mov dword [esi + 0x2f4c], ebp
mov dword [esi + 0x5130], ebp
mov dword [esi + 0x305c], 0x12
mov dword [esi + 0x3054], ebp
mov dword [esi + 0x301c], ebp
mov dword [esi + 0x3058], edx
mov dword [esi + 0x2fb8], ebp
mov dword [esi + 0x2f68], ebp
mov dword [esi + 0xea4], ebp
mov dword [esi + 0x2f64], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret