joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x462359
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040452c
mov eax, dword [ebp - 8]
call fcn.0040452c
mov eax, dword [ebp - 0xc]
call fcn.0040452c
xor eax, eax
push ebp
push 0x462584
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00421294
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.00404174
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.00421294
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.00404174
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x46259c
mov eax, 0x80000000
call fcn.00421db8
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.00421294
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00404174
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00402f28
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f28
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x667530]
mov edx, 0x4625c0
call fcn.004043c4
push 0x4625d0
push dword [ebp - 4]
push 0x4625e0
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.0046226c
push dword [ebp - 0x84]
push 0x4625f4
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004043c4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0046226c
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404438
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x462604
mov eax, dword [ebp - 0x14]
call fcn.00421b84
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040453c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
neg eax
sbb ebx, ebx
neg ebx
test bl, bl
je 0x46253c
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x6c]
call fcn.0044e994
test eax, eax
je 0x46250b
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x462528
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
neg eax
sbb ebx, ebx
neg ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x462559
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x90]
call fcn.0040f60c
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.0044e568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46258b
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.00404100
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404100
ret
Function at 0x46380c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x463814
push ebx
push esi
mov esi, 0x66746c
xor eax, eax
push ebp
push 0x463a93
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov byte [0x66770c], 1
mov eax, dword [0x667768]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [0x66776c]
mov edx, dword [eax]
call dword [edx + 0x40]
call fcn.0044e6b4
call fcn.00462108
xor eax, eax
push ebp
push 0x463a64
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x667e0c]
call fcn.004533f4
xor eax, eax
push ebp
push 0x463a3f
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004534c0
xor eax, eax
push ebp
push 0x463a11
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x4638ba
mov al, 1
call fcn.0046374c
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x4638ba
push ebp
call fcn.004629d0
pop ecx
and bl, al
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x4638f6
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x4638db
mov eax, dword [esi]
cmp byte [eax + 0x2ee], 0
je 0x4638e2
xor eax, eax
call fcn.0046374c
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x4638f6
push ebp
call fcn.00463600
pop ecx
and bl, al
test bl, bl
jne 0x46390f
mov eax, dword [esi]
test byte [eax + 0x331], 0x10
je 0x46390f
mov eax, dword [0x667530]
call fcn.0044ec20
mov eax, dword [esi]
test byte [eax + 0x2f1], 2
je 0x463992
cmp byte [ebp - 0xd], 0
jne 0x463992
test bl, bl
je 0x46395c
push 0x242040
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [esi]
call fcn.00422aa4
mov eax, dword [ebp - 0x14]
call fcn.0040453c
push eax
lea ecx, [ebp - 0x18]
mov dl, 0x90
mov eax, dword [esi]
call fcn.00422aa4
mov eax, dword [ebp - 0x18]
call fcn.0040453c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x463992
push 0x242010
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [esi]
call fcn.00422aa4
mov eax, dword [ebp - 0x1c]
call fcn.0040453c
push eax
lea ecx, [ebp - 0x20]
mov dl, 0x91
mov eax, dword [esi]
call fcn.00422aa4
mov eax, dword [ebp - 0x20]
call fcn.0040453c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [esi]
test byte [eax + 0x331], 0x20
je 0x4639e3
test bl, bl
jne 0x4639e3
lea eax, [ebp - 0x24]
call fcn.004627c4
mov eax, dword [ebp - 0x24]
call fcn.0040453c
push eax
lea eax, [ebp - 0x28]
call fcn.00453190
mov eax, dword [ebp - 0x28]
call fcn.0040453c
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x30]
call fcn.004627c4
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040c65c
mov eax, dword [ebp - 0x2c]
call fcn.0046284c
lea eax, [ebp - 0x34]
call fcn.00453190
mov eax, dword [ebp - 0x34]
call fcn.0044f878
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463a18
lea eax, [ebp - 0x38]
call fcn.0045333c
mov eax, dword [ebp - 0x38]
call fcn.0044f878
ret
Function at 0x465404
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push 0x4654a8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
test ebx, ebx
je 0x46546d
push 0x4654b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46546d
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 4]
test eax, eax
je 0x46546d
mov eax, dword [ebp - 0x3c]
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
jmp 0x46549f
mov dword [ebp - 0x64], 0x20
lea eax, [ebp - 0x64]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fistp qword [edi]
wait
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fistp qword [esi]
wait
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4661d4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x466332
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004040dc
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.0040453c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x466317
mov eax, dword [ebp - 4]
call fcn.004027dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x466310
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4662f7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x466340
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4662f7
push 0x466364
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.0040c1d8
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040c1d8
push dword [ebp - 0x20]
push 0x466380
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404438
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040453c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4662f7
cmp dword [ebp - 0xc], 1
jbe 0x4662f7
mov ebx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0040cfa8
mov ecx, eax
mov eax, esi
mov edx, ebx
call fcn.004041c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466317
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004027f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466339
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404100
ret
Function at 0x4663c8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040452c
xor eax, eax
push ebp
push 0x4664a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004040dc
cmp dword [ebp - 4], 0
je 0x466418
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x466418
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004045c0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040453c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46648a
mov eax, ebx
mov edx, 0x400
call fcn.004046ac
mov eax, dword [ebx]
call fcn.00404378
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.0040453c
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46647a
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.004046ac
jmp 0x466481
mov eax, ebx
call fcn.004040dc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4664a7
lea eax, [ebp - 4]
call fcn.004040dc
ret

Function at 0x4664b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040452c
mov eax, dword [ebp - 8]
call fcn.0040452c
xor eax, eax
push ebp
push 0x466586
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x466502
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x466502
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004045c0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040453c
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46656b
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.0040453c
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x466562
cmp dword [ebp - 0x14], 4
jne 0x466562
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46658d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404100
ret
Function at 0x466e1c
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x466fc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004040dc
lea eax, [ebp - 8]
push eax
push 8
call fcn.0044ab30
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x466faa
xor eax, eax
push ebp
push 0x466fa3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [ebp - 0xc]
call fcn.004027dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x466f85
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x466f6f
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x466f6f
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x14], ecx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004046ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040453c
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004046ac
push dword [esi]
lea ecx, [ebp - 0x20]
mov edx, 0x1f
mov eax, dword [ebp - 0x1c]
call fcn.00466ddc
push dword [ebp - 0x20]
push ebp
lea eax, [ebp - 0x24]
call fcn.00466d88
pop ecx
push dword [ebp - 0x24]
push 0x466fdc
mov eax, esi
mov edx, 4
call fcn.00404438
inc ebx
dec edi
jne 0x466eca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466f8c
mov eax, dword [ebp - 0x10]
call fcn.004027f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466fcc
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404100
ret
Function at 0x46b2d4
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x46b3f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x663a68]
mov eax, dword [eax]
call fcn.0044ee94
mov ebx, eax
test ebx, ebx
je 0x46b342
lea edx, [ebp - 4]
mov eax, dword [ebx + 4]
call fcn.0040c780
mov eax, dword [ebp - 4]
call fcn.0040453c
push eax
push 0x46b404
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.0040453c
push eax
push 0x46b414
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.0040453c
push eax
push 0x46b424
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.0044ef50
mov ebx, eax
test ebx, ebx
je 0x46b397
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.0040c780
mov eax, dword [ebp - 8]
call fcn.0040453c
push eax
push 0x46b434
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.0040453c
push eax
push 0x46b448
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.0040453c
push eax
push 0x46b45c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
call fcn.00465330
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.0040453c
push eax
push 0x46b470
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x667530]
call fcn.0040453c
push eax
push 0x46b47c
call sub.kernel32.dll_SetEnvironmentVariableA
push 0x46b488
push 0x46b48c
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b3fd
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404100
ret
Function at 0x46c8c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46ca2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004040dc
call sub.user32.dll_GetFocus
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x46ca07
lea eax, [ebp - 0x10c]
call fcn.0046c864
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040bb08
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.0040bd9c
mov edx, dword [ebp - 4]
mov eax, 0x46ca44
call fcn.00404664
test eax, eax
jg 0x46c961
mov edx, dword [ebp - 4]
mov eax, 0x46ca54
call fcn.00404664
test eax, eax
jle 0x46c975
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test eax, 4
jg 0x46ca07
mov esi, pe_nt_image_headers32
push esi
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x46ca07
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.0040430c
lea eax, [ebp - 0x114]
call fcn.0046c864
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040bb08
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 4]
call fcn.0040bd9c
mov edx, dword [ebp - 4]
mov eax, 0x46ca44
call fcn.00404664
test eax, eax
jle 0x46ca07
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x46ca07
mov eax, dword [edi]
call fcn.00404378
mov ebx, eax
test ebx, ebx
jbe 0x46ca07
mov esi, 1
mov eax, edi
call fcn.00404548
mov byte [eax + esi - 1], 0x2a
inc esi
dec ebx
jne 0x46c9f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ca34
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.00404100
lea eax, [ebp - 4]
call fcn.004040dc
ret
Function at 0x46ca5c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
test dl, dl
je 0x46ca71
add esp, 0xfffffff0
call fcn.004035f4
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 0x22]
push ecx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop ecx
movsb byte es:[edi], byte [esi]
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 0x22]
mov edx, dword [0x44a218]
call fcn.00404dd8
xor eax, eax
push ebp
push 0x46cb8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.0041ccd4
mov byte [ebx + 0x31], 0
mov dword [ebx + 0x34], esi
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x38], eax
mov al, byte [ebp + 0x18]
mov byte [ebx + 0x3c], al
mov al, byte [ebp - 0x22]
mov byte [ebx + 0x3d], al
mov eax, dword [ebp - 0x19]
mov dword [ebx + 0x46], eax
mov eax, dword [ebp - 0x15]
test eax, eax
jne 0x46cadf
call fcn.0044cbf8
mov dword [ebx + 0x4a], eax
jmp 0x46cae2
mov dword [ebx + 0x4a], eax
mov eax, dword [ebp - 0x11]
test eax, eax
jne 0x46caf9
call fcn.004079e8
mov eax, dword [eax + 0x58]
mov dword [ebx + 0x4e], eax
jmp 0x46cafc
mov dword [ebx + 0x4e], eax
mov eax, dword [ebp - 0xd]
mov dword [ebx + 0x52], eax
lea eax, [ebx + 0x56]
mov edx, dword [ebp - 9]
call fcn.00404130
lea eax, [ebx + 0x5a]
mov edx, dword [ebp - 5]
call fcn.00404130
mov eax, dword [ebp - 0x21]
test eax, eax
jne 0x46cb2f
call fcn.004079e8
lea eax, [eax + 0x64]
mov dword [ebx + 0x3e], eax
jmp 0x46cb32
mov dword [ebx + 0x3e], eax
mov eax, dword [ebp - 0x1d]
test eax, eax
jne 0x46cb49
call fcn.004079e8
lea eax, [eax + 0x130]
mov dword [ebx + 0x42], eax
jmp 0x46cb4c
mov dword [ebx + 0x42], eax
mov al, byte [ebp + 0x10]
mov byte [ebx + 0x5e], al
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x60], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x64], al
mov byte [ebx + 0x30], 1
mov dl, 5
mov eax, ebx
call fcn.0041cdbc
mov eax, ebx
call fcn.0041ce20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cb95
lea eax, [ebp - 0x22]
mov edx, dword [0x44a218]
call fcn.00404cb8
ret

Function at 0x46fe08
Capabilities:
Terminate thread

Disassembly:
call fcn.00421f0c
test al, al
jne 0x46fe65
cmp dword [0x667504], 0
je 0x46fe65
mov eax, dword [0x667504]
call fcn.0041ce38
mov eax, dword [0x6644dc]
call fcn.0044ef64
test al, al
jne 0x46fe44
push 0xffffffffffffffff
mov eax, dword [0x667504]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x46fe54
push 1
mov eax, dword [0x667504]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x667504]
call fcn.004032b4
xor eax, eax
mov dword [0x667504], eax
ret
Function at 0x470e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.004507fc
mov edi, eax
mov dl, 1
mov eax, dword [0x413e90]
call fcn.00403284
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x470f66
push dword fs:[edx]
mov dword fs:[edx], esp
mov al, 0x10
call fcn.0045235c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x470e96
mov dword [ebp - 0x14], 1
jmp 0x470ea1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004158ec
mov al, 0x13
call fcn.0045235c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x470eba
mov dword [ebp - 0xc], 1
jmp 0x470ec5
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004158ec
mov al, 0x11
call fcn.0045235c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x470ede
mov dword [ebp - 0x10], 1
jmp 0x470ee9
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004158ec
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x470f17
inc esi
xor ebx, ebx
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*8 + 4]
cmp eax, dword [ebp - 0x10]
je 0x470f13
cmp eax, dword [ebp - 0xc]
je 0x470f13
cmp eax, dword [ebp - 0x14]
je 0x470f13
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004158ec
inc ebx
dec esi
jne 0x470ef3
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x470f50
inc esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [edi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.00470cec
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00415a48
mov edx, dword [edi + 4]
mov dword [edx + ebx*8 + 4], eax
inc ebx
dec esi
jne 0x470f21
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470f6d
mov eax, dword [ebp - 8]
call fcn.004032b4
ret

Function at 0x470fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
call fcn.004507fc
mov esi, eax
mov ebx, dword [esi]
dec ebx
jmp 0x470fb3
dec ebx
test ebx, ebx
jl 0x470fc0
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8], 0
je 0x470fb2
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8], 0
je 0x47100a
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8]
mov dword [0x66748c], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.00470cec
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.00470cec
mov dword [0x6674d0], eax
mov eax, 0x470f74
mov edx, dword [0x6674d0]
mov dword [edx], eax
mov ebx, dword [esi]
dec ebx
jmp 0x471010
dec ebx
test ebx, ebx
jl 0x47101e
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x47100f
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x47105a
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8 + 4]
mov dword [0x667490], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.00470cec
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x470f90
mov edx, dword [esi + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret