Function at 0x4fb940
Capabilities:
Check for peb beingdebugged flag
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5da6a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov al, byte [esp + 2]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x28], al
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov cl, byte [esp + 0x12]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x34], esp
push esi
mov dword [esp + 0x1c4], esi
mov byte [ebx], cl
mov ecx, ebx
call fcn.00401850
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.004018c0
test al, al
je 0x4fb9db
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x619c18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], ebp
mov ebx, dword [ebx + 4]
add ebx, ebp
xor esi, esi
mov byte [ebx], 0
push esi
lea ecx, [esp + 0x54]
call fcn.00542e70
mov eax, dword [esp + 0x3c]
push 0xff
lea ecx, [esp + 0xac]
push 0x609488
push ecx
mov byte [esp + 0x1bc], 1
mov byte [eax + 0x40], 0
call fcn.005bcf3d
mov dl, byte [esp + 0x1e]
push ecx
mov ebx, esp
mov dword [esp + 0x34], esp
push esi
mov ecx, ebx
mov byte [ebx], dl
call fcn.00401850
lea edi, [esp + 0xb8]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.004018c0
test al, al
je 0x4fba69
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0xb8]
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 + 8], ebp
mov ebx, dword [ebx + 4]
add ebx, ebp
xor esi, esi
mov byte [ebx], 0
sub esp, 0x10
lea edx, [esp + 0x32]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
push 0x60af04
mov byte [esp + 0x1d8], 2
call fcn.00404ee0
sub esp, 0x10
lea eax, [esp + 0x53]
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
push 0x60cf40
mov byte [esp + 0x1e8], 3
call fcn.00404ee0
sub esp, 0x10
lea edx, [esp + 0x53]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
push 0x619c18
mov byte [esp + 0x1f8], 4
call fcn.00404ee0
sub esp, 0x10
mov byte [esp + 0x200], 5
mov edi, esp
mov dword [esp + 0x6c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x60df70
call fcn.00558100
push edi
call fcn.00560f40
sub esp, 8
mov byte [esp + 0x210], 6
mov edi, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x60df70
call fcn.00558100
push edi
call fcn.00560f40
add esp, 8
lea eax, [esp + 0xf4]
mov ecx, 0x619a58
mov byte [esp + 0x210], 1
push eax
call fcn.00543d00
mov edx, dword [0x5e5150]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x44], cx
push esi
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1bc], 7
call fcn.004120f0
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1b4], 1
call fcn.00401850
lea ecx, [esp + 0x40]
call fcn.00551f50
cmp ax, 2
jne 0x4fbbc9
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x1b4], 0
call fcn.00401850
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
cmp edi, ebx
mov dword [esp + 0x1b0], 0xffffffff
je 0x4fc51f
push esi
mov ecx, edi
call fcn.004e70e0
add edi, 0x1c
cmp edi, ebx
jne 0x4fbbb5
jmp 0x4fc51b
lea eax, [esp + 0x74]
lea ecx, [esp + 0x40]
push eax
call fcn.00542fb0
mov edi, dword [eax + 4]
cmp edi, esi
jne 0x4fbbe3
mov edi, 0x5e514c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xa8]
mov eax, ecx
mov esi, edi
mov edi, edx
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
call fcn.00401850
lea ecx, [esp + 0xa8]
push ecx
call fcn.005bd3b2
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x60e404
mov byte [esp + 0x24], al
call fcn.00558100
lea edx, [esp + 0x88]
push edx
call fcn.00560f40
add esp, 8
mov al, byte [esp + 0x13]
mov edi, 0x619c18
mov byte [esp + 0x5c], al
xor eax, eax
or ecx, 0xffffffff
mov byte [esp + 0x1b0], 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x60], eax
push ecx
push 0x619c18
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.004017b0
mov byte [esp + 0x1b0], 9
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.004e6490
xor ebp, ebp
mov dword [esp + 0x30], esi
cmp word [esp + 0x24], bp
je 0x4fbd65
mov ecx, dword [0x626ad8]
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, ecx
shl eax, 4
add eax, 0x626498
inc ecx
push eax
mov dword [0x626ad8], ecx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.004fdf60
mov ecx, dword [0x626ad8]
mov edi, eax
mov eax, ecx
shl eax, 4
add eax, 0x626498
inc ecx
push eax
mov dword [0x626ad8], ecx
call esi
cmp dword [0x626ad8], 0x64
jne 0x4fbd13
mov dword [0x626ad8], ebp
cmp di, bp
jl 0x4fc387
jne 0x4fbd65
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x1c0], 0xb
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60df68
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1c0], 9
call fcn.00543af0
mov dword [esp + 0x24], ebp
push 1
lea edx, [esp + 0x60]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00411fd0
sub esp, 0x10
lea eax, [esp + 0xa8]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x1d8], 0xc
call fcn.00411fd0
mov ecx, dword [0x619a60]
mov byte [esp + 0x1d4], 9
call fcn.005455c0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xa8]
and edi, 0xff
push edi
push 0x609488
push ecx
call fcn.005bcf3d
add esp, 0xc
push ebp
push 0xffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60dc58
call fcn.00558100
sub esp, 0x10
lea edx, [esp + 0x2f]
mov ecx, esp
mov dword [esp + 0x38], esp
lea eax, [esp + 0xc4]
push edx
push eax
mov byte [esp + 0x1d4], 0xd
call fcn.00404ee0
push ecx
mov byte [esp + 0x1d0], 0xe
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x60df58
call fcn.00558100
mov ecx, dword [0x619a60]
mov byte [esp + 0x1d0], 9
call fcn.00545cb0
xor esi, esi
xor ebx, ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x4fbf6b
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jae 0x4fbf6b
push esi
lea ecx, [esp + 0x2c]
call fcn.004e6470
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00558070
call fcn.0043b980
mov edx, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x28]
mov al, byte [edx + ebx]
push ebp
cmp al, 1
push 0xffff
push esi
jne 0x4fbefb
call fcn.004e6470
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00558070
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c0], 0xf
call fcn.004e6470
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00411fd0
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x1d0], 0x10
call fcn.004e6470
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00558070
jmp 0x4fbf4f
call fcn.004e6470
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00558070
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c0], 0x11
call fcn.004e6470
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00411fd0
push ecx
mov byte [esp + 0x1d0], 0x12
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x60df50
call fcn.00558100
mov ecx, dword [0x619a60]
mov byte [esp + 0x1d0], 9
call fcn.00545cb0
inc esi
add ebx, 0x1c
jmp 0x4fbe39
mov ecx, dword [0x619a60]
push ebp
call fcn.00545f70
cmp ax, 0xb
je 0x4fc3cd
cmp ax, 9
jne 0x4fbfed
inc edi
cmp edi, 0xff
jle 0x4fbfe2
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x1c0], 0x13
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60dfd0
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1c0], 9
call fcn.00543af0
push 2
call fcn.00401520
add esp, 4
jmp 0x4fbc8f
mov al, byte [esp + 0x18]
inc al
jmp 0x4fc36c
cmp ax, 8
jne 0x4fc058
mov al, byte [esp + 0x18]
test al, al
jne 0x4fc04d
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x1c0], 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60dfd0
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1c0], 9
call fcn.00543af0
push 2
call fcn.00401520
add esp, 4
jmp 0x4fbc8f
mov al, byte [esp + 0x18]
dec al
jmp 0x4fc36c
cmp ax, 0xc
jne 0x4fc378
push 0xff
lea eax, [esp + 0xac]
push 0x609488
push eax
call fcn.005bcf3d
push ecx
mov cl, byte [esp + 0x23]
mov ebp, esp
xor eax, eax
lea edi, [esp + 0xb8]
mov dword [esp + 0x24], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004018c0
test al, al
je 0x4fc0d6
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xb8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
sub esp, 0x10
lea eax, [esp + 0x43]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
push 0x60af04
mov byte [esp + 0x1d8], 0x15
call fcn.00404ee0
sub esp, 0x10
lea edx, [esp + 0x42]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
push 0x60cf40
mov byte [esp + 0x1e8], 0x16
call fcn.00404ee0
sub esp, 0x10
lea eax, [esp + 0x9b]
mov ecx, esp
mov dword [esp + 0xac], esp
push eax
push 0x619c18
mov byte [esp + 0x1f8], 0x17
call fcn.00404ee0
sub esp, 0x10
mov byte [esp + 0x200], 0x18
mov esi, esp
mov dword [esp + 0xc0], esp
push ecx
mov ecx, esp
mov dword [esp + 0xa8], esp
push 6
push 0x60df70
call fcn.00558100
push esi
call fcn.00560f40
sub esp, 8
mov byte [esp + 0x210], 0x19
mov esi, esp
mov dword [esp + 0xb4], esp
push ecx
mov ecx, esp
mov dword [esp + 0xb8], esp
push 6
push 0x60df70
call fcn.00558100
push esi
call fcn.00560f40
add esp, 8
lea ecx, [esp + 0xf4]
mov byte [esp + 0x210], 9
push ecx
mov ecx, 0x619a58
call fcn.00543d00
mov dx, word [eax]
mov ecx, dword [0x5e5150]
lea esi, [eax + 4]
mov word [esp + 0x40], dx
mov byte [esp + 0x1b0], 0x1a
mov eax, dword [esi + 8]
mov ebp, eax
cmp ecx, ebp
jae 0x4fc1dd
mov ebp, ecx
lea edx, [esp + 0x44]
cmp edx, esi
jne 0x4fc202
push ecx
push ebp
lea ecx, [esp + 0x4c]
call fcn.00421610
xor ebx, ebx
lea ecx, [esp + 0x44]
push ebx
push ebx
call fcn.00421610
jmp 0x4fc28d
xor ebx, ebx
cmp ebp, ebx
jbe 0x4fc251
cmp ebp, eax
jne 0x4fc251
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4fc218
mov eax, 0x5e514c
cmp byte [eax - 1], 0xfe
jae 0x4fc251
push 1
lea ecx, [esp + 0x48]
call fcn.00401850
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4fc235
mov eax, 0x5e514c
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x4c], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x50], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4fc28d
push 1
push ebp
lea ecx, [esp + 0x4c]
call fcn.004018c0
test al, al
je 0x4fc28d
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x4fc26d
mov esi, 0x5e514c
mov edi, dword [esp + 0x48]
mov ecx, ebp
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 ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x1b0], 9
cmp eax, ebx
je 0x4fc2bd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fc2b4
cmp al, 0xff
je 0x4fc2b4
dec al
mov byte [ecx], al
jmp 0x4fc2bd
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
call fcn.00551f50
cmp ax, 2
je 0x4fbc8f
lea edx, [esp + 0x74]
lea ecx, [esp + 0x40]
push edx
call fcn.00542fb0
mov edi, dword [eax + 4]
xor ebx, ebx
cmp edi, ebx
jne 0x4fc301
mov edi, 0x5e514c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xa8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x78]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4fc34a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fc341
cmp al, 0xff
je 0x4fc341
dec al
mov byte [ecx], al
jmp 0x4fc34a
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x78], ebx
push ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.005bd3b2
add esp, 4
mov byte [esp + 0x18], al
mov dword [esp + 0x24], 1
push 2
call fcn.00401520
add esp, 4
jmp 0x4fbc8f
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x1c0], 0xa
mov ecx, esp
mov dword [esp + 0x80], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1c0], 9
call fcn.00543af0
mov eax, dword [esp + 0x60]
cmp eax, ebp
je 0x4fc3f2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fc3e9
cmp al, 0xff
je 0x4fc3e9
dec al
mov byte [ecx], al
jmp 0x4fc3f2
push ecx
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x88]
mov dword [esp + 0x60], ebp
cmp eax, ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
je 0x4fc426
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fc41d
cmp al, 0xff
je 0x4fc41d
dec al
mov byte [ecx], al
jmp 0x4fc426
push ecx
call fcn.005bc500
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x88], ebp
cmp eax, ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
je 0x4fc460
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fc457
cmp al, 0xff
je 0x4fc457
dec al
mov byte [ecx], al
jmp 0x4fc460
push ecx
call fcn.005bc500
add esp, 4
mov edi, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
or ebp, 0xffffffff
cmp edi, eax
mov dword [esp + 0x1b0], ebp
mov ebx, eax
mov dword [esp + 0x3c], edi
je 0x4fc51f
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
test eax, eax
mov dword [esp + 0x1b0], 0x1c
je 0x4fc4e2
push eax
mov ecx, esi
call fcn.0044c9c0
cmp byte [eax], 0
je 0x4fc4cf
mov edx, dword [esi + 4]
mov ecx, esi
push edx
call fcn.0044c9c0
cmp byte [eax], 0xff
je 0x4fc4cf
mov eax, dword [esi + 4]
mov ecx, esi
push eax
call fcn.0044c9c0
dec byte [eax]
jmp 0x4fc4e2
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
add ecx, 2
dec edx
push ecx
push edx
mov ecx, esi
call fcn.005107f0
xor eax, eax
lea ecx, [edi + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0x1b0], 0x1b
call fcn.005581a0
lea ecx, [edi + 4]
mov dword [esp + 0x1b0], ebp
call fcn.005581a0
add edi, 0x1c
cmp edi, ebx
mov dword [esp + 0x3c], edi
jne 0x4fc48e
mov edi, dword [esp + 0x2c]
push edi
call fcn.005bc500
mov ecx, dword [esp + 0x1ac]
add esp, 4
mov ax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a4
ret