joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b2ad0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101e8feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10077860
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x228], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.100785e0
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.1007a8c0
mov eax, dword [eax]
push 0x1023ec2c
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.10078300
test edi, edi
je 0x100b2b6f
push 0x1023ec2c
mov ecx, esi
call fcn.10078f40
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x100b2cb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101e902b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10077860
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x228], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.100785e0
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.1007a8c0
mov eax, dword [eax]
push 0x1023ec2c
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.10078300
test edi, edi
je 0x100b2d4f
push 0x1023ec2c
mov ecx, esi
call fcn.10078f40
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x100b8ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x100b8d2e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100b8d2e
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x100b8d33
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x100b8d19
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x100b8d43
test esi, esi
jne 0x100b8d61
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x100b8d5f
mov byte [eax + esi - 1], 0
jne 0x100b8d68
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x100be450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x100be4a0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100be4a0
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x100be4a5
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x100be48b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x100be4b2
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x100c63f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101e999f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 0x18]
mov ecx, ebp
call sub.MFC42u.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CPtrArray::CPtrArray
lea edi, [esi + 0x30]
push ebx
mov ecx, edi
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CSyncObject::CSyncObject
mov dword [edi], 0x101f9dd8
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x50]
mov byte [esp + 0x1c], 2
call sub.MFC42u.DLL_CPtrArray::CPtrArray
lea edi, [esi + 0x64]
push ebx
mov ecx, edi
mov byte [esp + 0x20], 3
call sub.MFC42u.DLL_CSyncObject::CSyncObject
mov dword [edi], 0x101f9dd8
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 4
call fcn.100c9800
lea ecx, [esi + 0x128]
mov byte [esp + 0x1c], 5
call fcn.100ca5d0
lea ecx, [esi + 0x15c]
mov byte [esp + 0x1c], 6
call fcn.100dc490
lea ecx, [esi + 0x190]
mov byte [esp + 0x1c], 7
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0x24]
mov ecx, ebp
push eax
mov byte [esp + 0x20], 8
mov dword [esi], 0x102046c0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 1
call sub.MFC42u.DLL_CString::operator_1
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x194], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x100c6520
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101e9a27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x102046c0
mov ecx, dword [esi + 0x194]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x28], 8
je 0x100c6577
call fcn.101b4850
mov ecx, dword [esi + 0x194]
cmp ecx, ebp
je 0x100c6571
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x194], ebp
lea ebx, [esi + 0x84]
mov ecx, ebx
call fcn.100c99c0
lea ecx, [esi + 0x128]
call fcn.100ca6a0
lea ecx, [esi + 0x15c]
call fcn.100dcbc0
lea edi, [esi + 0x64]
push 1
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov eax, dword [esi + 0x58]
mov byte [esp + 0x28], 9
test eax, eax
jle 0x100c65cd
mov ecx, dword [esi + 0x54]
mov ecx, dword [ecx + ebp*4]
test ecx, ecx
je 0x100c65c5
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x58]
inc ebp
cmp ebp, eax
jl 0x100c65b5
lea ebp, [esi + 0x50]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call sub.MFC42u.DLL_CPtrArray::SetSize
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 8
call sub.MFC42u.DLL_CSingleLock::Unlock
lea ecx, [esi + 0x190]
mov byte [esp + 0x28], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x15c]
mov byte [esp + 0x28], 6
call fcn.100dc660
lea ecx, [esi + 0x128]
mov byte [esp + 0x28], 5
call fcn.100ca610
mov ecx, ebx
mov byte [esp + 0x28], 4
call fcn.100c98b0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [edi + 8]
push eax
mov byte [esp + 0x2c], 3
mov dword [edi], 0x101f9dd8
call ebx
mov ecx, edi
call fcn.10070f78
mov ecx, ebp
mov byte [esp + 0x28], 2
call fcn.1007101a
lea edi, [esi + 0x30]
mov byte [esp + 0x28], 1
lea ecx, [edi + 8]
mov dword [edi], 0x101f9dd8
push ecx
call ebx
mov ecx, edi
call fcn.10070f78
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 0
call fcn.1007101a
lea ecx, [esi + 0x18]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x100c7220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e9ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x18]
lea eax, [edi + 0x30]
push eax
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov eax, dword [edi + 0x24]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
jle 0x100c72fe
push ebp
push esi
mov ecx, dword [edi + 0x20]
mov ebp, dword [ecx + ebx*4]
mov dword [esp + 0x10], ebp
mov edx, dword [ebp + 4]
mov eax, dword [edx - 8]
test eax, eax
je 0x100c72ec
lea esi, [edi + 0x15c]
push 0xffffffffffffffff
mov ecx, esi
call fcn.100dcdf0
test eax, eax
je 0x100c72ec
mov eax, dword [ebp + 4]
push 0
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.100dce40
mov ebx, eax
test ebx, ebx
je 0x100c72d5
cmp dword [ebx], 0x4d465631
jne 0x100c72d5
mov eax, dword [ebx + 8]
xor esi, esi
test eax, eax
jle 0x100c72d5
lea ebp, [ebx + 0x10]
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x100c7320
mov eax, dword [ebx + 8]
inc esi
add ebp, 0x58
cmp esi, eax
jl 0x100c72b3
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, edi
call fcn.100c6fd0
lea ecx, [edi + 0x15c]
call fcn.100dce20
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x24]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x100c7262
pop esi
pop ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x20]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
lea edx, [esi + esi*4]
lea eax, [esi + edx*2]
lea esi, [ebx + eax*8 + 0x10]
test esi, esi
je 0x100c72d1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
push ebx
call fcn.100e3110
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
mov ecx, dword [edi + 0x10]
xor edx, edx
mov dword [esi + 0x48], ecx
mov dx, word [edi + 0xa8]
add esp, 4
lea ecx, [edi + 0x128]
mov dword [esi + 0x4c], edx
call fcn.100ca920
push 0
lea ecx, [edi + 0x15c]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
call fcn.100dce40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
jmp 0x100c72dd
Function at 0x100c84e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101e9d14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ebx, [esi + 0x34]
mov dword [esi], 0x10204714
mov dword [ebx], 0x102046f8
mov dword [esp + 0x2c], 6
call dword [0x10204728]
lea ebp, [esi + 0x58]
push 1
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov eax, dword [esi + 0x48]
mov byte [esp + 0x2c], 7
test eax, eax
jle 0x100c855e
lea ecx, [esi + 0x3c]
call sub.MFC42u.DLL_CPtrList::RemoveHead
mov edi, eax
test edi, edi
je 0x100c8557
mov ecx, edi
call fcn.100c91d0
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esi + 0x48]
test eax, eax
jg 0x100c853a
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 6
call sub.MFC42u.DLL_CSingleLock::Unlock
mov eax, esi
mov ecx, dword [esi + 0xd0]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.100c7a20
lea ecx, [esi + 0xac]
mov byte [esp + 0x2c], 5
call fcn.1007101a
lea edi, [esi + 0x8c]
mov byte [esp + 0x2c], 4
lea ecx, [edi + 8]
mov dword [edi], 0x101f9dd8
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, edi
call fcn.10070f78
lea ecx, [esi + 0x78]
mov byte [esp + 0x2c], 3
call fcn.1007101a
lea edx, [ebp + 8]
mov byte [esp + 0x2c], 2
push edx
mov dword [ebp], 0x101f9dd8
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, ebp
call fcn.10070f78
lea ecx, [esi + 0x3c]
mov byte [esp + 0x2c], 1
call fcn.100710c2
mov ecx, esi
mov byte [esp + 0x2c], 0
neg ecx
sbb ecx, ecx
and ecx, ebx
call fcn.100c9790
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.100cb7b0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x100c8e20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101e9e3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call fcn.100cb910
mov eax, dword [0x102046b8]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx + 0x2c], eax
mov ecx, dword [0x102046b8]
lea ebp, [ebx + 0x30]
mov dword [ebp], ecx
mov byte [esp + 0x1c], 2
mov dword [ebx], 0x10204744
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10281d8c
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [ebx + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0x30]
mov dword [ebx + 0x28], ecx
push edx
mov ecx, ebp
call fcn.100b53f0
mov eax, dword [ebx + 0x38]
mov ebp, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
cmp eax, edi
je 0x100c8f00
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x34], edi
cmp esi, edi
je 0x100c8f2d
cmp ebp, edi
jbe 0x100c8f2d
push ebp
call sub.MFC42u.DLL_operatornew
add esp, 4
cmp eax, edi
mov dword [ebx + 0x38], eax
je 0x100c8f2d
mov ecx, ebp
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x34], ebp
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x100c8f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e9e6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x10204744
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 2
je 0x100c8f94
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esp + 0x14], 1
call fcn.100b5270
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], bl
call fcn.100b5270
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.100cb940
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100c92c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e9eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str._08x__08x__08x__08x__08x
push edx
mov dword [esp + 0x30], 0
call sub.MFC42u.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x14], 1
call fcn.100e07b0
test eax, eax
je 0x100c933a
mov eax, dword [esp + 8]
lea ecx, [esp + 4]
push eax
push str.GlobalOAV3_MF_CompleteEvent__s
push ecx
jmp 0x100c9349
mov edx, dword [esp + 8]
lea eax, [esp + 4]
push edx
push str.OAV3_MF_CompleteEvent__s
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x10]
add esp, 0xc
push ecx
push 0
push 0
call fcn.10125730
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100c9d90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101e9fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x18]
lea eax, [edi + 0x80]
push eax
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebp
mov eax, dword [edi + 0x70]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
je 0x100c9e89
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x100c9e10
lea esi, [edi + 0x64]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CMapPtrToPtr::GetNextAssoc
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp dword [esp + 0x30], ebp
jne 0x100c9deb
mov eax, dword [edi + 0x70]
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x100c9e7f
push ebx
lea ebx, [edi + 0x64]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call sub.MFC42u.DLL_CMapPtrToPtr::GetNextAssoc
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
cmp ecx, ebp
je 0x100c9e49
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, esi
mov dword [esi + 0x24], ebp
call fcn.100898a0
mov ecx, dword [esp + 0x10]
call fcn.10089950
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x100c9e6a
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x100c9e78
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x34], ebp
jne 0x100c9e23
pop ebx
lea ecx, [edi + 0x64]
call sub.MFC42u.DLL_CMapPtrToPtr::RemoveAll
jmp 0x100c9f01
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x100c9f01
lea esi, [edi + 0x64]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CMapPtrToPtr::GetNextAssoc
mov ecx, dword [esp + 0xc]
call fcn.100899d0
test eax, eax
jne 0x100c9efb
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x20], ebp
jne 0x100c9efb
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x100c9ee1
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, ebp
je 0x100c9ef3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CMapPtrToPtr::RemoveKey
cmp dword [esp + 0x30], ebp
jne 0x100c9e98
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x100ca160
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101ea058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], edi
cmp eax, edi
jne 0x100ca192
xor eax, eax
jmp 0x100ca256
lea eax, [esi + 0x80]
push 1
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov eax, dword [esi + 0x70]
mov ebx, dword [esp + 0x40]
neg eax
sbb eax, eax
mov dword [esp + 0x38], edi
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x100ca209
lea ebp, [esi + 0x64]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x4c], edi
call sub.MFC42u.DLL_CMapPtrToPtr::GetNextAssoc
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0x24], edi
je 0x100ca203
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov edx, dword [ecx]
lea eax, [esp + 0x24]
push eax
call dword [edx + 0x1c]
cmp bx, word [esp + 0x14]
je 0x100ca26b
cmp dword [esp + 0x18], edi
jne 0x100ca1be
push ebx
mov ecx, esi
call fcn.100ca090
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x100ca241
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x64]
push edx
push eax
mov dword [esp + 0x24], edi
call sub.MFC42u.DLL_CMapPtrToPtr::Lookup
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x100ca23d
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov esi, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42u.DLL_CSingleLock::Unlock
mov eax, esi
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ecx, dword [esp + 0x40]
add ecx, 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x10]
jmp 0x100ca243
Function at 0x100ca730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101ea0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esi + 0x30]
push str.ListenWnd
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0
mov eax, dword [eax + 0x18]
push eax
push 0x1024d8d4
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_2
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x54]
push ecx
push str.ListenWnd
mov eax, dword [edx + 0x18]
lea edx, [esp + 0x10]
push eax
push str._s__s__08x
push edx
mov byte [esp + 0x5c], 1
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 0x14
push eax
push ecx
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 8]
mov edi, eax
mov byte [esp + 0x48], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42u.DLL_CString::CString
test edi, edi
jne 0x100ca7f6
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
push ebp
xor ebp, ebp
push ebp
lea ecx, [esp + 0x28]
call fcn.100cae20
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x50], 2
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push ecx
lea ecx, [esp + 0x28]
call fcn.100caec0
test eax, eax
je 0x100ca86b
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x24]
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x12345678
mov dword [esp + 0x20], eax
call fcn.100caec0
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x18]
push ecx
push edx
push 0x4a
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
xor eax, eax
lea ecx, [esp + 0x24]
test ebp, ebp
setne al
mov esi, eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.100cae70
mov ecx, dword [esp + 0x44]
pop ebp
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 8