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

Disassembly:
jmp 0x40a500
push 0xffffffffffffffff
push 0x61ba75
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.0040ae30
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x4e0], ebx
call fcn.0044e470
lea ecx, [esp + 0x68]
mov byte [esp + 0x4dc], 2
call fcn.005f0020
push 0x681ba4
lea ecx, [esp + 0x10]
call fcn.0044fa30
push str.OAgent.ini
lea ecx, [esp + 0xc]
call fcn.0044e470
lea ecx, [esp + 8]
mov byte [esp + 0x4dc], 3
push ecx
lea ecx, [esp + 0x10]
call fcn.0044fa90
lea ecx, [esp + 8]
mov byte [esp + 0x4dc], 2
call fcn.0044edf0
mov eax, dword [0x63f2ec]
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.005ec36e
mov edx, dword [esp + 0xc]
push ebx
lea eax, [esp + 0x34]
push edx
push eax
push 0x681b98
push str.AgentConfig
mov byte [esp + 0x4f0], 9
call fcn.00481240
mov ecx, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x54]
push ecx
push edx
push 0x681b70
push str.AgentConfig
call fcn.00481240
mov eax, dword [esp + 0x34]
push ebx
lea ecx, [esp + 0x60]
push eax
push ecx
push 0x681b64
push str.AgentConfig
call fcn.00481240
mov edx, dword [esp + 0x48]
push ebx
lea eax, [esp + 0x78]
push edx
push eax
push str.InstallTime
push str.AgentConfig
call fcn.00481240
mov ecx, dword [esp + 0x5c]
add esp, 0x50
lea edx, [esp + 0x1c]
push ebx
push ecx
push edx
push 0x681b3c
push str.AgentConfig
call fcn.00481240
mov eax, dword [esp + 0x44]
add esp, 0x14
cmp dword [eax - 8], ebx
je 0x40a684
lea ecx, [esp + 0x18]
push 4
push ecx
push eax
call fcn.00486390
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp dword [eax - 8], ebx
je 0x40a69d
lea edx, [esp + 0x14]
push 4
push edx
push eax
call fcn.00486390
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp dword [eax - 8], ebx
je 0x40a6b6
lea ecx, [esp + 0x10]
push 4
push ecx
push eax
call fcn.00486390
add esp, 0xc
mov eax, dword [esp + 0x38]
cmp dword [eax - 8], ebx
je 0x40a6cf
lea edx, [esp + 0x48]
push 8
push edx
push eax
call fcn.00486390
add esp, 0xc
mov eax, dword [esp + 0x1c]
push esi
push edi
cmp dword [eax - 8], ebx
je 0x40a759
push eax
push str.CAgent::LoadCfg_1___s_
push str.CheckAsn
push 0xffffffffffffffff
push 0x6b240c
call fcn.00465fa0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x70]
push ebx
push eax
push ecx
call fcn.00486510
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.004861f0
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 0x6b240c
mov byte [esp + 0x500], 0xa
call fcn.00465fa0
add esp, 0x1c
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e4], 9
call fcn.0044edf0
lea ecx, [esp + 0x28]
call fcn.0045d960
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.0045da80
test eax, eax
je 0x40a8cc
cmp dword [esp + 0x20], ebx
jne 0x40a7a3
push ebx
push 0x681a40
lea ecx, [esp + 0x30]
call fcn.0045dc20
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], ebx
jne 0x40a7bc
push ebx
push 0x681a3c
lea ecx, [esp + 0x30]
call fcn.0045dc20
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], ebx
jne 0x40a7d5
push ebx
push 0x681a38
lea ecx, [esp + 0x30]
call fcn.0045dc20
mov dword [esp + 0x18], eax
fld qword [esp + 0x50]
fcomp qword [0x637430]
fnstsw ax
test ah, 0x40
je 0x40a7fb
lea ecx, [esp + 0x50]
push 8
push ecx
push 0x681a28
lea ecx, [esp + 0x34]
call fcn.0045dd60
cmp dword [esp + 0x64], ebx
jne 0x40a8c3
lea edx, [esp + 0x10]
lea ecx, [esp + 0x28]
push edx
push 0x681a24
mov dword [esp + 0x18], ebx
call fcn.0045dea0
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x48], esi
je 0x40a8c3
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x64]
call fcn.005ec3ce
mov edi, dword [esp + 0x60]
cmp edi, ebx
mov ebp, edi
je 0x40a8aa
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.004861f0
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 0x6b240c
mov byte [esp + 0x500], 0xc
call fcn.00465fa0
add esp, 0x1c
lea ecx, [esp + 0x74]
mov byte [esp + 0x4e4], 0xb
call fcn.0044edf0
mov esi, dword [esp + 0x48]
jmp 0x40a8b6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
call fcn.005ec3ce
push esi
call fcn.005f1804
mov ebp, dword [esp + 0x34]
add esp, 4
lea ecx, [esp + 0x28]
call fcn.0045dad0
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetProfileIntA]
cmp eax, ebx
jne 0x40a8eb
push ebx
push 0x681a40
push str.ED30_8AC4_11D5_8930_A730
call esi
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], ebx
jne 0x40a902
push ebx
push 0x681a3c
push str.ED30_8AC4_11D5_8930_A730
call esi
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], ebx
jne 0x40a919
push ebx
push 0x681a38
push str.ED30_8AC4_11D5_8930_A730
call esi
mov dword [esp + 0x18], eax
fld qword [esp + 0x50]
fcomp qword [0x637430]
mov esi, dword [sym.imp.KERNEL32.dll_GetProfileStringA]
fnstsw ax
test ah, 0x40
je 0x40a979
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 0x681a28
push str.ED30_8AC4_11D5_8930_A730
stosb byte es:[edi], al
call esi
cmp eax, ebx
jbe 0x40a979
cmp byte [esp + 0xdb], bl
jne 0x40a979
lea edx, [esp + 0x50]
push 8
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.004862e0
add esp, 0xc
cmp dword [esp + 0x64], ebx
jne 0x40aa55
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 0x681a24
push str.ED30_8AC4_11D5_8930_A730
stosb byte es:[edi], al
call esi
cmp eax, ebx
jbe 0x40aa55
cmp byte [esp + 0x4db], bl
jne 0x40aa55
lea edx, [esp + 0xdc]
push edx
push str.CAgent::LoadCfg_4___S_
push str.CheckAsn
push 0xffffffffffffffff
push 0x6b240c
call fcn.00465fa0
lea eax, [esp + 0x70]
push ebx
lea ecx, [esp + 0xf4]
push eax
push ecx
call fcn.00486460
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.004861f0
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 0x6b240c
mov byte [esp + 0x500], 0xd
call fcn.00465fa0
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x4e4], 0xb
call fcn.0044edf0
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040ade0
add esp, 4
cmp eax, ebx
je 0x40aa6d
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x30]
call fcn.0045d960
push 0x20019
push str.softwareTECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4f0], 0xe
call fcn.0045da80
test eax, eax
je 0x40aabc
push ebx
push str.FakeSIP
lea ecx, [esp + 0x38]
call fcn.0045dc20
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0045dad0
cmp esi, ebx
je 0x40aabc
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x4e4], 0xb
call fcn.0045da00
lea ecx, [esp + 0x48]
mov dword [ebp + 0x14], ebx
call fcn.0045d960
push 0x20019
push str.softwareTECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x54]
mov byte [esp + 0x4f0], 0xf
call fcn.0045da80
pop edi
pop esi
test eax, eax
je 0x40ab2c
push ebx
push str.DisableUpdate
lea ecx, [esp + 0x48]
call fcn.0045dc20
push ebx
push str.expire1
lea ecx, [esp + 0x48]
mov dword [ebp + 0x14], eax
call fcn.0045dc20
lea ecx, [esp + 0x40]
mov dword [ebp + 0x18], eax
call fcn.0045dad0
lea ecx, [esp + 0x40]
mov byte [esp + 0x4dc], 0xb
call fcn.0045da00
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.0045da00
lea ecx, [esp + 0x54]
mov byte [esp + 0x4dc], 8
call fcn.005ec3a1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4dc], 7
call fcn.0044edf0
lea ecx, [esp + 0x38]
mov byte [esp + 0x4dc], 6
call fcn.0044edf0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4dc], 5
call fcn.0044edf0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4dc], 4
call fcn.0044edf0
lea ecx, [esp + 0x30]
mov byte [esp + 0x4dc], 2
call fcn.0044edf0
lea ecx, [esp + 0xc]
mov dword [esp + 0x4dc], 0xffffffff
call fcn.0044edf0
mov ecx, dword [esp + 0x4d4]
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x4d8
ret