Function at 0x40d630
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493f74
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4c206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
push 4
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push str.INFO
mov byte [edi], 0
call fcn.0041ccc0
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.DEBUG
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.WARN
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.ERROR
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 3
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.FATAL
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 4
push 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4aa9fc
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x90]
mov byte [ebp - 4], 5
push 2
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4aacec
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0xa8]
mov byte [ebp - 4], 6
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.TRACE
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0xc0]
mov byte [ebp - 4], 7
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._app
mov byte [ecx], 0
call fcn.0041ccc0
mov byte [ebp - 4], 8
lea ecx, [edi + 0xd8]
mov dword [ecx + 0x10], 0
push 7
mov dword [ecx + 0x14], 0xf
push str._logger
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0xf0]
mov byte [ebp - 4], 9
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._thread
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x108]
mov byte [ebp - 4], 0xa
push 6
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._level
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x120]
mov byte [ebp - 4], 0xb
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._date
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x138]
mov byte [ebp - 4], 0xc
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._time
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x150]
mov byte [ebp - 4], 0xd
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._datetime
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x168]
mov byte [ebp - 4], 0xe
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._loc
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x180]
mov byte [ebp - 4], 0xf
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._func
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x198]
mov byte [ebp - 4], 0x10
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._user
mov byte [ecx], 0
call fcn.0041ccc0
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0x1b0]
mov dword [ecx + 0x10], 0
push 5
mov dword [ecx + 0x14], 0xf
push str._host
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x1c8]
mov byte [ebp - 4], 0x12
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._log
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x1e0]
mov byte [ebp - 4], 0x13
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str._vlevel
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x1f8]
mov byte [ebp - 4], 0x14
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.nullptr
mov byte [ecx], 0
call fcn.0041ccc0
mov byte [ebp - 4], 0x15
lea ecx, [edi + 0x228]
mov byte [edi + 0x210], 0x45
mov dword [edi + 0x214], 0x64
mov dword [edi + 0x218], 0x186a0
mov dword [edi + 0x21c], 0x3e8
mov dword [edi + 0x220], 9
mov dword [edi + 0x224], 0
push 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4ab29c
mov byte [ecx], 0
call fcn.0041ccc0
lea ecx, [edi + 0x240]
mov byte [ebp - 4], 0x16
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.qnlog.log
mov byte [ecx], 0
call fcn.0041ccc0
mov dword [edi + 0x268], 0
mov dword [edi + 0x26c], 0xf
mov byte [edi + 0x258], 0
sub esp, 8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xe0]
call fcn.00413550
mov edx, str.__ALL:_n
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str.____FORMAT__________________datetime__level___log_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str._DEBUG:_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str.____FORMAT__________________datetime__level___user__host____func____loc___log_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str._ERROR:_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str.____FORMAT__________________datetime__level__log_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str._FATAL:_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str.____FORMAT__________________datetime__level__log_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str._QA:_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str.____FORMAT__________________datetime__level_____log_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str._VERBOSE:_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str.____FORMAT__________________datetime__level__vlevel__log_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str._TRACE:_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
mov edx, str.____FORMAT__________________datetime__level___func____loc___log_n
lea ecx, [ebp - 0xd0]
call fcn.0041d1c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00411ab0
push eax
lea ecx, [edi + 0x258]
call fcn.0041a270
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40db8c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40db82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dbb4
push edx
push ecx
call fcn.00459719
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00412d00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004591b7
mov esp, ebp
pop ebp
ret
call fcn.00474c79
int3