Function at 0x52d740
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 0x52d7ec
cmp dword [0x635a90], 3
jl 0x52e213
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xd8]
push edi
push 0x14
push eax
push 6
mov ecx, esi
call fcn.00524dc0
test eax, eax
js 0x52e213
lea eax, ds:[esp + 0xd8]
push eax
call sym.SystemInformer.exe_Ordinal_1852
mov edi, eax
jmp 0x52ea86
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 0x52d92c
push dword [esp + 0x34]
call sym.SystemInformer.exe_Ordinal_1570
mov edi, eax
test edi, edi
jne 0x52d893
cmp byte [0x633514], al
je 0x52d885
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 0x52d85e
mov edi, ecx
jmp 0x52d88f
push 1
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xd8]
push eax
call sym.SystemInformer.exe_Ordinal_1351
test al, al
je 0x52d885
mov ecx, dword [esp + 0x34]
call fcn.0052cb60
mov edi, eax
test edi, edi
jne 0x52d893
mov ecx, dword [esp + 0x34]
mov edi, ecx
test ecx, ecx
je 0x52d89c
lock inc dword [ecx - 4]
cmp dword [edi], 0
jne 0x52ea86
cmp dword [0x635a90], 3
jl 0x52ea86
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push 0
push 4
push eax
push 8
mov ecx, esi
call fcn.00524dc0
nop
test eax, eax
js 0x52ea86
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x52ea86
lea edx, ds:[esp + 0xd0]
call fcn.00517fe0
test eax, eax
js 0x52d91d
mov esi, dword [esp + 0xd0]
push esi
push 0x630c4c
call sym.SystemInformer.exe_Ordinal_1298
mov ecx, edi
mov edi, eax
test ecx, ecx
je 0x52d917
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x52d917
call fcn.004fe0c0
push esi
call sym.SystemInformer.exe_Ordinal_1244
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x52ea86
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 0x52dbc5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x52d968
nop dword [eax]
cmp dword [eax], edi
jne 0x52e213
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 0x52e213
cmp dword [esp + 0x2c], edi
je 0x52dbb2
lea eax, [esp + 0x30]
push eax
push dword [esp + 0xd4]
call sym.SystemInformer.exe_Ordinal_1513
test eax, eax
js 0x52dbb2
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 0x52db0b
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 0x52dae8
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
test esi, esi
je 0x52da8e
mov ecx, dword [edi]
add ecx, esi
cmp dword [esp + 0x1c], ecx
jae 0x52da6d
lfence
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
add edx, esi
call fcn.005018a0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52da81
push esi
push eax
mov eax, dword [edi + 4]
add eax, dword [edi]
push eax
call fcn.00586310
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 0x52dab4
lfence
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
add edx, 4
call fcn.005018a0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edx, dword ds:[edi]
mov ecx, dword [edi + 4]
mov eax, dword [0x614b04]
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 0x52dae8
call fcn.004fe0c0
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 0x52da10
mov eax, edx
push eax
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test eax, eax
je 0x52db64
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.00586310
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 0x52dbb2
add eax, 0x1c
cmp esi, eax
jae 0x52db80
lfence
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
add edx, 0x1c
call fcn.005018a0
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 [0x61ebd8]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x61ebe0]
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 0x52ea86
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 0x52dc05
push dword [esp + 0x34]
call sym.SystemInformer.exe_Ordinal_1851
mov edi, eax
jmp 0x52ea86
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 0x52dcef
cmp dword [0x635a90], 3
mov dword [esp + 0x20], edi
push 0
jl 0x52dc62
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x94]
push 0x18
push eax
push 4
mov ecx, esi
call fcn.00524dc0
test eax, eax
jmp 0x52dcb7
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 0x52e213
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 0x52e213
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x52e213
lea eax, ds:[esp + 0x1c]
mov ecx, esi
push eax
call dword [0x5a9914]
call esi
mov edi, eax
jmp 0x52ea86
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 0x52dff7
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], edi
test eax, eax
je 0x52dd3c
cmp dword [eax], edi
jne 0x52e213
cmp dword [0x635a90], 3
jl 0x52de49
push 0x100
push 4
push dword [0x633a74]
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.00524dc0
mov dword ds:[esp + 0xd0], eax
cmp eax, 0x80000005
jne 0x52dddc
cmp dword [esp + 0x24], edi
jbe 0x52de1f
push dword ds:[esp + 0x2c]
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [esp + 0x24]
push esi
push 4
push dword [0x633a74]
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.00524dc0
mov dword [esp + 0xd0], eax
nop dword [eax]
test eax, eax
js 0x52de1f
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x52ddf9
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x52de26
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 0x52de26
mov eax, dword [esp + 0xd0]
push dword [esp + 0x2c]
mov dword [esp + 0x18], eax
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x14]
jmp 0x52de89
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 0x52e213
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xd0]
call fcn.0052d1e0
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x14], ecx
test eax, eax
js 0x52dea5
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 0x52dfdf
cmp dword [0x635a90], 3
jl 0x52decc
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xd8]
push 0
push 0x10
push eax
push 0xe
mov ecx, esi
lfence
call fcn.00524dc0
jmp 0x52dee9
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x52dee9
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 0x52dfdf
mov eax, dword ds:[esp + 0xdc]
mov ecx, 0x5fb6ac
test eax, 0x8000000
je 0x52df0e
mov edx, 0x604e60
jmp 0x52df3b
test eax, 0x800000
je 0x52df1c
mov edx, 0x602fe0
jmp 0x52df3b
nop dword [eax]
test eax, 0x1000000
je 0x52df2e
mov edx, 0x604e70
jmp 0x52df3b
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 0x52df50
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 0x52ea86
push ecx
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x52ea86
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 0x52e0e6
cmp dword [0x635a90], 3
push 0
jl 0x52e053
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x94]
push 0x1c
push eax
push 5
mov ecx, esi
call fcn.00524dc0
test eax, eax
jmp 0x52e0a8
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 0x52e213
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 0x52e213
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 0x52e213
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call dword [0x5a9914]
call esi
mov edi, eax
jmp 0x52ea86
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 0x52e1a5
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 0x52e213
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x90]
push 0x30
push 0
push eax
call fcn.005861b0
add esp, 0xc
call fcn.0051fb60
test eax, eax
je 0x52e209
push 0
push 0x30
lea eax, [esp + 0x98]
push eax
push 0
push esi
call fcn.0051fb60
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 0x52e213
lea eax, [esp + 0x90]
push eax
call sym.SystemInformer.exe_Ordinal_1621
mov edi, eax
jmp 0x52ea86
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 0x52e2ca
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 0x52e213
mov ecx, dword ds:[esp + 0x24]
lea eax, [esp + 0xd0]
push eax
call fcn.00517b40
test eax, eax
jns 0x52e23d
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x52e21f
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.00583f7f
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 0x52e25d
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x52e27f
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 [0x633a74]
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 0x52e2a7
cmp dword [esi], 0
jne 0x52e21f
lea eax, [esp + 0xf0]
push eax
call sym.SystemInformer.exe_Ordinal_1621
mov edi, eax
test esi, esi
je 0x52ea86
push esi
call sym.SystemInformer.exe_Ordinal_1244
jmp 0x52ea86
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 0x52e416
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 0x52e213
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xd0]
push eax
call fcn.00517780
test eax, eax
js 0x52e3b0
mov eax, dword ds:[esp + 0xd0]
mov ecx, dword [eax]
test ecx, ecx
jne 0x52e34b
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x52e36d
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 [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test esi, esi
je 0x52e3b0
push esi
cmp dword [esi], edi
je 0x52e3ab
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 0x52ea86
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.0051fec0
test eax, eax
je 0x52e407
push 0
push 0x18
lea eax, [esp + 0x98]
push eax
push 0
push esi
call fcn.0051fec0
mov esi, eax
mov ecx, eax
call dword [0x5a9914]
call esi
test eax, eax
js 0x52e407
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 0x52ea86
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 0x52e54b
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 0x52e213
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xd0]
push eax
call fcn.00517960
nop
test eax, eax
js 0x52e4e5
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 [0x633a74]
mov dword [esp + 0xdc], eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x52e4e5
cmp dword [eax], edi
jne 0x52e53a
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.0051fda0
test eax, eax
je 0x52e53c
push 0
push 0x18
lea eax, [esp + 0x98]
push eax
push 0
push esi
call fcn.0051fda0
mov esi, eax
mov ecx, eax
call dword [0x5a9914]
call esi
test eax, eax
js 0x52e53c
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 0x52ea86
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 0x52e6f4
push 0x4c
lea eax, [esp + 0x44]
push 0
push eax
call fcn.005861b0
add esp, 0xc
lea eax, [esp + 0x90]
push 0x38
push 0
push eax
call fcn.005861b0
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 0x52e213
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 0x52e6e5
push 0
push 1
push dword [esp + 0x48]
call sym.SystemInformer.exe_Ordinal_1860
mov esi, eax
test esi, esi
je 0x52e6e5
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 0x52e6a1
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 0x52ea86
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 0x52e213
xor ecx, ecx
xor esi, esi
cmp dword [0x635a90], 3
mov dword [esp + 0x2c], ecx
jl 0x52e213
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 0x52e213
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.00525340
test eax, eax
js 0x52e213
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xd0]
lfence
mov ecx, dword [esp + 0x30]
push eax
call fcn.00525400
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 0x52e894
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 0x52e807
mov dword [esp + 0x128], 0x1c
mov dword [esp + 0x12c], str.Connection_to
mov dword [esp + 0x1c], eax
jmp 0x52e8e6
mov eax, dword [esp + 0x78]
test al, 0x10
je 0x52e9b7
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0x10
mov dword [esp + 0x12c], str.Refused
jmp 0x52ea15
test al, 0x20
je 0x52e865
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0x1a
mov dword [esp + 0x12c], str.Disconnected
jmp 0x52ea15
test al, 8
je 0x52ea15
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0x10
mov dword [esp + 0x12c], str.Pending
jmp 0x52ea15
cmp dword [esp + 0x54], eax
jne 0x52e9e3
mov dword [esp + 0x100], 1
mov esi, 1
mov dword [esp + 0x110], 0x10
mov dword [esp + 0x114], str.Server:
test ecx, ecx
je 0x52e985
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.0052d260
mov dword [esp + 0x2c], eax
test eax, eax
je 0x52ea11
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 0x52ea46
mov dword [esp + 0x2c], eax
cmp word [edx], di
jbe 0x52ea15
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 0x52ea15
test byte [esp + 0x78], 0x10
je 0x52e9b3
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0x10
mov dword [esp + 0x12c], str.Refused
jmp 0x52ea15
mov eax, dword [esp + 0x64]
test al, 0x40
je 0x52e83a
mov dword [esp + 0x118], esi
mov esi, 2
mov dword [esp + 0x128], 0xe
mov dword [esp + 0x12c], str.Closed
jmp 0x52ea15
cmp dword [esp + 0x40], eax
jne 0x52ea15
mov dword [esp + 0x100], 1
mov esi, 1
mov dword [esp + 0x110], 0x18
mov dword [esp + 0x114], str.Connection:
jmp 0x52ea15
mov edx, dword [esp + 0x24]
test edx, edx
je 0x52ea41
cmp word [edx], di
jbe 0x52ea41
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 0x52ea5e
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 0x52ea6c
push eax
call sym.SystemInformer.exe_Ordinal_1244
mov eax, dword [esp + 0x24]
test eax, eax
je 0x52ea86
push eax
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test edi, edi
je 0x52e213
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.00583f7f
mov esp, ebp
pop ebp
ret 0xc