Function at 0x4120f0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2104
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x540c80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
call fcn.00401c10
mov dword [ebp - 4], 0
mov dword [edi], fcn.004129e0
mov eax, dword [0x5406d8]
lea esi, [edi + 0x10]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, dword [0x5406d8]
lea esi, [edi + 0x1c]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov eax, dword [0x5406d8]
lea esi, [edi + 0x20]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
mov eax, dword [0x5406d8]
lea esi, [edi + 0x24]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
mov eax, dword [0x5406d8]
lea esi, [edi + 0x28]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xa
mov eax, dword [0x5406d8]
lea esi, [edi + 0x2c]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov eax, dword [0x5406d8]
lea esi, [edi + 0x30]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 0xf
lea esi, [edi + 0x40]
mov eax, dword [0x5406d8]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x5406d8]
lea esi, [edi + 0x44]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x13
mov eax, dword [0x5406d8]
lea esi, [edi + 0x48]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x15
mov eax, dword [0x5406d8]
lea esi, [edi + 0x4c]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x17
mov eax, dword [0x5406d8]
lea esi, [edi + 0x50]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x19
mov eax, dword [0x5406d8]
lea esi, [edi + 0x54]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1b
mov eax, dword [0x5406d8]
lea esi, [edi + 0x58]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1d
mov eax, dword [0x5406d8]
lea esi, [edi + 0x5c]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1f
lea esi, [edi + 0x60]
mov dword [ebp - 0x14], esi
mov eax, dword [0x5406d8]
mov ecx, 0x5406d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x21
mov eax, dword [0x5406d8]
lea esi, [edi + 0x64]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x23
mov eax, dword [0x5406d8]
lea esi, [edi + 0x6c]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x25
mov eax, dword [0x5406d8]
lea esi, [edi + 0x70]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x27
mov eax, dword [0x5406d8]
lea ebx, [edi + 0x74]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x29
mov eax, dword [0x5406d8]
lea esi, [edi + 0x78]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2b
mov eax, dword [0x5406d8]
lea esi, [edi + 0x7c]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2d
mov eax, dword [0x5406d8]
lea esi, [edi + 0x84]
mov ecx, 0x5406d8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2f
lea esi, [edi + 0x88]
mov dword [ebp - 0x14], esi
mov ecx, 0x5406d8
mov eax, dword [0x5406d8]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x31
mov eax, dword [ebp + 8]
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov edx, dword [eax]
mov esi, dword [ebx]
lea ecx, [edx - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x41244f
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x412443
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x412443
call fcn.004028c0
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x41243b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [edi + 0x74], eax
jmp 0x41244f
push dword [edx - 0xc]
lea ecx, [edi + 0x74]
push edx
call fcn.00402790
mov word [edi + 0x80], 0
mov byte [edi + 0x8c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4