Function at 0x41d750
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
lea eax, [esi + 0x90]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4d1120
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword fs:[0], eax
lea eax, [esi + 0x45]
mov dword [eax + 3], 0
mov dword [eax - 1], 0x25
mov ecx, dword [ecx + 4]
bt ecx, 0xb
jb 0x41d9a1
bt ecx, 9
jb 0x41d9c4
mov word [eax], 0x6c6c
mov edx, ecx
and edx, 0x4a
cmp edx, 8
je 0x41d931
cmp edx, 0x40
je 0x41da35
mov cl, 0x64
mov edi, esp
mov byte [eax + 2], cl
xor eax, eax
dec eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
push eax
sub esp, 0x1c
mov ebx, esp
mov eax, dword [0x6be6bc]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x41d943
mov eax, dword [0x6be6b4]
mov dword [ebx + 8], eax
mov eax, dword [0x6be6b8]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0
lea eax, [esi + 0x20]
mov dword [ebx], eax
mov dword [ebx + 4], 0x18
lea eax, [esi + 0x44]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.0040b2d0
add esp, 0x20
mov esp, edi
lea edx, [esi + eax]
add edx, 0x20
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov ebx, ecx
and bl, 0xb0
mov dword [esi + 0xc], edx
cmp bl, 0x20
mov edi, 0xffffffff
je 0x41d889
and ecx, 0xb0
cmp ecx, 0x10
je 0x41d9cd
lea edx, [esi + 0x20]
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x50]
movdqu xmmword [eax + 0x1d], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea ecx, [esi + 0x10]
mov dword [ecx], edi
lea ebx, [esi + 0x1c]
mov dword [ebx], edi
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edi, [esi + 0x4c]
mov dword [edi], ecx
mov dword [esi + 8], ecx
lock inc dword [ecx + 4]
mov dword [esi + 0x98], 0
lea ecx, [esi + 0x20]
push edi
push ebx
lea edi, [esi + 0x10]
push edi
push eax
push dword [esi + 0xc]
call fcn.00415180
add esp, 0x14
mov bl, byte [ebp + 0xc]
mov eax, dword [esi + 8]
xor ecx, ecx
dec ecx
lock xadd dword [eax + 4], ecx
test ecx, ecx
je 0x41da11
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x98], 0xffffffff
movsx edx, bl
push edx
push dword [ebp + 8]
push eax
push ecx
lea eax, [esi + 0x50]
push eax
push dword [esi + 0x14]
mov edi, dword [esi + 0x18]
push edi
call fcn.004feff0
add esp, 0x1c
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
bt ecx, 0xe
setae cl
shl cl, 5
or cl, 0x58
jmp 0x41d7dc
push 0x6be6bc
call fcn.00510c6d
add esp, 4
cmp dword [0x6be6bc], 0xffffffff
jne 0x41d81a
mov dword [esi + 0xc], esp
mov eax, 0x5db3ea
push eax
push 0
call fcn.00511046
add esp, 8
mov dword [0x6be6b4], eax
mov eax, 0x5db3ea
mov dword [0x6be6b8], eax
mov esp, dword [esi + 0xc]
push fcn.00548450
call fcn.00511031
add esp, 4
push 0x6be6bc
call fcn.00510d9d
add esp, 4
jmp 0x41d81a
mov edx, ecx
and edx, 0x4a
cmp edx, 8
je 0x41d7b4
cmp edx, 0x40
je 0x41d7b4
lea eax, [esi + 0x46]
mov byte [eax - 1], 0x2b
jmp 0x41d7b4
mov byte [eax], 0x23
inc eax
jmp 0x41d7be
lea edx, [esi + 0x21]
movzx ecx, byte [edx - 1]
cmp ecx, 0x2b
je 0x41da3c
cmp ecx, 0x2d
mov edi, 0xffffffff
je 0x41d889
cmp eax, 2
jl 0x41d886
cmp cl, 0x30
jne 0x41d886
movzx eax, byte [esi + 0x21]
or eax, 0x20
cmp eax, 0x78
jne 0x41d886
lea edx, [esi + 0x22]
jmp 0x41d889
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov dword [esi + 0x98], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esi + 8]
call edi
jmp 0x41d8ef
mov cl, 0x6f
jmp 0x41d7dc
xor edi, edi
dec edi
jmp 0x41d889