Function at 0x5c512c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b440a
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x11c0
call fcn.0064d770
mov eax, dword [0x816078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x11ac], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x11c4], eax
mov dword [ebp - 0x1184], ebx
mov eax, dword [ecx]
mov dword [ebp - 0x1180], ecx
mov dword [ebp - 0x11a4], esi
call dword [eax + 0xc]
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x11a8], ebx
cmp dword [esi + 0x2a8], ebx
je 0x5c5eab
cmp dword [esi + 0x2a4], ebx
je 0x5c5eab
mov ecx, dword [esi + 0x2a0]
cmp byte [ecx + 0x128], bl
je 0x5c51d8
cmp dword [ecx + 0x48], 3
jne 0x5c51d8
xor edx, edx
inc edx
jmp 0x5c51da
mov edx, ebx
lea ecx, [ebp - 0xe4]
call fcn.005ffb06
push 8
pop edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0xe4]
cmp dword [ebp - 0xd0], edi
mov ecx, 0x3878cd
cmovae eax, dword [ebp - 0xe4]
mov dword [ebp - 0x118c], eax
lea eax, [ebp - 0x118c]
push eax
push str.TryGetClient::HandleStateAction:_Installation_path_is:__s
push 0x32
push 0xe
pop edx
call fcn.00437655
push 0x819dd8
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.0040d595
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0xe4]
lea ecx, [ebp - 0x198]
call fcn.004270bb
push str.TryGetClient::HandleStateAction:_Downloading_a_new_client.
push 0x32
push 0xe
pop edx
mov ecx, 0x749299
call fcn.004f4c26
mov eax, dword [esi + 0x2a4]
pop ecx
pop ecx
add eax, 0x268
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.0040d595
cmp dword [ebp - 0x34], 0
je 0x5c52ac
mov eax, dword [esi + 0x2a4]
add eax, 0x268
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0040d595
xor eax, eax
lea ecx, [ebp - 0x2c]
inc eax
jmp 0x5c52df
mov eax, dword [esi + 0x2a8]
lea ecx, [ebp - 0x90]
add eax, 0x18
push eax
call fcn.004ffe6b
lea eax, [ebp - 0x120]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x1184], 2
call fcn.004ffecd
push 6
mov ecx, eax
pop eax
push ecx
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x117c], eax
call fcn.0040d3df
push 9
pop esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x117c]
test al, 4
je 0x5c531b
and eax, 0xfffffffb
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x117c], eax
call fcn.0040d475
mov eax, dword [ebp - 0x117c]
test al, 2
je 0x5c5328
and eax, 0xfffffffd
mov dword [ebp - 0x117c], eax
test al, 1
je 0x5c533d
and eax, 0xfffffffe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x117c], eax
call fcn.0040d475
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.0040d475
xor eax, eax
lea edi, [ebp - 0x108]
mov ecx, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x108], 0
mov ecx, 0x819ee0
mov eax, 0x8199e8
mov dword [ebp - 0xa4], ebx
cmove eax, ecx
mov dword [ebp - 0xa0], ebx
push eax
lea ecx, [ebp - 0xb4]
call fcn.0040d595
mov esi, dword [ebp - 0x117c]
or esi, 0xc0
mov dword [ebp - 0x117c], esi
mov dword [ebp - 0x1184], esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x119c]
mov dword [ebp - 0x119c], str.DeprecateCultureClientCabDownload
mov word [ebp - 0x1198], 0x100
call fcn.00481ddd
test al, al
je 0x5c5400
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x90]
call fcn.00438c2d
or esi, 8
mov ecx, eax
push 0x81d6b0
mov dword [ebp - 0x117c], esi
mov dword [ebp - 0x1184], esi
call fcn.005da0c9
mov cl, 1
test al, al
jne 0x5c5402
mov cl, bl
mov eax, dword [ebp - 0x117c]
test al, 8
je 0x5c541b
and eax, 0xfffffff7
mov dword [ebp - 0x117c], eax
mov dword [ebp - 0x1184], eax
test cl, cl
jne 0x5c544d
mov edi, dword [ebp - 0x11a4]
push ecx
lea ecx, [ebp - 0x1190]
lea eax, [edi + 0x268]
push eax
call fcn.005d2f7d
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1190]
mov eax, dword [ebp - 0x117c]
or eax, 0x10
jmp 0x5c5480
mov dword [ebp - 0x119c], ebx
mov dword [ebp - 0x1198], ebx
call fcn.004bdbba
mov dword [ebp - 0x119c], eax
mov edi, dword [ebp - 0x11a4]
lea ecx, [ebp - 0x119c]
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x117c]
or eax, 0x20
push ecx
lea ecx, [ebp - 0x11bc]
mov dword [ebp - 0x1184], eax
mov dword [ebp - 0x117c], eax
call fcn.005ae08e
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x117c]
test al, 0x20
je 0x5c54d5
and eax, 0xffffffdf
lea ecx, [ebp - 0x119c]
mov dword [ebp - 0x117c], eax
mov dword [ebp - 0x1184], eax
call fcn.004bdb69
push dword [ebp - 0x119c]
call fcn.0064e37d
mov eax, dword [ebp - 0x117c]
pop ecx
mov byte [ebp - 4], 0x12
test al, 0x10
je 0x5c5503
and eax, 0xffffffef
lea ecx, [ebp - 0x1190]
mov dword [ebp - 0x117c], eax
mov dword [ebp - 0x1184], eax
call fcn.004bdb69
push dword [ebp - 0x1190]
call fcn.0064e37d
pop ecx
push dword [ebp - 0x1180]
lea eax, [ebp - 0x11b4]
push 0x819c88
push ecx
push eax
lea ecx, [ebp - 0x11bc]
call fcn.004bdeae
xorps xmm0, xmm0
mov dword [ebp - 0x140], ebx
xor eax, eax
movlpd qword [ebp - 0x11a0], xmm0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
mov byte [ebp - 4], 0x13
mov ecx, dword [edi + 0x2a4]
cmp byte [ecx + 0x21b], al
je 0x5c558f
lea eax, [ecx + 0x250]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0040d595
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x150]
call fcn.0040d37a
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.0040d475
mov eax, dword [ebp - 0x11bc]
mov esi, dword [eax]
mov dword [ebp - 0x11b0], esi
cmp esi, eax
je 0x5c5c0d
cmp dword [0x819c9c], 8
lea ecx, [esi + 0x10]
mov edx, 0x819c88
cmovae edx, dword [0x819c88]
cmp dword [esi + 0x24], 8
jb 0x5c55c4
mov ecx, dword [esi + 0x10]
push ebx
push 0xffffffffffffffff
call fcn.0040bf20
test eax, eax
lea ecx, [esi + 0x10]
mov edx, 0x831088
setne byte [ebp - 0x1185]
call fcn.0060498d
cmp byte [ebp - 0x1185], 0
je 0x5c55f3
test al, al
je 0x5c5af1
lea eax, [ebp - 0x118c]
mov dword [ebp - 0x118c], 0x10
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0xb4]
push eax
push 1
lea ecx, [ebp - 0x2d0]
call fcn.005a814d
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.0040d595
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov ecx, 0x38d88b
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x118c], eax
lea eax, [ebp - 0x118c]
push eax
push str.TryGetClient::HandleStateAction:_Getting_Client_Cabs:__s
push 0x32
push 0xe
pop edx
call fcn.00437655
lea ecx, [ebp - 0x44]
call fcn.0040d475
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [edi + 0x48]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.005f0597
lea ecx, [ebp - 0x2c]
call fcn.0040d475
mov dword [ebp - 4], 0x16
mov edi, dword [ebp - 0x117c]
jmp 0x5c5787
xorps xmm0, xmm0
lea ecx, [ebp - 0x254]
movlpd qword [ebp - 0x1190], xmm0
call fcn.004fd736
test al, al
je 0x5c57b3
push ebx
lea edx, [ebp - 0x1190]
lea ecx, [ebp - 0x254]
call fcn.004fd910
mov eax, dword [ebp - 0x1190]
lea ecx, [ebp - 0x44]
add dword [ebp - 0x11a0], eax
mov eax, dword [ebp - 0x118c]
adc dword [ebp - 0x119c], eax
xor eax, eax
push str.ExtractClient
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.0040d510
sub esp, 0x10
mov byte [ebp - 4], 0x23
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x120]
call fcn.005da254
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x25
call fcn.0040d475
push 0x2c
call fcn.006707e1
pop ecx
test eax, eax
je 0x5c60ff
mov dword [ebp - 0x118c], eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0x26
push ecx
mov ecx, eax
call fcn.0050020d
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x118c], eax
call fcn.00502f8d
push ecx
mov eax, ecx
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x118c]
push eax
call fcn.005da152
mov ecx, dword [ebp - 0x118c]
push 0xea60
call fcn.00500343
test al, al
je 0x5c6104
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.005f0ac9
lea ecx, [ebp - 0x2d0]
call fcn.005f1477
test al, al
je 0x5c5abc
call fcn.0060f529
test al, al
je 0x5c5abc
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 0x118c], eax
add esi, 0x10
lea eax, [ebp - 0x118c]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
call fcn.0060ecda
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x28
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0060fd4f
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x29
push eax
lea edx, [ebp - 0xe4]
lea ecx, [ebp - 0x5c]
call fcn.004270bb
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x2a
call fcn.004fd736
test al, al
jne 0x5c593d
lea eax, [ebp - 0x5c]
mov edx, str._s_is_required__but_does_not_exist
push eax
lea ecx, [ebp - 0xcc]
call reloc.KERNEL32.dll_WerRegisterMemoryBlock
push eax
push 0x14
lea ecx, [ebp - 0xde8]
mov byte [ebp - 4], 0x2b
call fcn.005a7857
push 0x811494
lea eax, [ebp - 0xde8]
jmp 0x5c611c
push ecx
push 1
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.005f1055
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp - 0xcc]
mov edx, 0x7a7b9c
push eax
push 0x81dbac
lea ecx, [ebp - 0x168]
call fcn.004ffa71
or edi, 0x300
mov dword [ebp - 0x117c], edi
mov dword [ebp - 0x1184], edi
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x2e
call fcn.0040d475
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0060ed21
push 7
pop esi
xor eax, eax
mov dword [ebp - 0x1c], ebx
push str.Catalog
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov word [ebp - 0x2c], ax
call fcn.0040d510
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x34], ebx
push str.Installed_Catalog
mov dword [ebp - 0x30], esi
mov word [ebp - 0x44], ax
call fcn.0040d510
xor eax, eax
mov byte [ebp - 4], 0x30
mov ecx, esi
lea edi, [ebp - 0x100]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.005e9850
xor eax, eax
mov dword [ebp - 0x90], vtable.C2R::ContextDataMsg.0
mov word [ebp - 0xfc], ax
mov edx, 0x8e
lea eax, [ebp - 0x90]
mov dword [ebp - method.C2R::CommonTelemetry.virtual_0], vtable.C2R::CommonTelemetry.0
push eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0xec], ebx
push eax
push str.TryGetClient::HandleStateAction
push 0x32
mov ecx, 0x264a013
mov dword [ebp - 0xe8], esi
call fcn.00411dd9
lea ecx, [ebp - 0xfc]
call fcn.0040d475
lea ecx, [ebp - 0x8c]
call fcn.0040d475
lea ecx, [ebp - 0x44]
call fcn.0040d475
lea ecx, [ebp - 0x2c]
call fcn.0040d475
lea ecx, [ebp - 0x168]
call fcn.0040d475
lea ecx, [ebp - 0x5c]
call fcn.0040d475
lea ecx, [ebp - 0x138]
call fcn.0040d475
lea ecx, [ebp - 0x1cc]
call fcn.0040d475
lea ecx, [ebp - 0x1e4]
call fcn.0040d475
lea ecx, [ebp - 0x2f0]
call fcn.00500159
lea ecx, [ebp - 0x120]
mov dword [ebp - method.RefCounted.virtual_0], vtable.RefCounted.0
call fcn.0040d475
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x13
call fcn.005a8243
mov edi, dword [ebp - 0x11a4]
lea ecx, [ebp - 0x11b0]
call fcn.0040e1cb
mov eax, dword [ebp - 0x11bc]
mov esi, dword [ebp - 0x11b0]
jmp 0x5c559d
lea eax, [ebp - 0x11a0]
push eax
push ecx
push ecx
call fcn.005d197b
lea eax, [ebp - 0x11a0]
mov edx, str._llu
push eax
lea ecx, [ebp - 0xcc]
call fcn.005d509c
push eax
lea ecx, [ebp - 0x120]
call fcn.0040d3df
mov eax, dword [ebp - 0x117c]
or eax, 0x1400
test eax, 0x800
je 0x5c5c5b
lea ecx, [ebp - 0x138]
call fcn.0040d475
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0x13
call fcn.0040d475
mov byte [ebp - 4], 0x32
lea eax, [ebp - 0x1180]
mov esi, dword [edi + 0x2a0]
add esi, 0x58
push 0x81a3a8
push eax
mov ecx, esi
mov dword [ebp - 0x1184], esi
call fcn.00414c09
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x1180]
cmp eax, ecx
jne 0x5c5d0f
mov eax, dword [ecx]
lea edx, [ebp - 0x1180]
mov dword [ebp - 0x1180], 0x81a3a8
mov dword [ebp - 0x118c], eax
mov ecx, dword [eax + 4]
push ecx
push edx
push ecx
push ecx
push eax
mov dword [ebp - 0x11b0], ecx
call fcn.00414cee
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x1180], eax
call fcn.00414d5c
mov eax, dword [ebp - 0x118c]
mov ecx, dword [ebp - 0x1180]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x11b0]
mov dword [eax], ecx
mov ecx, esi
mov eax, dword [esi + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x119c]
push eax
call fcn.0041524d
mov eax, dword [ebp - 0x119c]
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [eax + 0x20]
call fcn.0040d3a8
lea ecx, [ebp - 0x120]
call fcn.0040d475
lea ecx, [ebp - 0x9c]
call fcn.004ffe44
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
push 0x81da44
lea edx, [ebp - 0xe4]
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x1b0]
call fcn.004270bb
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 0x34
push eax
lea ecx, [ebp - 0x9c]
call fcn.005eb38b
test al, al
je 0x5c5d7f
push ecx
lea ecx, [ebp - 0x9c]
call fcn.005eb412
mov bl, al
mov eax, dword [ebp - 0x11c4]
lea ecx, [edi + 0x80]
mov byte [eax + 0x1d0], bl
lea eax, [ebp - 0xe4]
push eax
mov byte [edi + 0x1cf], 1
call fcn.0040d37a
lea ecx, [ebp - 0x198]
call fcn.004fd736
test al, al
je 0x5c5e8e
push str.TryGetClient::HandleStateAction:_Found_C2R_Client_in_extracted_cab.
push 0x32
push 0xe
pop edx
mov ecx, 0x450362
call fcn.004f4c26
cmp byte [edi + 0x1ca], 0
pop ecx
pop ecx
je 0x5c5ddd
call fcn.005b3e6c
jmp 0x5c5de2
call fcn.005b3d3c
mov ecx, dword [ebp - 0x11ac]
push edi
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
lea ecx, [ebp - 0x1b0]
call fcn.0040d475
lea ecx, [ebp - 0x80]
call fcn.004158e4
lea ecx, [ebp - 0x150]
call fcn.0040d475
mov eax, dword [ebp - 0x11bc]
lea ecx, [ebp - 0x11bc]
push eax
push dword [eax]
lea eax, [ebp - 0x1180]
push eax
call fcn.004bdb02
mov ecx, dword [ebp - 0x11bc]
push 0x28
pop edx
call fcn.0040e677
lea ecx, [ebp - 0xb4]
call fcn.0040d475
lea ecx, [ebp - 0x180]
call fcn.0040d475
lea ecx, [ebp - 0x198]
call fcn.0040d475
lea ecx, [ebp - 0x74]
call fcn.0040d475
lea ecx, [ebp - 0xe4]
call fcn.0040d475
mov eax, dword [ebp - 0x11a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0064c681
mov esp, ebp
pop ebp
ret 4
push ecx
push ecx
lea ecx, [ebp - 0x1178]
call fcn.005d1a4b
push 0x811494
lea eax, [ebp - 0x1178]
jmp 0x5c611c
push str.TryGetClient::HandleStateAction_Do_not_have_a_valid_configuration_or_descriptor_information.
push 0x58
lea ecx, [ebp - 0x6c8]
call fcn.004253fc
push 0x811494
lea eax, [ebp - 0x6c8]
jmp 0x5c611c
call fcn.004f732c
push ecx
push ecx
lea ecx, [ebp - 0xa58]
call fcn.005d18f8
push 0x811494
lea eax, [ebp - 0xa58]
push eax
call fcn.0064f293
int3