Function at 0x52d800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edi
mov dword [esp + 0x3c], ecx
xor edi, edi
mov ecx, dword [sym.SystemInformer.exe_Ordinal_1857]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x1c]
push 1
push ecx
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x1e
mov dword [esp + 0x2c], str.EtwRegistration
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52d8ac
cmp dword [0x635a54], 3
jl 0x52e2d3
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xd8]
push edi
push 0x14
push eax
push 6
mov ecx, esi
call fcn.00524e80
test eax, eax
js 0x52e2d3
lea eax, ds:[esp + 0xd8]
push eax
call sym.SystemInformer.exe_Ordinal_1852
mov edi, eax
jmp 0x52eb46
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 8
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 0x602fe0
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52d9ec
push dword [esp + 0x34]
call sym.SystemInformer.exe_Ordinal_1570
mov edi, eax
test edi, edi
jne 0x52d953
cmp byte [0x6334f4], al
je 0x52d945
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], str.Device_
mov dword [esp + 0xd0], 0x10
cmp dword [ecx], 0x10
mov eax, dword [ecx + 4]
mov dword [esp + 0xd4], eax
jae 0x52d91e
mov edi, ecx
jmp 0x52d94f
push 1
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xd8]
push eax
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52d945
mov ecx, dword [esp + 0x34]
call fcn.0052cc20
mov edi, eax
test edi, edi
jne 0x52d953
mov ecx, dword [esp + 0x34]
mov edi, ecx
test ecx, ecx
je 0x52d95c
lock inc dword [ecx - 4]
cmp dword [edi], 0
jne 0x52eb46
cmp dword [0x635a54], 3
jl 0x52eb46
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push 0
push 4
push eax
push 8
mov ecx, esi
call fcn.00524e80
nop
test eax, eax
js 0x52eb46
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x52eb46
lea edx, ds:[esp + 0xd0]
call fcn.005180c0
test eax, eax
js 0x52d9dd
mov esi, dword [esp + 0xd0]
push esi
push 0x630c50
call sym.SystemInformer.exe_Ordinal_1298
mov ecx, edi
mov edi, eax
test ecx, ecx
je 0x52d9d7
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x52d9d7
call fcn.004fe1e0
push esi
call sym.SystemInformer.exe_Ordinal_1244
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x52eb46
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 6
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 0x60484c
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52dc85
mov eax, dword [esp + 0x34]
test eax, eax
je 0x52da28
nop dword [eax]
cmp dword [eax], edi
jne 0x52e2d3
push 0
push 0
push 4
lea eax, [esp + 0xdc]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x52e2d3
cmp dword [esp + 0x2c], edi
je 0x52dc72
lea eax, [esp + 0x30]
push eax
push dword [esp + 0xd4]
call sym.SystemInformer.exe_Ordinal_1513
test eax, eax
js 0x52dc72
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edi
mov esi, 0x28
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
call sym.SystemInformer.exe_Ordinal_1331
mov edi, eax
xor ecx, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov dword [edi], 0
mov eax, dword [edi + 4]
mov word [eax], cx
mov eax, dword [esp + 0x30]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x38], eax
cmp dword [eax + 4], ecx
jbe 0x52dbcb
lea ecx, [eax + 8]
mov dword [esp + 0x30], ecx
mov eax, dword [ecx]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xd8]
push eax
call dword [0x5a9914]
call dword [esp + 0x30]
mov dword [esp + 0x18], eax
test eax, eax
je 0x52dba8
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
test esi, esi
je 0x52db4e
mov ecx, dword [edi]
add ecx, esi
cmp dword [esp + 0x1c], ecx
jae 0x52db2d
lfence
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
add edx, esi
call fcn.005019c0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52db41
push esi
push eax
mov eax, dword [edi + 4]
add eax, dword [edi]
push eax
call fcn.00586330
add esp, 0xc
add dword [edi], esi
xor edx, edx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov word [ecx + eax], dx
mov eax, dword [edi]
mov esi, dword [esp + 0x1c]
add eax, 4
cmp esi, eax
jae 0x52db74
lfence
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
add edx, 4
call fcn.005019c0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edx, dword ds:[edi]
mov ecx, dword [edi + 4]
mov eax, dword [0x614b14]
mov dword [edx + ecx], eax
xor edx, edx
add dword [edi], 4
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov word [ecx + eax], dx
or eax, 0xffffffff
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x52dba8
call fcn.004fe1e0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
cmp eax, dword [edx + 4]
jb 0x52dad0
mov eax, edx
push eax
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test eax, eax
je 0x52dc24
mov ecx, dword [edi + 4]
shr eax, 1
lea edx, [eax*2 - 4]
sub dword [esp + 0x14], edx
lea eax, [ecx + eax*2]
sub dword [esp + 0x14], 4
push dword [esp + 0x14]
push eax
lea eax, [ecx + edx]
push eax
call fcn.00586330
add dword ds:[edi], 0xfffffffc
xor edx, edx
mov eax, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
mov word [ecx + eax], dx
mov eax, dword [edi]
test eax, eax
jne 0x52dc72
add eax, 0x1c
cmp esi, eax
jae 0x52dc40
lfence
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
add edx, 0x1c
call fcn.005019c0
mov edi, dword [esp + 0x20]
mov ecx, dword [edi]
add ecx, dword [edi + 4]
movups xmm0, xmmword [str._No_processes_]
movups xmmword [ecx], xmm0
movq xmm0, qword [0x61ebe8]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x61ebf0]
mov dword [ecx + 0x18], eax
add dword [edi], 0x1c
xor edx, edx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov word [ecx + eax], dx
push dword [esp + 0xd0]
call dword [sym.imp.ntdll.dll_NtClose]
nop
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 6
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], 0x604288
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52dcc5
push dword [esp + 0x34]
call sym.SystemInformer.exe_Ordinal_1851
mov edi, eax
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 0xe
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], 0x602ef4
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52ddaf
cmp dword [0x635a54], 3
mov dword [esp + 0x20], edi
push 0
jl 0x52dd22
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x94]
push 0x18
push eax
push 4
mov ecx, esi
call fcn.00524e80
test eax, eax
jmp 0x52dd77
push 0
push 0x1000
lea eax, [esp + 0xdc]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
nop
test eax, eax
js 0x52e2d3
push 0
push 0x18
lea eax, [esp + 0x98]
push eax
push 0
push dword [esp + 0xe0]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
push dword [esp + 0xd0]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
js 0x52e2d3
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x52e2d3
lea eax, ds:[esp + 0x1c]
mov ecx, esi
push eax
call dword [0x5a9914]
call esi
mov edi, eax
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 0xe
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], 0x6042cc
call sym.SystemInformer.exe_Ordinal_1351
nop dword [eax + eax]
test al, al
je 0x52e0b7
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], edi
test eax, eax
je 0x52ddfc
cmp dword [eax], edi
jne 0x52e2d3
cmp dword [0x635a54], 3
jl 0x52df09
push 0x100
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push 0x100
push eax
push 0xf
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.00524e80
mov dword ds:[esp + 0xd0], eax
cmp eax, 0x80000005
jne 0x52de9c
cmp dword [esp + 0x24], edi
jbe 0x52dedf
push dword ds:[esp + 0x2c]
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [esp + 0x24]
push esi
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push esi
mov esi, dword [esp + 0x38]
mov ecx, esi
push eax
push 0xf
mov dword [esp + 0x3c], eax
call fcn.00524e80
mov dword [esp + 0xd0], eax
nop dword [eax]
test eax, eax
js 0x52dedf
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x52deb9
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x52dee6
mov eax, dword [ecx + 4]
mov dword [esp + 0xdc], eax
mov eax, edx
push 0
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xdc]
push 0
push eax
call sym.SystemInformer.exe_Ordinal_1331
jmp 0x52dee6
mov eax, dword [esp + 0xd0]
push dword [esp + 0x2c]
mov dword [esp + 0x18], eax
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x14]
jmp 0x52df49
push 0
push 0
push 5
lea eax, [esp + 0x44]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x52e2d3
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xd0]
call fcn.0052d2a0
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x14], ecx
test eax, eax
js 0x52df65
push ecx
call sym.SystemInformer.exe_Ordinal_1570
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
call sym.SystemInformer.exe_Ordinal_1244
nop
jmp 0x52e09f
cmp dword [0x635a54], 3
jl 0x52df8c
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xd8]
push 0
push 0x10
push eax
push 0xe
mov ecx, esi
lfence
call fcn.00524e80
jmp 0x52dfa9
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x52dfa9
push 0
push 0x10
lea eax, [esp + 0xe0]
push eax
push 0
push ecx
call dword [sym.imp.ntdll.dll_NtQuerySection]
test eax, eax
js 0x52e09f
mov eax, dword ds:[esp + 0xdc]
mov ecx, 0x5fb6ac
test eax, 0x8000000
je 0x52dfce
mov edx, 0x604e60
jmp 0x52dffb
test eax, 0x800000
je 0x52dfdc
mov edx, 0x602fe0
jmp 0x52dffb
nop dword [eax]
test eax, 0x1000000
je 0x52dfee
mov edx, 0x604e70
jmp 0x52dffb
test eax, 0x4000000
mov edx, str.Reserve
cmove edx, ecx
mov ecx, edx
mov dword [esp + 0x100], 1
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52e010
sub ecx, esi
mov dword [esp + 0x114], edx
sar ecx, 1
push 0
push 4
mov dword [esp + 0x120], 1
lea eax, [ecx + ecx]
mov dword [esp + 0x130], 4
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x148], eax
mov eax, 0x29
mov word [esp + 0x160], ax
lea eax, [esp + 0x108]
push eax
mov dword [esp + 0x138], 0x603a3c
mov dword [esp + 0x13c], 0xd
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], edi
call sym.SystemInformer.exe_Ordinal_1375
mov edi, eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x52eb46
push ecx
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 0xc
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], str.Thread
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52e1a6
cmp dword [0x635a54], 3
push 0
jl 0x52e113
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x94]
push 0x1c
push eax
push 5
mov ecx, esi
call fcn.00524e80
test eax, eax
jmp 0x52e168
push 0
push 0x800
lea eax, [esp + 0xdc]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x52e2d3
push 0
push 0x1c
lea eax, [esp + 0x98]
push eax
push 0
push dword [esp + 0xe0]
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
push dword ds:[esp + 0xd0]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
js 0x52e2d3
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
test esi, esi
je 0x52e2d3
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call dword [0x5a9914]
call esi
mov edi, eax
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 8
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], str.TmEn
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52e265
push 0
push 0
push 1
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x52e2d3
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x90]
push 0x30
push 0
push eax
call fcn.005861d0
add esp, 0xc
call fcn.0051fc20
test eax, eax
je 0x52e2c9
push 0
push 0x30
lea eax, [esp + 0x98]
push eax
push 0
push esi
call fcn.0051fc20
mov esi, eax
mov ecx, eax
call dword [0x5a9914]
call esi
push dword [esp + 0x24]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
js 0x52e2d3
lea eax, [esp + 0x90]
push eax
call sym.SystemInformer.exe_Ordinal_1621
mov edi, eax
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 8
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], str.TmRm
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52e38a
push 0
push 0
push 1
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x52e2d3
mov ecx, dword ds:[esp + 0x24]
lea eax, [esp + 0xd0]
push eax
call fcn.00517c20
test eax, eax
jns 0x52e2fd
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x52e2df
lock inc dword [esi - 4]
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [esp + 0xd0]
movups xmm0, xmmword [edi]
movups xmmword [esp + 0xf0], xmm0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x52e31d
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x52e33f
lea eax, [edi + 0x14]
mov dword [esp + 0xd8], ecx
push 0
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xdc]
push 0
push eax
call sym.SystemInformer.exe_Ordinal_1331
push edi
push 0
push dword [0x633a54]
mov esi, eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
je 0x52e367
cmp dword [esi], 0
jne 0x52e2df
lea eax, [esp + 0xf0]
push eax
call sym.SystemInformer.exe_Ordinal_1621
mov edi, eax
test esi, esi
je 0x52eb46
push esi
call sym.SystemInformer.exe_Ordinal_1244
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 8
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], str.TmTm
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52e4d6
push 0
push 0
push 1
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x52e2d3
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xd0]
push eax
call fcn.00517860
test eax, eax
js 0x52e470
mov eax, dword ds:[esp + 0xd0]
mov ecx, dword [eax]
test ecx, ecx
jne 0x52e40b
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x52e42d
add eax, 4
mov dword [esp + 0xd8], ecx
push 0
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xdc]
push 0
push eax
call sym.SystemInformer.exe_Ordinal_1331
push dword ds:[esp + 0xd0]
mov esi, eax
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test esi, esi
je 0x52e470
push esi
cmp dword [esi], edi
je 0x52e46b
call sym.SystemInformer.exe_Ordinal_1509
push esi
mov edi, eax
call sym.SystemInformer.exe_Ordinal_1244
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x52eb46
call sym.SystemInformer.exe_Ordinal_1244
mov esi, dword [esp + 0x24]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
call fcn.0051ff80
test eax, eax
je 0x52e4c7
push 0
push 0x18
lea eax, [esp + 0x98]
push eax
push 0
push esi
call fcn.0051ff80
mov esi, eax
mov ecx, eax
call dword [0x5a9914]
call esi
test eax, eax
js 0x52e4c7
lea eax, ds:[esp + 0x90]
push eax
call sym.SystemInformer.exe_Ordinal_1621
mov edi, eax
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 8
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], str.TmTx
call sym.SystemInformer.exe_Ordinal_1351
nop
test al, al
je 0x52e60b
push 0
push 0
push 1
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x52e2d3
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xd0]
push eax
call fcn.00517a40
nop
test eax, eax
js 0x52e5a5
mov esi, dword [esp + 0xd0]
push 0
push 0
lea eax, [esi + 0x18]
mov dword [esp + 0xe4], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xe0]
push eax
call sym.SystemInformer.exe_Ordinal_1331
push esi
push 0
push dword [0x633a54]
mov dword [esp + 0xdc], eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x52e5a5
cmp dword [eax], edi
jne 0x52e5fa
push eax
call sym.SystemInformer.exe_Ordinal_1244
mov esi, dword ds:[esp + 0x24]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
call fcn.0051fe60
test eax, eax
je 0x52e5fc
push 0
push 0x18
lea eax, [esp + 0x98]
push eax
push 0
push esi
call fcn.0051fe60
mov esi, eax
mov ecx, eax
call dword [0x5a9914]
call esi
test eax, eax
js 0x52e5fc
lea eax, [esp + 0x90]
push eax
call sym.SystemInformer.exe_Ordinal_1621
mov edi, eax
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 0xa
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], 0x604874
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52e7b4
push 0x4c
lea eax, [esp + 0x44]
push 0
push eax
call fcn.005861d0
add esp, 0xc
lea eax, [esp + 0x90]
push 0x38
push 0
push eax
call fcn.005861d0
add esp, 0xc
lea eax, [esp + 0x24]
push 0
push 0
push 8
push eax
push 0xffffffffffffffff
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
nop dword [eax]
test eax, eax
js 0x52e2d3
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x28]
call sym.SystemInformer.exe_Ordinal_1548
mov esi, eax
lea eax, [esp + 0xd0]
push eax
push 0x38
lea eax, [esp + 0x98]
push eax
push 0xa
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test esi, esi
js 0x52e7a5
push 0
push 1
push dword [esp + 0x48]
call sym.SystemInformer.exe_Ordinal_1860
mov esi, eax
test esi, esi
je 0x52e7a5
mov eax, dword [esp + 0x98]
mov edx, str.__Primary_
cmp dword [esp + 0xa8], 1
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov dword [esp + 0x140], eax
mov eax, str.__Impersonation_
cmovne edx, eax
mov dword [esp + 0x114], ecx
mov ecx, edx
mov dword [esp + 0x100], 1
mov dword [esp + 0x110], edi
mov dword [esp + 0x118], 1
mov dword [esp + 0x128], 8
lea eax, [ecx + 2]
mov dword [esp + 0x12c], str.:_0x
mov dword [esp + 0x130], 0x108
mov byte [esp + 0x13a], 0x10
mov dword [esp + 0x148], 1
mov dword [esp + 0xd0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52e761
sub ecx, dword [esp + 0xd0]
sar ecx, 1
mov dword [esp + 0x15c], edx
lea eax, [ecx + ecx]
mov dword [esp + 0x158], eax
lea eax, [edi + 0x28]
push eax
push 4
lea eax, [esp + 0x108]
push eax
call sym.SystemInformer.exe_Ordinal_1375
push esi
mov edi, eax
call sym.SystemInformer.exe_Ordinal_1244
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x52eb46
push 1
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 0x12
push eax
push dword [esp + 0x1c]
mov dword [esp + 0xe8], str.ALPC_Port
call sym.SystemInformer.exe_Ordinal_1351
nop dword [eax]
test al, al
je 0x52e2d3
xor ecx, ecx
xor esi, esi
cmp dword [0x635a54], 3
mov dword [esp + 0x2c], ecx
jl 0x52e2d3
push ecx
push 0x18
lea eax, [esp + 0x98]
push eax
push ecx
push dword [esp + 0x40]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x52e2d3
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push esi
push 0x3c
push eax
lfence
mov ecx, dword [esp + 0x3c]
push 1
call fcn.00525400
test eax, eax
js 0x52e2d3
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xd0]
lfence
mov ecx, dword [esp + 0x30]
push eax
call fcn.005254c0
mov edx, dword [esp + 0xd0]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0xa0]
cmovs edx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], edx
cmp ecx, eax
jne 0x52e954
mov eax, dword [esp + 0x54]
mov esi, 1
mov dword [esp + 0x100], 1
mov dword [esp + 0x110], 0x10
mov dword [esp + 0x114], str.Client:
test eax, eax
je 0x52e8c7
mov dword [esp + 0x128], 0x1c
mov dword [esp + 0x12c], str.Connection_to
mov dword [esp + 0x1c], eax
jmp 0x52e9a6
mov eax, dword [esp + 0x78]
test al, 0x10
je 0x52ea77
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0x10
mov dword [esp + 0x12c], str.Refused
jmp 0x52ead5
test al, 0x20
je 0x52e925
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0x1a
mov dword [esp + 0x12c], str.Disconnected
jmp 0x52ead5
test al, 8
je 0x52ead5
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0x10
mov dword [esp + 0x12c], str.Pending
jmp 0x52ead5
cmp dword [esp + 0x54], eax
jne 0x52eaa3
mov dword [esp + 0x100], 1
mov esi, 1
mov dword [esp + 0x110], 0x10
mov dword [esp + 0x114], str.Server:
test ecx, ecx
je 0x52ea45
mov dword [esp + 0x128], 0x22
mov dword [esp + 0x12c], str._Connection_from
mov dword [esp + 0x1c], ecx
mov dword ds:[esp + 0x118], esi
lea ecx, [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x20], edi
mov esi, 2
call fcn.0052d320
mov dword [esp + 0x2c], eax
test eax, eax
je 0x52ead1
mov edx, dword ds:[eax + 4]
mov esi, 3
mov ecx, dword [eax]
mov dword [esp + 0x144], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x130], 1
mov dword [esp + 0x140], ecx
mov dword [esp + 0x2c], eax
test edx, edx
je 0x52eb06
mov dword [esp + 0x2c], eax
cmp word [edx], di
jbe 0x52ead5
mov dword ds:[esp + 0x148], 1
mov esi, 4
mov dword [esp + 0x158], 8
mov dword [esp + 0x15c], str._on
mov dword [esp + 0x2c], eax
jmp 0x52ead5
test byte [esp + 0x78], 0x10
je 0x52ea73
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0x10
mov dword [esp + 0x12c], str.Refused
jmp 0x52ead5
mov eax, dword [esp + 0x64]
test al, 0x40
je 0x52e8fa
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0xe
mov dword [esp + 0x12c], str.Closed
jmp 0x52ead5
cmp dword [esp + 0x40], eax
jne 0x52ead5
mov dword [esp + 0x100], 1
mov esi, 1
mov dword [esp + 0x110], 0x18
mov dword [esp + 0x114], str.Connection:
jmp 0x52ead5
mov edx, dword [esp + 0x24]
test edx, edx
je 0x52eb01
cmp word [edx], di
jbe 0x52eb01
movzx eax, si
lea ecx, [esp + 0x100]
inc esi
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
mov dword [ecx], 1
movzx eax, word [edx]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0x14], eax
test si, si
je 0x52eb1e
push 0
movzx eax, si
push eax
lea eax, [esp + 0x108]
push eax
lfence
call sym.SystemInformer.exe_Ordinal_1375
mov edi, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x52eb2c
push eax
call sym.SystemInformer.exe_Ordinal_1244
mov eax, dword [esp + 0x24]
test eax, eax
je 0x52eb46
push eax
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test edi, edi
je 0x52e2d3
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x17c]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00583f9f
mov esp, ebp
pop ebp
ret 0xc