Function at 0x39d26c0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x3a343c2
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x3f4], eax
push ebx
push ebp
push esi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x408]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x41c]
mov eax, dword [esp + 0x418]
mov esi, dword [esp + 0x420]
mov ebx, dword [esp + 0x42c]
push 0xe0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x428]
push 0
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.03a01b70
add esp, 0xc
push esi
lea ecx, [esp + 0x364]
call fcn.039f0100
xor esi, esi
mov dword [esp + 0x410], esi
lea ecx, [esp + 0x218]
call fcn.039efdc0
mov byte [esp + 0x410], 1
lea ecx, [esp + 0x174]
call fcn.039efdc0
mov byte [esp + 0x410], 2
lea ecx, [esp + 0x2bc]
call fcn.039efdc0
mov byte [esp + 0x410], 3
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0x10]
cmp ebp, 0x20
jne 0x39d27ac
mov dword [edi + 0x2c], 0xffffffff
jmp 0x39d28d8
test byte [esp + 0x428], 0x10
jne 0x39d28d5
mov ecx, dword [eax + 0x10]
cmp ecx, esi
je 0x39d28d5
cmp ebp, 0x10
jne 0x39d28d8
mov dword [edi + 0x2c], ecx
cmp ebx, esi
je 0x39d27f5
test dword [ebx + 0x2c], 0x100
je 0x39d27f5
mov edx, dword [ebx + 0x38]
mov dword [edi + 0x38], edx
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
mov ecx, dword [ebx + 0x40]
mov dword [edi + 0x40], ecx
jmp 0x39d28a1
mov edx, dword [eax + 0x18]
mov dword [edi + 0x38], edx
mov ecx, dword [eax + 0x1c]
mov dword [edi + 0x3c], ecx
mov edx, dword [eax + 0x20]
mov dword [edi + 0x40], edx
test dword [eax + 0x68], 0x600
je 0x39d28a1
mov eax, dword [edi + 0x38]
cmp eax, esi
mov esi, dword [0x3a6057c]
je 0x39d283d
mov ecx, eax
and ecx, 0x10000003
cmp ecx, 3
je 0x39d283d
lea edx, [esp + 0x24]
push edx
push eax
call esi
test eax, eax
jne 0x39d283d
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x39d2873
mov ecx, eax
and ecx, 0x10000003
cmp ecx, 3
je 0x39d2873
lea edx, [esp + 0x28]
push edx
push eax
call esi
test eax, eax
jne 0x39d2873
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x3c]
jne 0x39d286c
mov dword [edi + 0x40], 0
mov dword [edi + 0x3c], 0
mov eax, dword [edi + 0x40]
test eax, eax
je 0x39d289f
cmp eax, dword [edi + 0x3c]
je 0x39d289f
mov ecx, eax
and ecx, 0x10000003
cmp ecx, 3
je 0x39d289f
lea edx, [esp + 0x20]
push edx
push eax
call esi
xor esi, esi
test eax, eax
jne 0x39d28a1
mov dword [edi + 0x40], eax
jmp 0x39d28a1
xor esi, esi
mov eax, dword [edi + 0x38]
and eax, 0x10000003
cmp eax, 3
jne 0x39d28b1
mov dword [edi + 0x38], esi
mov ecx, dword [edi + 0x3c]
and ecx, 0x10000003
cmp ecx, 3
jne 0x39d28c2
mov dword [edi + 0x3c], esi
mov edx, dword [edi + 0x40]
and edx, 0x10000003
cmp edx, 3
jne 0x39d28d8
mov dword [edi + 0x40], esi
jmp 0x39d28d8
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], ebp
call dword [0x3a60578]
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x428]
push 1
lea ecx, [esp + 0x364]
mov dword [edi + 0x48], eax
call fcn.039ef2c0
lea ecx, [esp + 0x360]
call fcn.039ef670
add eax, 3
movzx ebp, ax
add ebp, 3
lea ecx, [esp + 0x2c]
mov word [edi + 0x80], ax
and ebp, 0xfffffffc
call fcn.039efdc0
mov byte [esp + 0x410], 4
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x2c]
call fcn.039d2660
test eax, eax
je 0x39d2afa
push 1
mov ecx, esi
call fcn.039ef2c0
mov ecx, esi
call fcn.039ef670
inc eax
movzx ecx, ax
add ecx, 3
and ecx, 0xfffffffc
add ebp, ecx
xor edx, edx
lea ecx, [esp + 0xd0]
mov word [edi + 0x82], ax
mov dword [edi + 0x54], 0
mov word [edi + 0x84], dx
call fcn.039efdc0
mov byte [esp + 0x410], 5
mov eax, dword [esp + 0x18]
lea esi, [esp + 0xd0]
call fcn.039d2660
test eax, eax
je 0x39d2ae6
push 1
mov ecx, esi
call fcn.039ef2c0
mov ecx, esi
call fcn.039ef670
mov ecx, dword [esp + 0x14]
inc eax
mov word [edi + 0x86], ax
movzx ecx, word [ecx + 2]
mov dword [edi + 0x60], ecx
movzx edx, ax
add ecx, 3
add edx, 3
and ecx, 0xfffffffc
add ecx, ebp
and edx, 0xfffffffc
lea esi, [ecx + edx]
mov ebp, 4
test ebx, ebx
je 0x39d2aa7
mov eax, dword [ebx + 8]
add esi, 0x44
mov ebp, 5
test eax, eax
je 0x39d2a26
mov ecx, dword [0x3a56b80]
push ecx
push eax
lea ecx, [esp + 0x220]
call fcn.03931210
lea ecx, [esp + 0x218]
call fcn.039ef670
inc eax
mov dword [edi + 0x6c], eax
add eax, 3
and eax, 0xfffffffc
add esi, eax
mov ebp, 6
jmp 0x39d2a2d
mov dword [edi + 0x6c], 0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x39d2a63
mov edx, dword [0x3a56b80]
push edx
push eax
lea ecx, [esp + 0x17c]
call fcn.03931210
lea ecx, [esp + 0x174]
call fcn.039ef670
inc eax
mov dword [edi + 0x74], eax
add eax, 3
and eax, 0xfffffffc
add esi, eax
inc ebp
jmp 0x39d2a6a
mov dword [edi + 0x74], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x39d2aa0
mov ecx, dword [0x3a56b80]
push ecx
push eax
lea ecx, [esp + 0x2c4]
call fcn.03931210
lea ecx, [esp + 0x2bc]
call fcn.039ef670
inc eax
mov dword [edi + 0x7c], eax
add eax, 3
and eax, 0xfffffffc
add esi, eax
inc ebp
jmp 0x39d2aa7
mov dword [edi + 0x7c], 0
call dword [0x3a5fdc8]
push esi
cmp al, 5
jb 0x39d2ac1
push ebp
call dword [0x3a79fa8]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x39d2ad0
push 0
push ebp
call dword [0x3a79fa8]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
test eax, eax
jne 0x39d2b65
push 8
call dword [0x3a5fde0]
mov byte [esp + 0x410], 4
lea ecx, [esp + 0xd0]
call fcn.039ef660
mov byte [esp + 0x410], 3
lea ecx, [esp + 0x2c]
call fcn.039ef660
mov byte [esp + 0x410], 2
lea ecx, [esp + 0x2bc]
call fcn.039ef660
mov byte [esp + 0x410], 1
lea ecx, [esp + 0x174]
call fcn.039ef660
mov byte [esp + 0x410], 0
lea ecx, [esp + 0x218]
call fcn.039ef660
mov dword [esp + 0x410], 0xffffffff
lea ecx, [esp + 0x360]
call fcn.039ef660
xor eax, eax
jmp 0x39d2e15
movzx ecx, word [edi + 0x80]
mov esi, dword [0x3a6056c]
add ecx, 3
lea ebp, [edi + 0x4c]
push ebp
and ecx, 0xfffffffc
push ecx
push eax
call esi
movzx edx, word [edi + 0x80]
mov eax, dword [ebp]
push 1
push edx
push eax
lea ecx, [esp + 0x36c]
call fcn.039ef740
movzx ecx, word [edi + 0x80]
mov edx, dword [ebp]
push 0x3a512e8
push ecx
push edx
call fcn.03a0373e
movzx eax, word [edi + 0x82]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add esp, 0xc
add eax, 3
lea ebp, [edi + 0x50]
push ebp
and eax, 0xfffffffc
push eax
push edx
call esi
movzx eax, word [edi + 0x82]
mov ecx, dword [ebp]
push 1
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.039ef740
movzx edx, word [edi + 0x86]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
add edx, 3
lea ebp, [edi + 0x58]
push ebp
and edx, 0xfffffffc
push edx
push ecx
call esi
movzx edx, word [edi + 0x86]
mov eax, dword [ebp]
push 1
push edx
push eax
lea ecx, [esp + 0xdc]
call fcn.039ef740
mov ecx, dword [edi + 0x60]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
add ecx, 3
lea ebp, [edi + 0x5c]
push ebp
and ecx, 0xfffffffc
push ecx
push eax
call esi
mov ecx, dword [edi + 0x60]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [ebp]
push eax
push ecx
call fcn.03a014a0
xor eax, eax
add esp, 0xc
cmp ebx, eax
je 0x39d2d40
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
lea ebp, [edi + 0x64]
push ebp
push 0x44
push eax
call esi
mov ecx, dword [ebp]
push 0x44
push 0
push ecx
call fcn.03a01b70
mov edx, dword [ebp]
mov dword [edx], 0x44
movzx ecx, word [ebx + 0x32]
sub ecx, dword [ebx + 0x10]
mov edx, dword [ebp]
lea eax, [ebx + 0x10]
push ecx
push eax
add edx, 0x10
push edx
call fcn.03a014a0
xor eax, eax
add esp, 0x18
cmp dword [ebx + 8], eax
je 0x39d2ccb
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
add eax, 3
lea ebp, [edi + 0x68]
push ebp
and eax, 0xfffffffc
push eax
push edx
call esi
mov eax, dword [edi + 0x6c]
mov ecx, dword [ebp]
push 1
push eax
push ecx
lea ecx, [esp + 0x224]
call fcn.039ef740
xor eax, eax
jmp 0x39d2cd1
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
cmp dword [ebx + 0xc], eax
je 0x39d2d07
mov edx, dword [edi + 0x74]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
add edx, 3
lea ebp, [edi + 0x70]
push ebp
and edx, 0xfffffffc
push edx
push ecx
call esi
mov edx, dword [edi + 0x74]
mov eax, dword [ebp]
push 1
push edx
push eax
lea ecx, [esp + 0x180]
call fcn.039ef740
xor eax, eax
jmp 0x39d2d0d
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
cmp dword [ebx + 4], eax
je 0x39d2d4f
mov ecx, dword [edi + 0x7c]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
add ecx, 3
lea ebx, [edi + 0x78]
push ebx
and ecx, 0xfffffffc
push ecx
push eax
call esi
mov ecx, dword [edi + 0x7c]
mov edx, dword [ebx]
push 1
push ecx
push edx
lea ecx, [esp + 0x2c8]
call fcn.039ef740
jmp 0x39d2d55
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x78], eax
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
mov ecx, 0x41
cmp cx, ax
ja 0x39d2d71
cmp ax, 0x5a
ja 0x39d2d71
add eax, 0xffffffbf
jmp 0x39d2d88
mov edx, 0x61
cmp dx, ax
ja 0x39d2d86
cmp ax, 0x7a
ja 0x39d2d86
add eax, 0xffffff9f
jmp 0x39d2d88
xor eax, eax
xor ecx, ecx
mov word [edi + 0x88], ax
mov word [edi + 0x8a], cx
mov byte [esp + 0x410], 4
lea ecx, [esp + 0xd0]
call fcn.039ef660
mov byte [esp + 0x410], 3
lea ecx, [esp + 0x2c]
call fcn.039ef660
mov byte [esp + 0x410], 2
lea ecx, [esp + 0x2bc]
call fcn.039ef660
mov byte [esp + 0x410], 1
lea ecx, [esp + 0x174]
call fcn.039ef660
mov byte [esp + 0x410], 0
lea ecx, [esp + 0x218]
call fcn.039ef660
mov dword [esp + 0x410], 0xffffffff
lea ecx, [esp + 0x360]
call fcn.039ef660
mov eax, 1
mov ecx, dword [esp + 0x408]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3f4]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x404
ret