Function at 0x1007e6d0
Capabilities:
Access peb ldr_data
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 0x101e47f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e8
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x1f4], esi
mov dword [ebp - 0x13c], 0
mov dword [ebp - 4], 0
lea eax, [ecx + 0x30]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], str.client_type
call fcn.10007d30
mov byte [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x13c], 1
call fcn.10080310
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1d4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007e7a0
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007e7a8
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.10004570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d4]
call fcn.10004570
mov edi, 1
mov dword [ebp - 0x13c], edi
and edi, 0xfffffffe
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov eax, dword [ebp - 0x174]
cmp dword [eax + 0x58], 0
je 0x1007e89d
mov dword [ebp - 4], 6
add eax, 0x48
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], str.client_ver
call fcn.10007d30
mov byte [ebp - 4], 6
lea eax, [ebp - 0x15c]
or edi, 2
lea ecx, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1d4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007e85c
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007e864
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1bc]
call fcn.10004570
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d4]
call fcn.10004570
and edi, 0xfffffffd
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0x10], 0
je 0x1007e951
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x158]
push edx
mov dword [ebp - 0x15c], str.special_ver
call fcn.10007d30
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x15c]
or edi, 4
lea ecx, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1d4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007e90a
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007e912
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1bc]
call fcn.10004570
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1d4]
call fcn.10004570
and edi, 0xfffffffb
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0x28], 0
je 0x1007ea02
mov dword [ebp - 4], 0x12
lea eax, [edx + 0x18]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], str.special_id
call fcn.10007d30
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x15c]
or edi, 8
lea ecx, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1d4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007e9bb
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007e9c3
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1bc]
call fcn.10004570
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1d4]
call fcn.10004570
and edi, 0xfffffff7
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0x40], 0
je 0x1007eab9
mov dword [ebp - 4], 0x18
mov ecx, str.os_ver
call fcn.10029990
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x158]
lea eax, [edx + 0x30]
push eax
call fcn.10007d30
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x15c]
or edi, 0x10
lea ecx, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x1d4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007ea72
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007ea7a
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x1bc]
call fcn.10004570
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1d4]
call fcn.10004570
and edi, 0xffffffef
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0x58], 0
je 0x1007eb6a
mov dword [ebp - 4], 0x1e
mov ecx, str.sp_ver
call fcn.10029990
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x158]
lea eax, [edx + 0x48]
push eax
call fcn.10007d30
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x15c]
or edi, 0x20
lea ecx, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x1d4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007eb29
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007eb31
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1bc]
call fcn.10004570
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1d4]
call fcn.10004570
and edi, 0xffffffdf
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
push 0x118
lea eax, [ebp - 0x134]
mov dword [ebp - 0x138], 0x11c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x138]
call fcn.100c5380
test al, al
je 0x1007f44f
mov eax, dword [ebp - 0x134]
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0x1f0]
push 0
push eax
call fcn.100c3ea0
or edi, 0x40
add esp, 8
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x25
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
movups xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1c0], str.os_major_version
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x1ac], xmm0
mov word [eax], cx
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x1c0]
or edi, 0x80
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007ec53
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007ec5b
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xffffff7f
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x1bc]
call fcn.10004570
and edi, 0xffffffbf
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10004570
mov eax, dword [ebp - 0x130]
mov dword [ebp - 4], 0x2b
lea ecx, [ebp - 0x1f0]
push 0
push eax
call fcn.100c3ea0
or edi, 0x100
add esp, 8
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x2c
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x15c], str.os_minor_version
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x148], xmm0
mov word [eax], cx
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x15c]
or edi, 0x200
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007ed68
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007ed70
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xfffffdff
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x158]
call fcn.10004570
and edi, 0xfffffeff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10004570
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 4], 0x32
lea ecx, [ebp - 0x1f0]
push 0
push eax
call fcn.100c3ea0
or edi, 0x400
add esp, 8
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x33
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
movups xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1c0], str.os_build_number
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x1ac], xmm0
mov word [eax], cx
mov byte [ebp - 4], 0x33
lea eax, [ebp - 0x1c0]
or edi, 0x800
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x35
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007ee80
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007ee88
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xfffff7ff
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x1bc]
call fcn.10004570
and edi, 0xfffffbff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10004570
mov eax, dword [ebp - 0x128]
mov dword [ebp - 4], 0x39
lea ecx, [ebp - 0x1f0]
push 0
push eax
call fcn.100c3ea0
or edi, 0x1000
add esp, 8
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x3a
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x15c], str.os_platform_id
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x148], xmm0
mov word [eax], cx
mov byte [ebp - 4], 0x3a
lea eax, [ebp - 0x15c]
or edi, 0x2000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x3c
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007ef98
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007efa0
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xffffdfff
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x158]
call fcn.10004570
and edi, 0xffffefff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10004570
movzx eax, word [ebp - 0x24]
mov dword [ebp - 4], 0x40
lea ecx, [ebp - 0x1f0]
push 0
push eax
call fcn.100c3ea0
or edi, 0x4000
add esp, 8
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x41
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
movups xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1c0], str.os_service_pack_major
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x1ac], xmm0
mov word [eax], cx
mov byte [ebp - 4], 0x41
lea eax, [ebp - 0x1c0]
or edi, 0x8000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x43
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f0ae
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f0b6
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xffff7fff
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x1bc]
call fcn.10004570
and edi, 0xffffbfff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10004570
movzx eax, word [ebp - 0x22]
mov dword [ebp - 4], 0x47
lea ecx, [ebp - 0x1f0]
push 0
push eax
call fcn.100c3ea0
or edi, 0x10000
add esp, 8
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x48
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x15c], str.os_service_pack_minor
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x148], xmm0
mov word [eax], cx
mov byte [ebp - 4], 0x48
lea eax, [ebp - 0x15c]
or edi, 0x20000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x4a
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f1c4
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f1cc
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xfffdffff
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x158]
call fcn.10004570
and edi, 0xfffeffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10004570
movzx eax, word [ebp - 0x20]
mov dword [ebp - 4], 0x4e
lea ecx, [ebp - 0x1f0]
push 0
push eax
call fcn.100c3ea0
or edi, 0x40000
add esp, 8
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x4f
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
movups xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1c0], str.os_suite_mask
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x1ac], xmm0
mov word [eax], cx
mov byte [ebp - 4], 0x4f
lea eax, [ebp - 0x1c0]
or edi, 0x80000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x51
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f2da
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f2e2
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xfff7ffff
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x1bc]
call fcn.10004570
and edi, 0xfffbffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10004570
movzx eax, byte [ebp - 0x1e]
mov dword [ebp - 4], 0x55
lea ecx, [ebp - 0x1f0]
push 0
push eax
call fcn.100c3ea0
or edi, 0x100000
add esp, 8
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x56
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x15c], str.os_product_type
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x148], xmm0
mov word [eax], cx
mov byte [ebp - 4], 0x56
lea eax, [ebp - 0x15c]
or edi, 0x200000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x58
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f3f0
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f3f8
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xffdfffff
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x55
lea ecx, [ebp - 0x158]
call fcn.10004570
and edi, 0xffefffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0x70], 0
je 0x1007f512
mov dword [ebp - 4], 0x5c
mov ecx, str.os_bits
call fcn.10029990
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x158]
lea eax, [edx + 0x60]
push eax
call fcn.10007d30
mov byte [ebp - 4], 0x5c
lea eax, [ebp - 0x15c]
or edi, 0x400000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x5e
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f4c8
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f4d0
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x5f
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xffbfffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0x88], 0
je 0x1007f5cc
mov dword [ebp - 4], 0x62
lea eax, [edx + 0x78]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], str.local_acp
call fcn.10007d30
mov byte [ebp - 4], 0x62
lea eax, [ebp - 0x15c]
or edi, 0x800000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x64
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f582
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f58a
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x62
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xff7fffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0xa0], 0
je 0x1007f689
mov dword [ebp - 4], 0x68
lea eax, [edx + 0x90]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], str.install_days
call fcn.10007d30
mov byte [ebp - 4], 0x68
lea eax, [ebp - 0x15c]
or edi, 0x1000000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x6a
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f63f
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f647
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x6b
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xfeffffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0xb8], 0
je 0x1007f746
mov dword [ebp - 4], 0x6e
lea eax, [edx + 0xa8]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], str.mem_size
call fcn.10007d30
mov byte [ebp - 4], 0x6e
lea eax, [ebp - 0x15c]
or edi, 0x2000000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x70
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f6fc
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f704
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x71
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x6e
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xfdffffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0xd0], 0
je 0x1007f803
mov dword [ebp - 4], 0x74
lea eax, [edx + 0xc0]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], 0x1020efa4
call fcn.10007d30
mov byte [ebp - 4], 0x74
lea eax, [ebp - 0x15c]
or edi, 0x4000000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x76
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f7b9
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f7c1
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x77
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x74
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xfbffffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0xe8], 0
je 0x1007f8c0
mov dword [ebp - 4], 0x7a
mov ecx, 0x1020efb0
call fcn.10029990
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x158]
lea eax, [edx + 0xd8]
push eax
call fcn.10007d30
mov byte [ebp - 4], 0x7a
lea eax, [ebp - 0x15c]
or edi, 0x8000000
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x13c], edi
call fcn.10080310
mov byte [ebp - 4], 0x7c
lea eax, [ebp - 0x1a4]
mov edx, dword [esi + 4]
push eax
cmp dword [esi + 8], edx
je 0x1007f87c
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f884
push edx
mov ecx, esi
call fcn.10063ea0
mov byte [ebp - 4], 0x7d
lea ecx, [ebp - 0x18c]
call fcn.10004570
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0x1a4]
call fcn.10004570
and edi, 0xf7ffffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004570
mov eax, dword [ebp - 0x1d8]
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1007f9d0
xor eax, eax
mov dword [ebp - 0x174], eax
nop dword [eax]
nop dword [eax + eax]
add esi, eax
mov dword [ebp - 4], 0x80
lea ecx, [ebp - 0x170]
push esi
call fcn.10007d30
mov byte [ebp - 4], 0x81
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x158]
call fcn.10007d30
mov byte [ebp - 4], 0x80
or edi, 0x10000000
mov esi, dword [ebp - 0x1f4]
lea eax, [ebp - 0x170]
mov dword [ebp - 0x13c], edi
push eax
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x1007f95b
call fcn.10059630
add esp, 4
add dword [esi + 4], 0x30
jmp 0x1007f963
push edx
mov ecx, esi
call fcn.10063ea0
and edi, 0xefffffff
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], 0x83
lea ecx, [ebp - 0x158]
call fcn.10004570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10004570
mov eax, dword [ebp - 0x1d8]
inc dword [ebp - 0x140]
add dword [ebp - 0x174], 0x30
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x174]
jb 0x1007f900
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.101d284b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10