Function at 0x10040880
Capabilities:
Access peb ldr_data
Get geographical location
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10220024
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.1001f090
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
push 3
push 0x1027032c
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.1000aef0
push 0x64
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.101d28f0
add esp, 0xc
call fcn.10022d10
xor ecx, ecx
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], cx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], cx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], cx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], cx
mov dword [ebp - 0xc0], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 5
movlpd qword [ebp - 0x1c], xmm0
push 0x40
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
call fcn.101cff73
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xc0]
call fcn.1010aeb0
cmp dword [ebx + 0x34], 8
lea eax, [ebx + 0x20]
push dword [ebx + 0x30]
cmovae eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x138]
push eax
call fcn.10010360
cmp dword [ebx + 0x4c], 8
lea eax, [ebx + 0x38]
push dword [ebx + 0x48]
cmovae eax, dword [ebx + 0x38]
lea ecx, [ebp - 0x108]
push eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
call fcn.10043100
mov esi, eax
lea eax, [ebp - 0xd8]
cmp eax, esi
je 0x10040a45
mov ecx, eax
call fcn.1000ae90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xc8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x1e0]
call fcn.1000ae90
call fcn.10022d10
add eax, 0x464
lea ecx, [ebp - 0xf0]
cmp ecx, eax
je 0x10040a7d
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10040a6e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.10010360
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
push 0x40
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.101cff73
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
call fcn.10022d10
mov eax, dword [0x102f2f48]
test eax, eax
jne 0x10040af9
push 0x1ec
call fcn.101cff73
mov esi, eax
add esp, 4
mov dword [ebp - 0x1e8], esi
push 0x1ec
push 0
push esi
mov byte [ebp - 4], 8
call fcn.101d28f0
add esp, 0xc
mov ecx, esi
call fcn.100c3a70
mov byte [ebp - 4], 7
mov dword [0x102f2f48], eax
cmp byte [eax + 0x1cd], 0
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
jne 0x10040bb2
push 0xc
push str.HeadlessMode
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x24]
call fcn.1000fbe0
push 4
push 0x10265080
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 7
call fcn.1000ae90
push 0x11
push str.event.subcategory
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 8
push str.Headless
jmp 0x10040bd8
push 0x11
push str.event.subcategory
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 0xa
push str.CCD_Update
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 7
call fcn.1000ae90
push 0xe
push str.event.workflow
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 9
push str.Bootstrap
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
call fcn.1000ae90
xor esi, esi
mov dword [ebp - 0x3c], 0
mov edi, 7
mov dword [ebp - 0x2c], esi
xor eax, eax
mov dword [ebp - 0x28], edi
mov word [ebp - 0x3c], ax
push 0x1025b044
lea ecx, [ebx + 8]
mov byte [ebp - 4], 0xd
call fcn.1000afa0
test al, al
jne 0x10040d2f
mov edx, dword [ebx + 0x18]
cmp edx, 2
jbe 0x10040d2f
cmp dword [ebx + 0x1c], 8
lea ecx, [ebx + 8]
cmovae ecx, dword [ebx + 8]
setae byte [ebp - 0x1e1]
cmp word [ecx], 0x7b
jne 0x10040d2f
mov dword [ebp - 0x1e0], esi
lea ecx, [edx - 2]
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x1cc], esi
cmp edx, 1
jb 0x1004160b
lea eax, [edx - 1]
cmp eax, ecx
cmovb ecx, eax
cmp byte [ebp - 0x1e1], 0
lea eax, [ebx + 8]
cmovne eax, dword [ebx + 8]
push ecx
add eax, 2
lea ecx, [ebp - 0x1e0]
push eax
call fcn.1000aef0
lea ecx, [ebp - 0x3c]
call fcn.1000ae90
movups xmm0, xmmword [ebp - 0x1e0]
xor eax, eax
lea ecx, [ebp - 0x1e0]
mov word [ebp - 0x1e0], ax
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ebp - 0x1d0]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x1cc], edi
call fcn.1000ae90
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
push 0x12
push str.event.context_guid
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
lea ecx, [ebp - 0x3c]
cmp eax, ecx
je 0x10040d89
cmp edi, 8
push esi
cmovae ecx, dword [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xf
push str.ccd.countryCode
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
mov byte [ebp - 4], 0xf
call fcn.10022d10
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx]
mov ecx, esi
call dword [0x1024852c]
mov ecx, edi
call esi
lea ecx, [ebp - 0x1c]
lea esi, [eax + 0x104]
lea eax, [ebp - 0x1e0]
push eax
call fcn.1000fbe0
cmp eax, esi
je 0x10040e11
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10040e06
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xa
push str.content.id
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 4
push str.KCCC
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xc
push str.content.name
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 0x14
push 0x1027042c
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0x12
push str.consumer.client_id
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 4
push str.KCCC
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xd
push str.consumer.name
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 0x14
push 0x1027042c
mov ecx, eax
call fcn.10010360
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e0]
call fcn.1000ae90
push 0xf
push str.ccd.lbs_version
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
lea ecx, [ebx + 0x38]
cmp eax, ecx
je 0x10040ffd
cmp dword [ebx + 0x4c], 8
push dword [ebx + 0x48]
cmovae ecx, dword [ebx + 0x38]
push ecx
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xa
push str.event.type
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 4
push str.Init
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xd
push str.event.subtype
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 5
push str.start
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xe
push str.source.version
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x17
call fcn.10022d10
lea ecx, [ebp - 0x1c]
lea esi, [eax + 0x464]
lea eax, [ebp - 0x1e0]
push eax
call fcn.1000fbe0
cmp eax, esi
je 0x10041133
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10041128
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0x13
push str.ccd.current_version
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x18
call fcn.10043100
mov esi, eax
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
mov edi, eax
cmp edi, esi
je 0x100411c6
mov ecx, edi
call fcn.1000ae90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x204]
call fcn.1000ae90
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
call fcn.10022d10
push 0xb
push str.event.value
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov esi, dword [eax]
call fcn.1000aef0
mov edx, esi
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x204]
call fcn.10145120
mov esi, eax
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
mov edi, eax
cmp edi, esi
je 0x10041270
mov ecx, edi
call fcn.1000ae90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x204]
call fcn.1000ae90
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push str.Auto_Update
lea ecx, [ebx + 0x20]
call fcn.1000afa0
mov dword [ebp - 0x1e0], 0
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
push 0xb
push str.env.fw.name
test al, al
je 0x100412e7
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 0xb
push str.auto_update
jmp 0x10041306
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
push 0xb
push str.user_update
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0x10
push str.consumer.version
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x1e
call fcn.10022d10
lea ecx, [ebp - 0x1c]
lea esi, [eax + 0x464]
lea eax, [ebp - 0x1e0]
push eax
call fcn.1000fbe0
cmp eax, esi
je 0x10041383
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10041378
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xf
push str.content.version
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x1f
call fcn.10022d10
lea ecx, [ebp - 0x1c]
lea esi, [eax + 0x464]
lea eax, [ebp - 0x1e0]
push eax
call fcn.1000fbe0
cmp eax, esi
je 0x100413f9
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x100413ee
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xc
push str.env.com.name
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000fbe0
lea ecx, [ebp - 0x54]
cmp eax, ecx
je 0x10041465
cmp dword [ebp - 0x40], 8
push dword [ebp - 0x44]
cmovae ecx, dword [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0
push 0x1025b044
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.1010ab50
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xd
call fcn.1000ae90
push 0xd
push str.NULL_SUB_CODE
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call fcn.1000aef0
sub esp, 0x18
mov byte [ebp - 4], 0x22
mov ecx, esp
push 0
push 0x1025b044
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000aef0
push 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c8]
push eax
push 0x102f2988
lea ecx, [ebp - 0xc0]
call fcn.10109750
lea ecx, [ebp - 0x1e0]
call fcn.1000ae90
lea ecx, [ebp - 0x3c]
call fcn.1000ae90
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.10010e30
push 0x40
push dword [ebp - 0x24]
call fcn.101d02bd
mov eax, dword [ebp - 0x1c]
add esp, 8
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.10010e30
push 0x40
push dword [ebp - 0x1c]
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.1000ae90
lea ecx, [ebp - 0x8c]
call fcn.1000ae90
lea ecx, [ebp - 0xa4]
call fcn.1000ae90
lea ecx, [ebp - 0xbc]
call fcn.1000ae90
lea ecx, [ebp - 0x54]
call fcn.1000ae90
lea ecx, [ebp - 0x1c8]
call fcn.1001f1b0
lea ecx, [ebx + 8]
call fcn.1000ae90
lea ecx, [ebx + 0x20]
call fcn.1000ae90
lea ecx, [ebx + 0x38]
call fcn.1000ae90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100289a0
int3