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

Disassembly:
push 0xffffffffffffffff
push 0x55ef76
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2a4]
mov esi, dword [esp + 0x2a0]
push 0xffffffffffffffff
xor ebp, ebp
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], ebx
call fcn.0049eff0
mov edi, vtable.cWCStr.0
mov dword [esp + 0x2c], edi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2a0], ebp
call fcn.00406a80
mov edx, dword [esp + 0x30]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4b68b0
sub eax, esi
sar eax, 1
cmp word [edx + eax*2 - 2], 0x5c
je 0x4b68d7
push 0xffffffffffffffff
push 0x56b9a8
lea ecx, [esp + 0x34]
call fcn.0049eeb0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x1c]
call fcn.0049eff0
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 1
call fcn.00406a80
push 0xffffffffffffffff
push 0x56d7b8
lea ecx, [esp + 0x1c]
call fcn.0049eeb0
mov edx, dword [esp + 0x18]
push ebp
lea ecx, [esp + 0x40]
push ecx
push edx
call fcn.004b6200
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x4b6a8f
mov ebx, dword [esp + 0x2a8]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call fcn.00406a80
push 0xffffffffffffffff
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0049eeb0
mov al, byte [esp + 0x3c]
test al, 0x10
je 0x4b69fb
mov ecx, 0x56eb24
lea eax, [esp + 0x68]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b699b
test dx, dx
je 0x4b6997
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b699b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b6975
xor eax, eax
jmp 0x4b69a0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b6a68
mov ecx, 0x56eb1c
lea eax, [esp + 0x68]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b69d7
test dx, dx
je 0x4b69d3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b69d7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b69b1
xor eax, eax
jmp 0x4b69dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b6a68
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push ebx
push edx
push 1
push eax
call fcn.004ba820
add esp, 0x10
jmp 0x4b6a68
test al, 1
je 0x4b6a11
mov ecx, dword [esp + 0x18]
push 0x80
push ecx
call fcn.004b6540
add esp, 8
mov edx, dword [esp + 0x18]
xor esi, esi
push esi
push edx
call fcn.004b6610
add esp, 8
cmp eax, 1
sete al
test al, al
jne 0x4b6a68
jmp 0x4b6a30
cmp esi, dword [0x5b9f14]
jge 0x4b6a58
push 0x64
call edi
mov eax, dword [esp + 0x18]
push 0
push eax
inc esi
call fcn.004b6610
add esp, 8
cmp eax, 1
sete al
test al, al
je 0x4b6a30
jmp 0x4b6a68
test al, al
jne 0x4b6a68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test bl, bl
je 0x4b6a80
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b6940
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4b6a95
mov dword [ebx], ebp
test ebp, ebp
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x14]
sete bl
mov byte [esp + 0x298], 0
mov dword [esp + 0x14], esi
call fcn.0049ee80
lea ecx, [esp + 0x2c]
mov dword [esp + 0x298], 0xffffffff
mov dword [esp + 0x2c], esi
call fcn.0049ee80
mov al, bl
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0051916c
add esp, 0x288
ret