Function at 0x4012bc
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
jmp 0x408070
push 0xffffffffffffffff
push 0x554745
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4cc
push ebx
push ebp
lea eax, [esp + 0x68]
mov ebp, ecx
xor ebx, ebx
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.004089a0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x4e0], ebx
call fcn.0043a5d0
lea ecx, [esp + 0x68]
mov byte [esp + 0x4dc], 2
call fcn.0052a9e2
push 0x58c8f8
lea ecx, [esp + 0x10]
call fcn.0043bb90
push str.OAgent.ini
lea ecx, [esp + 0xc]
call fcn.0043a5d0
lea ecx, [esp + 8]
mov byte [esp + 0x4dc], 3
push ecx
lea ecx, [esp + 0x10]
call fcn.0043bbf0
lea ecx, [esp + 8]
mov byte [esp + 0x4dc], 2
call fcn.0043af50
mov eax, dword [0x568e0c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 8
call fcn.005251ac
mov edx, dword [esp + 0xc]
push ebx
lea eax, [esp + 0x34]
push edx
push eax
push 0x58c8dc
push str.AgentConfig
mov byte [esp + 0x4f0], 9
call fcn.0046a200
mov ecx, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x54]
push ecx
push edx
push 0x58c8b4
push str.AgentConfig
call fcn.0046a200
mov eax, dword [esp + 0x34]
push ebx
lea ecx, [esp + 0x60]
push eax
push ecx
push 0x58c8a8
push str.AgentConfig
call fcn.0046a200
mov edx, dword [esp + 0x48]
push ebx
lea eax, [esp + 0x78]
push edx
push eax
push str.InstallTime
push str.AgentConfig
call fcn.0046a200
mov ecx, dword [esp + 0x5c]
add esp, 0x50
lea edx, [esp + 0x1c]
push ebx
push ecx
push edx
push 0x58c880
push str.AgentConfig
call fcn.0046a200
mov eax, dword [esp + 0x44]
add esp, 0x14
cmp dword [eax - 8], ebx
je 0x4081f4
lea ecx, [esp + 0x18]
push 4
push ecx
push eax
call fcn.0046f2c0
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp dword [eax - 8], ebx
je 0x40820d
lea edx, [esp + 0x14]
push 4
push edx
push eax
call fcn.0046f2c0
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp dword [eax - 8], ebx
je 0x408226
lea ecx, [esp + 0x10]
push 4
push ecx
push eax
call fcn.0046f2c0
add esp, 0xc
mov eax, dword [esp + 0x38]
cmp dword [eax - 8], ebx
je 0x40823f
lea edx, [esp + 0x48]
push 8
push edx
push eax
call fcn.0046f2c0
add esp, 0xc
mov eax, dword [esp + 0x1c]
push esi
push edi
cmp dword [eax - 8], ebx
je 0x4082c9
push eax
push str.CAgent::LoadCfg_1___s_
push str.CheckAsn
push 0xffffffffffffffff
push 0x5b200c
call fcn.00452100
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x70]
push ebx
push eax
push ecx
call fcn.0046f440
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push ecx
lea edx, [esp + 0x34]
push eax
push edx
mov esi, eax
mov edi, ecx
call fcn.0046f120
add esp, 0x2c
mov eax, dword [eax]
push edi
push esi
push eax
push str.CAgent::LoadCfg_2___s__0x_lx___lu_
push str.CheckAsn
push 0xffffffffffffffff
push 0x5b200c
mov byte [esp + 0x500], 0xa
call fcn.00452100
add esp, 0x1c
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e4], 9
call fcn.0043af50
lea ecx, [esp + 0x28]
call fcn.00449ac0
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
mov byte [esp + 0x4f0], 0xb
call fcn.00449be0
test eax, eax
je 0x40843c
cmp dword [esp + 0x20], ebx
jne 0x408313
push ebx
push 0x58c784
lea ecx, [esp + 0x30]
call fcn.00449d80
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], ebx
jne 0x40832c
push ebx
push 0x58c780
lea ecx, [esp + 0x30]
call fcn.00449d80
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], ebx
jne 0x408345
push ebx
push 0x58c77c
lea ecx, [esp + 0x30]
call fcn.00449d80
mov dword [esp + 0x18], eax
fld qword [esp + 0x50]
fcomp qword [0x561430]
fnstsw ax
test ah, 0x40
je 0x40836b
lea ecx, [esp + 0x50]
push 8
push ecx
push 0x58c76c
lea ecx, [esp + 0x34]
call fcn.00449ec0
cmp dword [esp + 0x64], ebx
jne 0x408433
lea edx, [esp + 0x10]
lea ecx, [esp + 0x28]
push edx
push 0x58c768
mov dword [esp + 0x18], ebx
call fcn.0044a000
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x48], esi
je 0x408433
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x64]
call fcn.0052520c
mov edi, dword [esp + 0x60]
cmp edi, ebx
mov ebp, edi
je 0x40841a
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push eax
push ebp
push ecx
call fcn.0046f120
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push ebp
push eax
push str.CAgent::LoadCfg_3___s__0x_lx___lu_
push str.CheckAsn
push 0xffffffffffffffff
push 0x5b200c
mov byte [esp + 0x500], 0xc
call fcn.00452100
add esp, 0x1c
lea ecx, [esp + 0x74]
mov byte [esp + 0x4e4], 0xb
call fcn.0043af50
mov esi, dword [esp + 0x48]
jmp 0x408426
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
call fcn.0052520c
push esi
call fcn.00529d00
mov ebp, dword [esp + 0x34]
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00449c30
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetProfileIntA]
cmp eax, ebx
jne 0x40845b
push ebx
push 0x58c784
push str.ED30_8AC4_11D5_8930_A730
call esi
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], ebx
jne 0x408472
push ebx
push 0x58c780
push str.ED30_8AC4_11D5_8930_A730
call esi
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], ebx
jne 0x408489
push ebx
push 0x58c77c
push str.ED30_8AC4_11D5_8930_A730
call esi
mov dword [esp + 0x18], eax
fld qword [esp + 0x50]
fcomp qword [0x561430]
mov esi, dword [sym.imp.KERNEL32.dll_GetProfileStringA]
fnstsw ax
test ah, 0x40
je 0x4084e9
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
push 0x64
stosw word es:[edi], ax
push ecx
push ebx
push 0x58c76c
push str.ED30_8AC4_11D5_8930_A730
stosb byte es:[edi], al
call esi
cmp eax, ebx
jbe 0x4084e9
cmp byte [esp + 0xdb], bl
jne 0x4084e9
lea edx, [esp + 0x50]
push 8
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.0046f210
add esp, 0xc
cmp dword [esp + 0x64], ebx
jne 0x4085c5
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xdd]
mov byte [esp + 0xdc], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xdc]
push 0x400
stosw word es:[edi], ax
push ecx
push ebx
push 0x58c768
push str.ED30_8AC4_11D5_8930_A730
stosb byte es:[edi], al
call esi
cmp eax, ebx
jbe 0x4085c5
cmp byte [esp + 0x4db], bl
jne 0x4085c5
lea edx, [esp + 0xdc]
push edx
push str.CAgent::LoadCfg_4___S_
push str.CheckAsn
push 0xffffffffffffffff
push 0x5b200c
call fcn.00452100
lea eax, [esp + 0x70]
push ebx
lea ecx, [esp + 0xf4]
push eax
push ecx
call fcn.0046f390
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push ecx
lea edx, [esp + 0x54]
push eax
push edx
mov esi, eax
mov edi, ecx
call fcn.0046f120
add esp, 0x2c
mov eax, dword [eax]
push edi
push esi
push eax
push str.CAgent::LoadCfg_5___s__0x_lx___lu_
push str.CheckAsn
push 0xffffffffffffffff
push 0x5b200c
mov byte [esp + 0x500], 0xd
call fcn.00452100
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x4e4], 0xb
call fcn.0043af50
lea ecx, [esp + 0x5c]
push ecx
call fcn.00408950
add esp, 4
cmp eax, ebx
je 0x4085dd
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x30]
call fcn.00449ac0
push 0x20019
push str.softwareTECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4f0], 0xe
call fcn.00449be0
test eax, eax
je 0x40862c
push ebx
push str.FakeSIP
lea ecx, [esp + 0x38]
call fcn.00449d80
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00449c30
cmp esi, ebx
je 0x40862c
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x4e4], 0xb
call fcn.00449b60
lea ecx, [esp + 0x48]
mov dword [ebp + 0x14], ebx
call fcn.00449ac0
push 0x20019
push str.softwareTECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x54]
mov byte [esp + 0x4f0], 0xf
call fcn.00449be0
pop edi
pop esi
test eax, eax
je 0x40869c
push ebx
push str.DisableUpdate
lea ecx, [esp + 0x48]
call fcn.00449d80
push ebx
push str.expire1
lea ecx, [esp + 0x48]
mov dword [ebp + 0x14], eax
call fcn.00449d80
lea ecx, [esp + 0x40]
mov dword [ebp + 0x18], eax
call fcn.00449c30
lea ecx, [esp + 0x40]
mov byte [esp + 0x4dc], 0xb
call fcn.00449b60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov dword [ebp], eax
mov eax, dword [esp + 0x10]
mov dword [ebp + 4], ecx
lea ecx, [esp + 0x20]
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], 1
mov byte [esp + 0x4dc], 9
call fcn.00449b60
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 8
call fcn.005251df
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4dc], 7
call fcn.0043af50
lea ecx, [esp + 0x38]
mov byte [esp + 0x4dc], 6
call fcn.0043af50
lea ecx, [esp + 0x34]
mov byte [esp + 0x4dc], 5
call fcn.0043af50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4dc], 4
call fcn.0043af50
lea ecx, [esp + 0x30]
mov byte [esp + 0x4dc], 2
call fcn.0043af50
lea ecx, [esp + 0xc]
mov dword [esp + 0x4dc], 0xffffffff
call fcn.0043af50
mov ecx, dword [esp + 0x4d4]
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x4d8
ret