Function at 0x4d4840
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f99d4
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x70], eax
mov edi, dword [eax]
add edi, 0x30
mov dword [ebp - 0x74], eax
push 0xffffffffffffffff
mov dword [ebp - 0x90], edi
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [edi + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [edi]
push esi
mov byte [ebp - 0x69], al
call ebx
cmp byte [ebp - 0x69], 0
je 0x4d48bb
xor eax, eax
jmp 0x4d4c5e
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [edi + 1]
push esi
mov byte [ebp - 0x69], al
call ebx
cmp byte [ebp - 0x69], 0
je 0x4d48de
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4d489c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi], 0
jne 0x4d4c0e
cmp byte [edi + 1], 0
jne 0x4d4c0e
cmp byte [edi + 2], 0
je 0x4d4905
mov ecx, edi
call fcn.004d2ad0
mov eax, dword [edi + 4]
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 8]
push esi
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
call ebx
mov ecx, dword [ebp - 0x70]
xorps xmm0, xmm0
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0x5c], 0x506be8
mov dword [ebp - 0x58], ebx
mov ecx, dword [ecx]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x68], 0x506bf8
movq qword [ebp - 0x44], xmm0
mov al, byte [ecx + 0x160]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x60], al
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 3
cmp byte [ecx + 0x160], 0
je 0x4d498b
lea eax, [ecx + 0x164]
push eax
lea ecx, [ebp - 0x44]
call fcn.004d5650
jmp 0x4d4a91
lea ecx, [ebp - 0x8c]
call fcn.004649e0
push 0x501cc8
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.00412a60
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
call fcn.00410e70
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x80]
call fcn.00412c30
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00464b60
mov byte [ebp - 4], 3
push dword [ebp - 0x80]
call fcn.004df97b
push dword [ebp - 0x8c]
call fcn.004df97b
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.004649e0
push 0x64
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.004127f0
lea edx, [ebp - 0x34]
mov ecx, ebx
call fcn.00410e70
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00412c30
mov ecx, dword [ebp - 0x88]
cmp dword [ebp - 0x84], ecx
jne 0x4d4a4c
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [ebp - 0x8c]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
mov edx, 0x62
mov word [eax + ecx*2], dx
inc ecx
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x44]
push eax
call fcn.00464b60
mov byte [ebp - 4], 3
push dword [ebp - 0x80]
call fcn.004df97b
push dword [ebp - 0x8c]
call fcn.004df97b
add esp, 8
mov ebx, dword [ebp - 0x70]
sub esp, 8
xor edx, edx
mov eax, dword [ebx]
mov cl, byte [eax + 0x160]
lea eax, [ebp - 0x44]
push eax
test cl, cl
lea eax, [ebp - 0x5c]
cmovne eax, edx
lea edx, [ebp - 0x68]
push eax
xor eax, eax
test cl, cl
mov ecx, dword [ebx + 4]
cmove edx, eax
call fcn.0045ed20
mov ebx, eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
cmp byte [eax + 0x160], 0
je 0x4d4ae1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x44]
call fcn.00438860
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4d4b02
cmp ebx, 0x80004004
je 0x4d4896
jmp 0x4d4b42
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [edi + 0x10], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
adc dword [edi + 0x14], 0
push esi
call ebx
jmp 0x4d489c
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi + 1], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x50], xmm0
call fcn.00412560
mov byte [ebp - 4], 8
cmp ebx, 1
jne 0x4d4b9f
push str.Decoding_error
lea ecx, [ebp - 0x50]
call fcn.00412a60
jmp 0x4d4be2
cmp ebx, 0x80040111
jne 0x4d4bb6
push str.Cant_find_fea.dll
lea ecx, [ebp - 0x50]
call fcn.00412a60
jmp 0x4d4be2
mov edx, ebx
lea ecx, [ebp - 0xa0]
call fcn.004cbf80
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.004128e0
mov byte [ebp - 4], 8
push dword [ebp - 0xa0]
call fcn.004df97b
add esp, 4
mov eax, dword [ebp - 0x70]
push 0x10
push 0x502ee0
push dword [ebp - 0x50]
mov eax, dword [eax]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 0
push dword [ebp - 0x50]
call fcn.004df97b
add esp, 4
jmp 0x4d4896
push esi
mov byte [ebp - 4], 0
call ebx
jmp 0x4d489c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004df96c
mov esp, ebp
pop ebp
ret