joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ff04
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax], 0xffffffff
je 0x46ff8e
mov ebx, dword [ebp + 0xc]
cmp dword [ebx], 0xffffffff
je 0x46ff8e
xor esi, esi
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x44
lea eax, [ebp - 0x54]
pop edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0x18
or word [ebp - 0x28], 0x101
mov dword [ebp - 0x54], edi
mov eax, dword [eax]
mov word [ebp - 0x24], si
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push str.ipconfig__all
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, esi
je 0x46ff8e
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, edi
jmp 0x46ff90
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x479693
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4cbc9d
call sub.MSVCRT.dll__EH_prolog
mov eax, 0x2008
call fcn.0041b8f0
push ebx
push edi
push dword [ebp + 0x14]
mov edi, ecx
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
add eax, 0xa
mov dword [ebp - 4], ebx
cmp eax, 0x2000
jle 0x4796fc
push 8
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x4796e6
push 1
call sub.MFC42.DLL_CException::CException
jmp 0x4796e8
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push 0x4ffc30
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
mov byte [ebp - 0x2014], bl
push dword [ebp + 0x14]
mov byte [ebp - 0x2013], bl
mov byte [ebp - 0x2012], bl
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x479748
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x2011], 3
mov ebx, dword [eax - 8]
push ebx
push eax
lea eax, [ebp - 0x200f]
mov byte [ebp - 0x2010], bl
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea esi, [ebx + 5]
jmp 0x479767
lea eax, [ebp - 0x14]
push 4
push eax
lea eax, [ebp - 0x2010]
push eax
mov byte [ebp - 0x2011], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 8
pop esi
push dword [ebp + 0x10]
call sub.WSOCK32.dll_htons
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 2
push eax
lea eax, [ebp + esi - 0x2014]
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp + 0xc]
inc esi
inc esi
push dword [ebp + 8]
lea eax, [ebp + esi - 0x2014]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x58]
add esp, 0x18
add esi, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x2014]
push dword [edi + 0x5c]
push esi
push eax
call sub.MFC42.DLL_CAsyncSocket::SendTo
cmp eax, esi
pop esi
je 0x4797ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4797dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x47ca06
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x40
lea edi, [esi + 0x1c]
push ebx
push edi
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x9c]
push 0x40
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x5c]
push 0x40
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0x24
cmp eax, ebx
mov word [esi + 0xdc], bx
mov dword [esi + 0xe0], ebx
je 0x47ca5f
cmp byte [eax], bl
je 0x47ca5f
push 0x3f
push eax
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x47ca7d
cmp byte [eax], bl
je 0x47ca7d
push 0x3f
push eax
lea eax, [esi + 0x9c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x47ca98
cmp byte [eax], bl
je 0x47ca98
push 0x3f
push eax
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x47cb09
cmp byte [edi], bl
je 0x47cb09
push edi
call sub.MSVCRT.dll_strlen
pop ecx
xor ecx, ecx
cmp eax, ebx
jle 0x47cac7
mov dl, byte [ecx + edi]
cmp dl, 0x39
jg 0x47cabd
cmp dl, 0x30
jge 0x47cac2
cmp dl, 0x2e
jne 0x47cad5
inc ecx
cmp ecx, eax
jl 0x47cab0
push edi
call sub.WSOCK32.dll_inet_addr
mov dword [esi + 0xe0], eax
jmp 0x47caf5
push edi
call sub.WS2_32.dll_gethostbyname
cmp eax, ebx
je 0x47cb09
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [esi + 0xe0]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 0xc]
call sub.WSOCK32.dll_htons
push 1
mov word [esi + 0xdc], ax
pop eax
jmp 0x47cb0b
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x47dbd3
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x4cc5ef
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x9c
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
mov esi, ecx
push eax
call fcn.0047dfff
lea eax, [ebp - 0x24]
push 0x10
push eax
lea eax, [esi + 0x94]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 0x88]
mov edi, dword [esi + 0x168]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x16c]
push 0x18
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCRT.dll_memcpy
push 0x36
call sub.MFC42.DLL_operatornew
add esp, 0x1c
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
push 0x400
call fcn.004bdf22
xor ebx, ebx
lea eax, [ebp - 0x4c]
push ebx
push 0x1000
push ebx
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.004bdf1c
push 0x34
mov byte [ebp - 4], 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0047ee8d
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0047ee8d
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0047ee8d
push edi
call sub.WS2_32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0047eeb7
lea eax, [ebp - 0xa8]
push 0x18
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Write
push dword [ebp - 0x14]
call sub.WS2_32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0047eeb7
lea eax, [ebp - 0x24]
push 0x10
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Write
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Close
push ebx
push ebx
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
call dword [eax + 0x30]
push 0x36
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x10]
call sub.MFC42.DLL_CMemFile::Read
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::Close
mov eax, dword [esi + 0xcc]
lea ecx, [esi + 0xcc]
push ebx
push 0x36
push dword [ebp - 0x10]
call dword [eax + 0x20]
push dword [ebp - 0x10]
call sub.MFC42.DLL_operatordelete
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::CArchive
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::CMemFile
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47ddc3
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4cc623
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x84
push ebx
push esi
push edi
mov esi, ecx
push 0x18
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esi + 0x168]
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x16c]
push 0x18
push eax
push edi
call sub.MSVCRT.dll_memcpy
push 0x30
pop eax
push eax
mov dword [ebp - 0x10], eax
call sub.MFC42.DLL_operatornew
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0xa4]
push ebx
push eax
push 0x18
push edi
call fcn.0041bc3b
push edi
call sub.MFC42.DLL_operatordelete
push dword [ebp - 0x10]
call sub.MFC42.DLL_operatornew
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push ebx
push eax
call sub.MSVCRT.dll_memcpy
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0xb4]
add eax, 0xc
add esp, 0x40
movzx edi, ax
inc edi
mov dword [ebp - 0x1c], eax
inc edi
mov dword [ebp - 0x20], ecx
push edi
call sub.MFC42.DLL_operatornew
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov dword [esp], 0x400
call fcn.004bdf22
xor ebx, ebx
lea eax, [ebp - 0x4c]
push ebx
push 0x1000
push ebx
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.004bdf1c
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0047ee8d
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0047ee8d
push 3
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.0047ee8d
push dword [ebp - 0x24]
call sub.WS2_32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0047eeb7
push dword [ebp - 0x20]
call sub.WS2_32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.0047eeb7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x90]
push dword [ebp - 0x18]
call sub.MFC42.DLL_CArchive::Write
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Close
mov eax, dword [ebp - 0x4c]
push ebx
push ebx
lea ecx, [ebp - 0x4c]
call dword [eax + 0x30]
push edi
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x14]
call sub.MFC42.DLL_CMemFile::Read
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::Close
mov eax, dword [esi + 0xcc]
lea ecx, [esi + 0xcc]
push ebx
push edi
push dword [ebp - 0x14]
call dword [eax + 0x20]
push dword [ebp - 0x14]
call sub.MFC42.DLL_operatordelete
push dword [ebp - 0x18]
call sub.MFC42.DLL_operatordelete
pop ecx
mov byte [ebp - 4], bl
pop ecx
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::CArchive
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::CMemFile
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47f78a
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
and byte [ebp - 0x406], 0
push ebx
push esi
mov esi, ecx
push edi
push 3
mov al, byte [esi + 0xe8]
mov byte [ebp - 0x408], 5
cmp al, 1
mov byte [ebp - 0x407], al
pop edi
jne 0x47f83f
push dword [esi + 0x58]
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x47f7f6
mov eax, dword [esi + 0x58]
mov byte [ebp - 0x405], 3
mov ebx, dword [eax - 8]
push ebx
push eax
lea eax, [ebp - 0x403]
mov byte [ebp - 0x404], bl
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea edi, [ebx + 5]
jmp 0x47f815
lea eax, [ebp - 8]
push 4
push eax
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 0x405], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 8
pop edi
mov ax, word [esi + 0x5c]
push eax
call sub.WSOCK32.dll_htons
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 2
push eax
lea eax, [ebp + edi - 0x408]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
inc edi
inc edi
jmp 0x47f8c8
cmp al, 2
jne 0x47f876
mov eax, dword [esi + 0x68]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 0x405], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0
call sub.WSOCK32.dll_htons
mov dword [ebp - 8], eax
push 2
lea eax, [ebp - 8]
jmp 0x47f8b5
cmp al, 3
jne 0x47f8c8
push str.0.0.0.0
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x404]
mov byte [ebp - 0x405], 1
push eax
call sub.MSVCRT.dll_memcpy
mov ax, word [esi + 0x5c]
add esp, 0xc
push eax
call sub.WSOCK32.dll_htons
mov dword [ebp - 8], eax
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0xa
pop edi
lea ebx, [esi + 0x2c]
push 0x47f902
push esi
mov ecx, ebx
call fcn.00479974
push 0
lea eax, [ebp - 0x408]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CAsyncSocket::Send
cmp eax, edi
je 0x47f8fd
mov ecx, ebx
call fcn.00479987
push 0
mov ecx, esi
call fcn.0047f52e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4882cf
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call sub.WS2_32.dll_ntohl
push dword [esi + 4]
mov edi, eax
call sub.WS2_32.dll_ntohl
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
lea esi, [ebp - 0x10]
sub eax, ecx
mov dword [ebp + 8], 4
mov dword [ebp + 0xc], eax
jmp 0x488308
mov eax, dword [ebp + 0xc]
push dword [eax + esi]
call sub.WS2_32.dll_ntohl
mov dword [esi], eax
add esi, 4
dec dword [ebp + 8]
jne 0x488305
push 0xd
xor eax, eax
pop ecx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
mov edx, edi
mov esi, edi
shr edx, 5
add edx, dword [ebp - 4]
shl esi, 4
add esi, dword [ebp - 8]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
dec ecx
jne 0x48831f
push edi
call sub.WS2_32.dll_htonl
mov esi, dword [ebp + 0x10]
push ebx
mov dword [esi], eax
call sub.WS2_32.dll_htonl
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x493e4b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push dword [edi + 0x5c]
push 0x4e1a34
push esi
call dword [eax + 0x20]
push dword [edi + 0x64]
mov eax, dword [esi]
push str.IMAGE
push esi
call dword [eax + 0x1c]
mov eax, dword [esi]
and byte [ebp + 8], 0
lea ecx, [ebp + 8]
mov ebx, str.FLAG
push ecx
push ebx
push esi
call dword [eax + 0x2c]
test byte [edi + 0x34], 8
je 0x493e93
or byte [ebp + 8], 1
jmp 0x493e97
and byte [ebp + 8], 0
push dword [ebp + 8]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
push dword [edi + 0x1f0]
mov eax, dword [esi]
push 0x4e1a4c
push esi
call dword [eax + 0x18]
push dword [edi + 0x90]
mov eax, dword [esi]
push str.EMAIL
push esi
call dword [eax + 0x20]
push dword [edi + 0xbc]
mov eax, dword [esi]
push str.HOMEPAGE
push esi
call dword [eax + 0x20]
push dword [edi + 0x78]
mov eax, dword [esi]
push str.COUNTRY
push esi
call dword [eax + 0x20]
mov eax, dword [edi + 0x84]
mov ebx, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push eax
push 0x4e1a78
push esi
call dword [ebx + 0x1c]
push dword [edi + 0x88]
mov eax, dword [esi]
push str.GENDER
push esi
call dword [eax + 0x20]
push dword [edi + 0x7c]
mov eax, dword [esi]
push str.PROVINCE
push esi
call dword [eax + 0x20]
push dword [edi + 0x180]
mov eax, dword [esi]
push str.CITY
push esi
call dword [eax + 0x20]
push dword [edi + 0x70]
mov eax, dword [esi]
push str.ADDRESS
push esi
call dword [eax + 0x20]
push dword [edi + 0x80]
mov eax, dword [esi]
push str.POSTCODE
push esi
call dword [eax + 0x20]
push dword [edi + 0x74]
mov eax, dword [esi]
push str.PHONE
push esi
call dword [eax + 0x20]
push dword [edi + 0x194]
mov eax, dword [esi]
push str.GSMTYPE
push esi
call dword [eax + 0x20]
push dword [edi + 0xc4]
mov eax, dword [esi]
push str.MOBLIEPHONE
push esi
call dword [eax + 0x20]
push dword [edi + 0xb8]
mov eax, dword [esi]
push str.OCCUPATION
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
push dword [edi + 0x1ac]
push str.BLOODTYPE
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a8]
mov eax, dword [esi]
push str.SHENGXIAO
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a4]
mov eax, dword [esi]
push str.CONSTELLATION
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a0]
mov eax, dword [esi]
push str.COLLEGE
push esi
call dword [eax + 0x20]
push dword [edi + 0x8c]
mov eax, dword [esi]
push str.REALNAME
push esi
call dword [eax + 0x20]
push dword [edi + 0xc0]
mov eax, dword [esi]
push str.PERSIONAL_DESC
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
push 2
push str.INFOUPDATED_FLAG
push esi
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4992e2
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4cfd66
call sub.MSVCRT.dll__EH_prolog
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString_3
and dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 0x11
mov ecx, esi
mov dword [esi], 0x4e1fe4
call fcn.00499509
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x49940a
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4cfe36
call sub.MSVCRT.dll__EH_prolog
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4e1fe4
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x49986f
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4d001e
call sub.MSVCRT.dll__EH_prolog
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_3
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 0x15
mov ecx, esi
mov dword [esi], 0x4e1ffc
call fcn.00499af6
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret