Function at 0x40b510
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453456
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x46a180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x254], edi
mov dword [ebp - 4], 0
call fcn.0040b4a0
movups xmm0, xmmword [0x4586a0]
movups xmmword [0x46c3cc], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0x1388
mov dword [edi + 0x38], 0x3e8
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3e], 0
mov esi, dword [0x46a024]
mov ecx, dword [0x46a028]
cmp esi, ecx
jae 0x40b5bb
mov eax, dword [esi]
test eax, eax
je 0x40b5b4
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x46a028]
add esi, 4
cmp esi, ecx
jb 0x40b5a1
push 0x100
lea eax, [edi + 0x40]
mov dword [edi + 0x260], 1
push eax
push 0x64
push dword [0x46cb08]
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0x10
mov dword [edi + 0x248], 1
mov dword [edi + 0x24c], 1
mov dword [edi + 0x250], 0
mov dword [edi + 0x254], 0
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0
push 6
mov dword [ebp - 4], 1
mov dword [edi], vtable.CWemeetUpdateSvcModule.0
call fcn.00410d50
push 0
call fcn.00410da0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00432ee0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004120f0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
add esp, 0x1c
push str.TencentWemeet_
push eax
call esi
push str.Logs_
lea eax, [ebp - 0x218]
push eax
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
movups xmmword [ebp - 0x230], xmm0
mov word [ebp - 0x230], ax
lea esi, [ebp - 0x218]
mov byte [ebp - 4], 2
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40b6c4
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x40b703
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x218]
add esi, esi
push esi
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00432960
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x230], ax
jmp 0x40b77e
cmp esi, 0x7ffffffe
ja 0x40b8dd
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40b722
mov eax, SysReAllocString
jmp 0x40b72c
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00402f50
mov edi, eax
mov dword [ebp - 0x220], esi
mov eax, dword [ebp - 0x24c]
add esi, esi
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push esi
push eax
push edi
call fcn.00432960
add esp, 0x14
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x230], edi
mov edi, dword [ebp - 0x250]
lea eax, [ebp - 0x230]
push eax
call fcn.004118c0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00415320
cmp dword [ebp - 0x234], 0xf
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
cmova eax, dword [ebp - 0x248]
push eax
call fcn.00410b10
push str.wemeet_service
call fcn.00410d70
add esp, 0xc
mov esi, esp
mov dword [ebp - 0x250], esi
push 0x38
call fcn.00430dd5
mov ecx, eax
add esp, 4
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x40b816
xorps xmm0, xmm0
lea eax, [ecx + 0x10]
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov dword [ecx], vtable.std::_Ref_count_obj2_class_std::function_bool____cdecl___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______.0
mov dword [eax], 0x457fec
mov dword [eax + 0x24], eax
jmp 0x40b818
xor ecx, ecx
lea eax, [ecx + 0x10]
mov dword [esi + 4], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.00410ca0
mov ecx, dword [ebp - 0x234]
add esp, 8
cmp ecx, 0xf
jbe 0x40b869
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b85f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b8e2
push ecx
push edx
call fcn.00430e05
add esp, 8
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp ecx, 7
jbe 0x40b8c0
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b8b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b8e2
push ecx
push edx
call fcn.00430e05
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004312d2
mov esp, ebp
pop ebp
ret
call fcn.004092a0
call fcn.00435fbe
int3