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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov dword [0x41095c], 0
xor eax, eax
mov dword [0x410944], 0
mov ecx, 0x60
mov byte [0x4103d3], 0
mov byte [0x4103d1], 0
push esi
push edi
mov edi, 0x4111d0
mov dword [0x410950], 0
rep stosd dword es:[edi], eax
mov dword [0x410968], eax
call fcn.00405d60
test al, al
jne 0x4036ee
mov eax, 0xc0000001
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x40f600
mov dword [0x410960], 0
call fcn.00401740
call fcn.004022e0
mov eax, dword [0x410184]
mov esi, dword [eax + 0x1f4]
cmp esi, 0x30
ja 0x403746
push 0x410838
mov ecx, 0x410730
call fcn.00401900
mov eax, dword [0x410184]
mov ecx, 0x410730
push esi
push dword [eax + 0x1f0]
push 0x4106fc
call fcn.00401940
mov eax, dword [0x410184]
mov esi, dword [eax + 0x218]
cmp esi, 0x2c
ja 0x40377b
push 0x410838
mov ecx, 0x410730
call fcn.00401900
mov eax, dword [0x410184]
mov ecx, 0x410730
push esi
push dword [eax + 0x214]
push 0x411034
call fcn.00401940
call section..text
mov esi, eax
test esi, esi
js 0x4039d9
push 1
push 1
call fcn.00401420
push 3
push 1
mov dword [0x41041c], eax
call fcn.00401420
push 7
push 1
mov dword [0x410964], eax
call fcn.00401420
xor ecx, ecx
mov dword [0x41148c], eax
test eax, eax
mov esi, 0xc0000001
cmovne esi, ecx
test esi, esi
js 0x4039d9
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 0x11c
push eax
push 0x1f
push 1
call fcn.00401420
test eax, eax
je 0x4039d5
imul eax, dword [ebp - 0x1a4], 0x64
add eax, dword [ebp - 0x1a0]
mov dword [0x410950], eax
add eax, 0xfffffe0b
cmp eax, 0x1f3
ja 0x4039d5
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xff676980
push eax
push 0
push 0x10
push 0
mov dword [ebp - 0x14], 0xffffffff
call fcn.00401420
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov dword [0x411068], eax
lea eax, [ebp - 4]
push eax
push 8
push dword [0x41041c]
push 0x1e
push 0
call fcn.00401420
mov esi, eax
test esi, esi
js 0x4039d9
lea eax, [ebp - 0x34]
push eax
push 4
push 0x410958
push 0xc
push dword [ebp - 4]
push 0xa
push 0
call fcn.00401420
mov esi, eax
test esi, esi
js 0x4039c9
mov edx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
mov dword [0x41096c], 0x2000
call fcn.0040c820
test eax, eax
js 0x4038b4
mov esi, dword [ebp - 0xc]
push 0
push dword [esi]
push 0x2b
push 0
call fcn.00401420
mov ecx, esi
mov eax, dword [eax]
mov dword [0x41096c], eax
call fcn.00402fd0
call fcn.0040c120
mov esi, eax
test esi, esi
js 0x4039c9
xor ecx, ecx
lea edi, [ebp - 0x88]
xor esi, esi
lea ecx, [ecx]
mov eax, 0x21
sub eax, ecx
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x40f62f]
push eax
movzx eax, byte [esi + 0x40f62e]
push eax
movzx eax, byte [esi + 0x40f62d]
push eax
movzx eax, byte [esi + 0x40f62c]
push eax
movzx eax, byte [esi + 0x40f62b]
push eax
movzx eax, byte [esi + 0x40f62a]
push eax
movzx eax, byte [esi + 0x40f629]
push eax
movzx eax, byte [esi + 0x40f628]
push eax
push 0x40e0c0
lea eax, [ebp - 8]
push eax
push edi
call fcn.004058c0
add esi, 8
add esp, 0x2c
add edi, 0x20
cmp esi, 0x10
jae 0x40393c
mov ecx, dword [ebp - 8]
jmp 0x4038d0
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x3c]
call fcn.00406940
mov eax, dword [0x410944]
push 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0x1f0003
push 0x410968
push 0x21
push 0
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x24], 0xc0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00401420
mov esi, eax
test esi, esi
js 0x4039d9
mov edx, dword [ebp - 4]
call fcn.0040c240
push dword [ebp - 4]
mov esi, eax
push 8
push 0
call fcn.00401420
test esi, esi
js 0x4039d9
mov ecx, dword [0x41041c]
call fcn.0040c8d0
xor esi, esi
mov byte [0x4103d3], al
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
push 8
push 0
call fcn.00401420
test esi, esi
jns 0x4039ff
mov eax, dword [0x410968]
test eax, eax
je 0x4039ec
push eax
push 8
push 0
call fcn.00401420
mov eax, dword [0x410944]
test eax, eax
je 0x4039ff
push eax
push 8
push 0
call fcn.00401420
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret