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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x3c0], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebx + 0x60]
cmp dword [edi + 0x44], ecx
je 0x4dda79
mov eax, dword [edi]
test eax, eax
je 0x4dda7d
add edi, eax
jne 0x4dda68
jmp 0x4dda7d
test edi, edi
jne 0x4ddada
mov esi, dword [ebx + 0x6c]
lea edi, [esp + 0x2d0]
mov dword [esp + 0x2d4], 0
mov dword [esp + 0x14], esi
test esi, esi
je 0x4ddada
cmp dword [0x6340e8], 0
je 0x4ddada
test byte [esi + 0x10], 2
je 0x4ddad6
mov ecx, 0x635cec
call sym.SystemInformer.exe_PhfAcquireFastLockExclusive
push dword ds:[esi + 0xc]
mov esi, dword [0x6340e8]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov ecx, 0x635cec
call sym.SystemInformer.exe_PhfReleaseFastLockExclusive
mov esi, dword [esp + 0x14]
and byte [esi + 0x10], 0xfd
cmp dword [ebx + 0x60], 0
lea eax, [edi + 0xb8]
mov edx, dword [edi + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
jne 0x4ddb10
xor ecx, ecx
test edx, edx
je 0x4ddb10
add eax, 0x24
lea ebx, [ebx]
cmp dword [eax], 0
jne 0x4ddb08
mov dword [eax], ecx
inc ecx
add eax, 0x40
sub edx, 1
jne 0x4ddb00
xor esi, esi
xor edi, edi
mov edx, dword [ebx]
mov ecx, dword [edx + 0x24]
cmp edi, ecx
jae 0x4ddb4b
mov eax, dword [edx]
add eax, 8
mov dword [esp + 0x14], eax
imul eax, edi
add eax, dword [edx + 0x18]
lea esp, [esp]
mov edx, eax
inc edi
add eax, dword [esp + 0x14]
mov dword [esp + 0x244], edx
cmp dword [edx], 0xffffffff
jne 0x4ddf54
cmp edi, ecx
jb 0x4ddb30
test esi, esi
je 0x4ddbb8
lea ecx, [ebx + 4]
call sym.SystemInformer.exe_PhfAcquireFastLockExclusive
xor edi, edi
cmp dword [esi], edi
jbe 0x4ddb9b
lea ecx, [ecx]
mov eax, dword [esi + 8]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xf8]
push eax
push dword [ebx]
call sym.SystemInformer.exe_PhRemoveEntryHashtable
mov ecx, dword [esp + 0xf8]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ddb96
call fcn.004fbe40
inc edi
cmp edi, dword [esi]
jb 0x4ddb60
lea ecx, ds:[ebx + 4]
call sym.SystemInformer.exe_PhfReleaseFastLockExclusive
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ddbb8
call fcn.004fbe40
lea eax, ds:[ebx + 0x70]
push eax
call dword [sym.imp.ntdll.dll_RtlInterlockedFlushSList]
mov edi, eax
test edi, edi
je 0x4ddce8
mov esi, edi
mov edi, dword [edi]
cmp dword [esi + 0x20], 0
jne 0x4ddc4b
mov ecx, dword ds:[esi + 0x18]
test ecx, ecx
je 0x4ddc4b
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x90]
mov dword [eax + 0x90], ecx
lock inc dword [ecx - 4]
test edx, edx
je 0x4ddc0e
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ddc0e
call fcn.004fbe40
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax + 0x94]
mov dword [eax + 0x94], ecx
test ecx, ecx
je 0x4ddc28
lock inc dword [ecx - 4]
test edx, edx
je 0x4ddc3f
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ddc3f
call fcn.004fbe40
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x98], eax
mov eax, dword ds:[esi + 8]
mov ecx, dword [esi + 0x24]
mov edx, dword [eax + 0x80]
mov dword [eax + 0x80], ecx
test edx, edx
je 0x4ddc77
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ddc77
call fcn.004fbe40
mov eax, dword [esi + 8]
mov byte [eax + 0x9d], 1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4ddc9b
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ddc9b
call fcn.004fbe40
mov eax, dword ds:[esi + 0x1c]
test eax, eax
je 0x4ddcb7
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ddcb7
call fcn.004fbe40
mov ecx, dword [esi + 8]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ddccd
call fcn.004fbe40
push esi
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea esp, [esp]
test edi, edi
jne 0x4ddbd0
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x20], eax
jbe 0x4de78a
fldz
lea esi, [ebx + 4]
fstp dword [esp + 0x2c]
fld qword [0x61c868]
fstp qword [esp + 0xe8]
mov edi, edi
mov edi, eax
lea ecx, [esp + 0x100]
shl edi, 6
add edi, dword [esp + 0x28]
mov dword [esp + 0xfc], ecx
mov ecx, esi
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x24]
mov dword [esp + 0x100], eax
call sym.SystemInformer.exe_PhfAcquireFastLockShared
lea eax, [esp + 0xfc]
push eax
push dword [ebx]
call sym.SystemInformer.exe_PhFindEntryHashtable
test eax, eax
je 0x4de7b8
mov esi, dword ds:[eax]
lock inc dword [esi - 4]
lea ecx, [ebx + 4]
call sym.SystemInformer.exe_PhfReleaseFastLockShared
mov dword [esp + 0xf4], esi
test esi, esi
je 0x4de7ca
mov bl, byte ds:[esi + 0x9d]
mov eax, dword [edi]
test bl, bl
mov ecx, dword [edi + 4]
mov dword [esi + 0x10], eax
setne byte [esp + 0x13]
mov dword [esi + 0x14], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0xf4]
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x64], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x68], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [edi + 0x34]
mov dword [eax + 0x70], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x6c], ecx
mov ecx, dword [esp + 0xf4]
mov eax, dword [edi + 0x38]
cmp dword [ecx + 0x74], eax
je 0x4dddf4
mov dword [ecx + 0x74], eax
mov ecx, dword [esp + 0xf4]
mov byte [esp + 0x13], 1
cmp dword [ecx + 0x98], 2
lea edx, [ecx + 0x98]
mov ebx, dword [esp + 0x1c]
jne 0x4dde5e
mov eax, dword [ebx + 0x88]
or eax, dword [ebx + 0x8c]
je 0x4dde5e
push dword [ecx + 0x8c]
push dword [ecx + 0x88]
mov ecx, ebx
call fcn.004dd820
mov ecx, dword [esp + 0xf4]
mov edx, dword [ecx + 0x90]
mov dword [ecx + 0x90], eax
test edx, edx
je 0x4dde52
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4dde52
call fcn.004fbe40
mov ecx, dword [esp + 0xf4]
mov byte [esp + 0x13], 1
cmp byte [ecx + 0x9d], 0
je 0x4de0a1
cmp dword [ecx + 0x98], 2
jne 0x4de0a1
mov eax, dword ds:[edi + 0x1c]
cmp dword [ecx + 0x88], eax
jne 0x4dde95
cmp dword [ecx + 0x8c], 0
je 0x4de0a1
push 0x28
mov dword [ecx + 0x88], eax
mov dword [ecx + 0x8c], 0
mov eax, dword [esp + 0xf8]
push 4
push dword [0x633f94]
mov dword [esp + 0x24], eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], ebx
lock inc dword [ebx - 4]
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
test eax, eax
je 0x4ddefa
lock inc dword [eax - 4]
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x84]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
test byte [0x62db18], 1
jne 0x4de086
mov ecx, 0x62db18
lock bts dword [ecx], 0x1f
setb al
test al, al
jne 0x4de076
push 0x3e8
push 1
push 0
push 0x6369c0
call sym.SystemInformer.exe_PhInitializeWorkQueue
mov ecx, 0x62db18
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x4de086
xor ecx, ecx
cmp dword [esp + 0x20], ecx
jbe 0x4ddf90
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, 0x24
lea esp, [esp]
mov ebx, dword ds:[esp + 0x14]
cmp ebx, dword [eax]
mov ebx, dword [esp + 0x1c]
je 0x4ddb14
inc ecx
add eax, 0x40
cmp ecx, dword [esp + 0x20]
jb 0x4ddf70
push dword [edx + 8]
lea eax, [ebx + 0x30]
push eax
call sym.SystemInformer.exe_PhInvokeCallback
lea esp, [esp]
test esi, esi
jne 0x4ddfd3
push dword [0x633f7c]
push 0xc
call sym.SystemInformer.exe_PhCreateObject
push 8
mov esi, eax
push 4
push dword [0x633f94]
mov dword [esi], 0
mov dword [esi + 4], 2
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x244]
lea ecx, [esi + 8]
mov dword [esp + 0xf8], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
cmp dword [esi], eax
jne 0x4de05b
mov ecx, dword ds:[ecx]
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x4de02f
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0xf8]
mov dword [eax], ecx
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [eax + ecx*4], edx
inc dword [esi]
jmp 0x4ddb14
push ecx
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov edx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0xf8]
mov dword [eax], ecx
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [eax + ecx*4], edx
inc dword [esi]
jmp 0x4ddb14
mov edx, dword [esp + 0x14]
mov eax, ecx
mov dword [esp + 0xf8], ecx
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [eax + ecx*4], edx
inc dword [esi]
jmp 0x4ddb14
test byte [0x62db18], 1
jne 0x4de086
xor edx, edx
call sym.SystemInformer.exe_PhfWaitForEvent
push 0
push 0
push esi
push 0x4dd5a0
push 0x6369c0
call sym.SystemInformer.exe_PhQueueItemWorkQueueEx
mov ecx, dword [esp + 0xf4]
mov esi, dword [ecx + 0x44]
mov eax, dword [edi + 0x30]
sub eax, dword [ecx + 0x40]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0xf4]
mov ecx, dword [edi + 0x30]
mov dword [eax + 0x40], ecx
mov ecx, 1
mov edx, dword [esp + 0xf4]
movzx eax, byte [esp + 0x13]
cmp dword [edx + 0x44], esi
cmovne eax, ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x50]
mov dword [esp + 0xf8], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0x50]
push eax
call fcn.004dd960
mov edx, dword ds:[esp + 0xf4]
test eax, eax
js 0x4de14d
mov edi, dword [esp + 0x50]
mov ecx, edi
sub ecx, dword [edx + 0x48]
mov esi, dword [esp + 0x54]
mov eax, esi
sbb eax, dword [edx + 0x4c]
mov dword [edx + 0x50], ecx
mov dword [edx + 0x54], eax
mov eax, dword [esp + 0xf4]
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], esi
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf8]
cmp dword [edx + 0x50], eax
jne 0x4de148
mov eax, dword [esp + 0xfc]
cmp dword [edx + 0x54], eax
je 0x4de14d
mov byte [esp + 0x18], 1
mov ecx, dword [edx + 0x10]
sub ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x14]
sbb eax, dword [edx + 0x24]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov edx, dword [esp + 0xf4]
mov ecx, dword [edx + 0x18]
sub ecx, dword [edx + 0x30]
mov eax, dword [edx + 0x1c]
sbb eax, dword [edx + 0x34]
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], eax
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
cmp byte [0x62db01], 0
je 0x4de4a5
cmp dword [ebx + 0x60], 0
mov edx, dword [esp + 0xf4]
je 0x4de270
cmp dword [edx + 0x7c], 0
jne 0x4de270
mov eax, dword [edx + 0x38]
add eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x3c]
adc ecx, dword [edx + 0x2c]
mov dword [esp + 0x58], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [esp + 0x60], 0
and eax, 0x80000000
mov dword [esp + 0x5c], ecx
fild qword [esp + 0x58]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], 0
fild qword [esp + 0x60]
fchs
faddp st(1)
fstp dword [esp + 0xf8]
fld dword [esp + 0xf8]
mov eax, dword [0x636dd8]
add eax, dword [0x636e38]
mov ecx, dword [0x636ddc]
adc ecx, dword [0x636e3c]
add eax, dword [0x636e48]
mov dword [esp + 0x68], eax
adc ecx, dword [0x636e4c]
mov eax, ecx
and ecx, 0x7fffffff
mov dword [esp + 0x6c], ecx
and eax, 0x80000000
fild qword [esp + 0x68]
mov dword [esp + 0x74], eax
fild qword [esp + 0x70]
fchs
faddp st(1)
fstp dword [esp + 0xf8]
fdiv dword [esp + 0xf8]
jmp 0x4de312
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
mov dword [esp + 0x78], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [esp + 0x80], 0
and eax, 0x80000000
mov dword [esp + 0x7c], ecx
fild qword [esp + 0x78]
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], 0
fild qword [esp + 0x80]
fchs
faddp st(1)
fstp dword [esp + 0xf8]
fld dword [esp + 0xf8]
mov eax, dword [0x633cb0]
mov ecx, dword [0x633cb4]
mov dword [esp + 0x88], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [esp + 0x8c], ecx
fild qword [esp + 0x88]
mov dword [esp + 0x94], eax
fild qword [esp + 0x90]
fchs
faddp st(1)
fstp dword [esp + 0xf8]
fdiv dword [esp + 0xf8]
mov edx, dword [esp + 0xf4]
fstp dword [esp + 0xf8]
mov dword [esp + 0xa0], 0
movss xmm0, dword [esp + 0xf8]
mov ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x28]
mov esi, dword [edx + 0x2c]
add eax, ecx
mov edi, dword [edx + 0x3c]
mov dword [esp + 0xc], ecx
mov ecx, esi
adc ecx, edi
mov dword [esp + 0x98], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [esp + 0x9c], ecx
fild qword [esp + 0x98]
mov dword [esp + 0xa4], eax
fild qword [esp + 0xa0]
fchs
faddp st(1)
fstp dword [esp + 0xfc]
fld dword [esp + 0x2c]
fld dword [esp + 0xfc]
fucomi st(1)
fstp st(1)
lahf
test ah, 0x44
jnp 0x4de455
mov eax, dword [edx + 0x28]
fld dword [esp + 0xf8]
mov dword [esp + 0xa8], eax
mov eax, esi
and esi, 0x7fffffff
mov dword [esp + 0xb0], 0
and eax, 0x80000000
mov dword [esp + 0xac], esi
fild qword [esp + 0xa8]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb8], eax
mov eax, edi
fild qword [esp + 0xb0]
and edi, 0x7fffffff
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], edi
and eax, 0x80000000
mov dword [esp + 0xc4], eax
fchs
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fdiv st(2)
fmul st(1)
fstp dword [esp + 0xfc]
fild qword [esp + 0xb8]
fild qword [esp + 0xc0]
fchs
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdivrp st(2)
fmulp st(1)
fstp dword [esp + 0xf8]
jmp 0x4de5cd
mov eax, dword [edx + 0x18]
fstp st(0)
or eax, dword [edx + 0x1c]
je 0x4de488
fld dword [esp + 0xf8]
fmul qword [esp + 0xe8]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fst dword [esp + 0xfc]
fstp dword [esp + 0xf8]
jmp 0x4de5d4
movss dword ds:[esp + 0xfc], xmm0
mov dword [esp + 0xf8], 0
jmp 0x4de5d4
mov eax, dword [0x636dd8]
add eax, dword [0x636e38]
mov ecx, dword [0x636ddc]
adc ecx, dword [0x636e3c]
add eax, dword [0x636e48]
mov dword [esp + 0xc8], eax
adc ecx, dword [0x636e4c]
mov eax, ecx
mov dword [esp + 0xd0], 0
and eax, 0x80000000
mov dword [esp + 0xe0], 0
and ecx, 0x7fffffff
mov dword [esp + 0xd4], eax
mov dword [esp + 0xcc], ecx
fild qword [esp + 0xc8]
mov dword [esp + 0x38], 0
fild qword [esp + 0xd0]
fchs
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 0xd8], ecx
and eax, 0x80000000
mov dword [esp + 0xdc], edx
fild qword [esp + 0xd8]
mov dword [esp + 0xe4], eax
fild qword [esp + 0xe0]
fchs
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv st(1)
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
and eax, 0x80000000
mov dword [esp + 0x3c], eax
fstp dword [esp + 0xfc]
fild qword [esp + 0x30]
fild qword [esp + 0x38]
fchs
faddp st(1)
fstp dword [esp + 0xc]
fdivr dword [esp + 0xc]
fstp dword [esp + 0xf8]
fld dword [esp + 0xf8]
fadd dword [esp + 0xfc]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
mov edx, dword [esp + 0xf4]
movss dword [edx + 0x58], xmm0
mov eax, dword [esp + 0xf4]
movss xmm0, dword [esp + 0xfc]
movss dword [eax + 0x5c], xmm0
mov eax, dword [esp + 0xf4]
movss xmm0, dword [esp + 0xf8]
movss dword [eax + 0x60], xmm0
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x7c]
mov edi, dword [eax + 0x78]
test ecx, ecx
je 0x4de649
push 0
push 0x1c
lea eax, [esp + 0x25c]
push eax
push 0
push ecx
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x4de642
mov ecx, dword ds:[esp + 0xf4]
mov eax, dword [esp + 0x26c]
mov dword [ecx + 0x78], eax
jmp 0x4de650
mov eax, dword [esp + 0xf4]
mov dword [eax + 0x78], 0x7fffffff
mov esi, dword [esp + 0xf4]
mov ecx, 1
mov eax, dword [esp + 0x18]
movzx eax, al
cmp dword [esi + 0x78], edi
mov edi, dword [esi]
cmovne eax, ecx
mov dword [esp + 0xf8], eax
test edi, edi
je 0x4de6e6
push 0x2c
lea eax, [esp + 0x278]
mov dword [esp + 0x274], 0x30
push 0
push eax
call fcn.00580ff0
mov bl, byte [esi + 0x9c]
lea eax, [esp + 0x27c]
add esp, 0xc
push eax
push edi
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
mov eax, dword [esp + 0xf4]
setne cl
mov byte [eax + 0x9c], cl
mov ecx, 1
mov esi, dword [esp + 0xf4]
mov eax, dword [esp + 0xf8]
movzx eax, al
cmp byte [esi + 0x9c], bl
mov ebx, dword [esp + 0x1c]
cmovne eax, ecx
mov byte [esp + 0xf8], al
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x4de715
cmp dword [0x635f50], 3
jl 0x4de715
push ecx
push 0x30
lea eax, [esi + 0x108]
mov edx, 0xc
push eax
call fcn.00524ac0
test eax, eax
jns 0x4de728
mov esi, dword [esp + 0xf4]
push 0x30
lea eax, [esi + 0x108]
push 0
push eax
call fcn.00580ff0
add esp, 0xc
cmp byte ds:[esp + 0xf8], 0
mov eax, dword [esp + 0xf4]
mov byte [eax + 0x9d], 0
je 0x4de752
push dword [esp + 0xf4]
lea eax, [ebx + 0x20]
push eax
call sym.SystemInformer.exe_PhInvokeCallback
mov ecx, dword [esp + 0xf4]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4de76c
call fcn.004fbe40
lea esi, [ebx + 4]
mov eax, dword ds:[esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x20]
jb 0x4ddd10
push 0
lea eax, [ebx + 0x40]
push eax
call sym.SystemInformer.exe_PhInvokeCallback
add dword [ebx + 0x80], 1
mov ecx, dword [esp + 0x3cc]
adc dword [ebx + 0x84], 0
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
mov ecx, esi
call sym.SystemInformer.exe_PhfReleaseFastLockShared
mov dword [esp + 0xf4], 0
mov eax, dword [0x633444]
push dword [0x633f58]
mov esi, dword [edi + 0x24]
add eax, 0x140
push eax
mov dword [esp + 0x100], 0
mov dword [0x633440], 0x140
call sym.SystemInformer.exe_PhCreateObject
mov edi, eax
push 0x13c
push 0
lea ecx, [edi + 4]
push ecx
call fcn.00580ff0
add esp, 0xc
mov dword [edi], esi
lea eax, [edi + 0x9e]
push 0xa
push eax
push esi
call fcn.00582eea
add esp, 0xc
lea eax, [edi + 0xb8]
push 0x10
push eax
push esi
call fcn.00582eea
add esp, 0xc
mov edx, edi
mov ecx, 6
push 0
call fcn.00423070
mov esi, dword [esp + 0x18]
mov dword [esp + 0xf4], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [eax + 0x40]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x40], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x64], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0x68], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi + 0x34]
mov dword [eax + 0x70], ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi + 0x38]
mov dword [eax + 0x74], ecx
cmp dword [ebx + 0x60], 0
mov edi, dword [esp + 0xf4]
lea ecx, [edi + 0x7c]
jne 0x4de8ed
movzx eax, word [0x633f8a]
cmp dword [edi], eax
jb 0x4de915
push dword [edi]
push 0x40
push ecx
call sym.SystemInformer.exe_PhOpenThread
test eax, eax
jns 0x4de90e
lfence
push dword [edi]
lea eax, [edi + 0x7c]
push 0x800
push eax
call sym.SystemInformer.exe_PhOpenThread
mov edi, dword [esp + 0xf4]
lea eax, ds:[esp + 0x40]
mov edx, edi
push eax
mov ecx, ebx
call fcn.004dd960
test eax, eax
js 0x4de959
mov edx, dword [esp + 0xf4]
mov edi, dword [esp + 0x40]
mov ecx, edi
mov esi, dword [esp + 0x44]
mov eax, esi
sub ecx, dword [edx + 0x48]
sbb eax, dword [edx + 0x4c]
mov dword [edx + 0x50], ecx
mov dword [edx + 0x54], eax
mov eax, dword [esp + 0xf4]
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], esi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xf4]
mov ecx, dword [edx + 0x10]
sub ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x14]
sbb eax, dword [edx + 0x24]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov edx, dword [esp + 0xf4]
mov ecx, dword [edx + 0x18]
sub ecx, dword [edx + 0x30]
mov eax, dword [edx + 0x1c]
sbb eax, dword [edx + 0x34]
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], eax
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
mov ecx, dword [esp + 0xf4]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x4de9db
push 0
push 4
lea ecx, [esp + 0x100]
push ecx
push 9
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf8]
test eax, eax
jne 0x4de9f0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xf8], eax
mov dword [ecx + 0x88], eax
mov dword [ecx + 0x8c], 0
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4dea44
push 0
push 0x1c
lea eax, [esp + 0x25c]
push eax
push 0
push ecx
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x4dea3d
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0x26c]
mov dword [ecx + 0x78], eax
jmp 0x4dea4b
mov eax, dword [esp + 0xf4]
mov dword [eax + 0x78], 0x7fffffff
mov eax, dword [ebx + 0x88]
or eax, dword [ebx + 0x8c]
je 0x4dea86
mov eax, dword [esp + 0xf4]
mov ecx, ebx
push dword [eax + 0x8c]
lea edx, [eax + 0x98]
push dword [eax + 0x88]
call fcn.004dd820
mov ecx, dword [esp + 0xf4]
mov dword [ecx + 0x90], eax
mov eax, dword [esp + 0xf4]
cmp dword [eax + 0x90], 0
jne 0x4deb16
push 0
mov dword [eax + 0x98], 2
lea eax, [esp + 0x4c]
push 0
push eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0x30
call sym.SystemInformer.exe_PhCreateString3
mov ecx, dword [esp + 0xf4]
push 0x10
mov dword [ecx + 0x90], eax
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
mov dword [eax], 0x780030
add eax, 4
push eax
push ecx
call fcn.00582eea
mov eax, dword [esp + 0x100]
add esp, 0xc
mov esi, dword [eax + 0x90]
push dword [esi + 4]
call sym.SystemInformer.exe_PhCountStringZ
add eax, eax
mov dword [esi], eax
mov eax, dword ds:[esp + 0xf4]
mov esi, dword [eax]
test esi, esi
je 0x4deb64
push 0x30
lea eax, [esp + 0x2a4]
push 0
push eax
call fcn.00580ff0
add esp, 0xc
mov dword [esp + 0x2a0], 0x30
lea eax, [esp + 0x2a0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
mov eax, dword [esp + 0xf4]
setne cl
mov byte [eax + 0x9c], cl
cmp dword [0x62dbb0], 0x71
jb 0x4debd6
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4debd6
cmp dword [0x635f50], 3
jl 0x4debd6
push ecx
push 4
lea eax, [esp + 0x24c]
mov edx, 0xd
push eax
call fcn.00524ac0
lea ecx, [ecx]
test eax, eax
js 0x4debd6
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0x244]
push 0xa
mov dword [ecx + 0x138], eax
mov eax, dword [esp + 0xf8]
add eax, 0xea
push eax
push dword [esp + 0x24c]
call fcn.00582eea
add esp, 0xc
cmp dword [0x62dbb0], 0x73
lea ecx, [ecx]
jb 0x4dec54
mov eax, dword [esp + 0xf4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4dec54
push 0
push 0xc
lea ecx, [esp + 0x250]
mov dword [esp + 0x250], 1
push ecx
push 0x31
push eax
mov dword [esp + 0x260], 0
mov dword [esp + 0x264], 0
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x4dec54
test byte [esp + 0x24c], 1
je 0x4dec54
test byte [esp + 0x250], 1
je 0x4dec54
mov eax, dword [esp + 0xf4]
mov byte [eax + 0x13c], 1
mov edi, dword [esp + 0xf4]
push 0x28
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], ebx
lock inc dword [ebx - 4]
mov dword [esi + 8], edi
test edi, edi
je 0x4dec9b
lock inc dword [edi - 4]
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x84]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
test byte [0x62db18], 1
jne 0x4decf9
mov edi, 0x62db18
lock bts dword [edi], 0x1f
setb al
test al, al
jne 0x4dece7
push 0x3e8
push 1
push 0
push 0x6369c0
call sym.SystemInformer.exe_PhInitializeWorkQueue
mov ecx, edi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x4decf9
test byte [0x62db18], 1
jne 0x4decf9
xor edx, edx
mov ecx, edi
call sym.SystemInformer.exe_PhfWaitForEvent
push 0
push 0
push esi
push 0x4dd5a0
push 0x6369c0
call sym.SystemInformer.exe_PhQueueItemWorkQueueEx
lea esi, [ebx + 4]
mov ecx, esi
call sym.SystemInformer.exe_PhfAcquireFastLockExclusive
lea eax, [esp + 0xf4]
push eax
push dword [ebx]
call sym.SystemInformer.exe_PhAddEntryHashtable
mov ecx, esi
call sym.SystemInformer.exe_PhfReleaseFastLockExclusive
push dword [esp + 0xf4]
lea eax, [ebx + 0x10]
push eax
call sym.SystemInformer.exe_PhInvokeCallback
lea ecx, [ecx]
jmp 0x4de76f