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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x130], eax
test dword [0x6333d8], 0x200000
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x20], esi
fld dword [edi + 0x120]
fld qword [0x61d458]
fst qword [esp + 0xe0]
fmul st(1), st(0)
fxch st(1)
fstp dword [esi + 0x8c]
fld dword [edi + 0x128]
fmul st(1)
fstp dword [esi + 0x9c]
fld dword [edi + 0x124]
fmul st(1)
fstp dword [esi + 0xac]
je 0x4ae599
movss xmm0, dword [edi + 0x12c]
mov eax, edx
jmp 0x4ae649
xor ecx, ecx
mov dword [esp + 0x1c], 0
xorps xmm0, xmm0
cmp dword [edi + 0x258], ecx
je 0x4ae647
mov ebx, dword [edi + 0x25c]
fstp st(0)
fld dword [esp + 0x1c]
mov esi, dword [edi + 0x260]
mov edx, dword [edi + 0x274]
lea eax, [ecx + ebx]
and eax, dword [edi + 0x254]
fld dword [esi + eax*4]
mov eax, dword [edi + 0x270]
add eax, ecx
inc ecx
and eax, dword [edi + 0x268]
fstp dword [esp + 0x1c]
fld dword [edx + eax*4]
mov edx, dword [edi + 0x258]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fadd dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x24]
cmp ecx, edx
jb 0x4ae5c4
mov dword ds:[esp + 0x28], edx
fstp st(0)
fld dword [esp + 0x24]
fild dword [esp + 0x28]
test edx, edx
jns 0x4ae62a
fadd dword [0x61d4d4]
fstp dword [esp + 0x24]
fdiv dword [esp + 0x24]
mov esi, dword [esp + 0x20]
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
fld qword [esp + 0xe0]
mov eax, esi
movss dword [esp + 0x1c], xmm0
mov ecx, 0xbc
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [eax + ecx]
movzx eax, word [0x6336ae]
fmul dword [edi + 0x120]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp qword [esp + 0x28]
fmul qword [esp + 0x28]
fstp dword [esi + 0xcc]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4ae6c2
push 0
push 0x10
lea ecx, [esp + 0x130]
push ecx
push 0x26
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
lea esp, [esp]
test eax, eax
js 0x4ae6c2
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
mov dword [esi + 0xe0], eax
mov al, 1
mov dword [esi + 0xe4], ecx
jmp 0x4ae6d8
mov dword [esi + 0xe0], 0
xor al, al
mov dword [esi + 0xe4], 0
mov edx, 0x2c
mov ecx, esi
mov byte [edx + ecx], al
mov edx, esi
mov eax, dword [edi + 0x1d8]
mov ecx, dword [edi + 0x1dc]
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], ecx
mov eax, dword [edi + 0x300]
mov ecx, dword [edi + 0x304]
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], ecx
mov eax, dword [edi + 0x1b8]
mov ecx, dword [edi + 0x1bc]
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], ecx
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x10c]
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], ecx
mov eax, dword [edi + 0x138]
mov ecx, dword [edi + 0x13c]
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], ecx
mov eax, dword [edi + 0x110]
mov ecx, dword [edi + 0x114]
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x1a4], ecx
mov eax, dword [edi + 0x148]
mov ecx, dword [edi + 0x14c]
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1c4], ecx
call fcn.004ade40
cmp dword [edi + 0x10], 0
jl 0x4aefdd
mov eax, dword [edi + 0x30]
or ebx, 0xffffffff
test eax, eax
je 0x4aed76
push 0
push 8
lea ecx, [esp + 0xf0]
push ecx
push 0x14
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov edi, edi
test eax, eax
js 0x4ae818
mov ecx, dword [esi + 0x38]
mov eax, dword [esp + 0xec]
cmp eax, ecx
jbe 0x4ae7d7
mov dword [esi + 0x38], eax
mov ecx, eax
push 0
push 1
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0x10009
push eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x6c], eax
test ecx, ecx
je 0x4ae818
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ae818
call fcn.004fbfa0
push 0
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetGuiResources]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4ae848
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
lea ebx, [ebx]
test eax, eax
js 0x4ae94b
push 0
push 0xfffffffffffffffe
call dword [sym.imp.USER32.dll_GetGuiResources]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4ae87e
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ecx, dword [esp + 0x1c]
test eax, eax
mov eax, 1
cmovs ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
push 0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x7c]
push 1
push eax
mov dword [esp + 0x84], 0x10009
mov dword [esp + 0x98], 0
call sym.SystemInformer.exe_PhFormat
mov dword [esp + 0x28], eax
test eax, eax
je 0x4ae8ba
mov ecx, dword [eax + 4]
jmp 0x4ae8bc
xor ecx, ecx
mov eax, dword [esp + 0x24]
fild dword [esp + 0x24]
test eax, eax
jns 0x4ae8ce
fadd dword [0x61d4d4]
mov eax, dword ds:[esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fild dword [esp + 0x1c]
test eax, eax
jns 0x4ae8ea
fadd dword [0x61d4d4]
fstp dword [esp + 0x20]
fdiv dword [esp + 0x20]
sub esp, 8
fmul qword [esp + 0xe8]
fstp qword [esp]
push ecx
push 0x60ef88
call sym.SystemInformer.exe_PhFormatString
mov dword [esp + 0x30], eax
add esp, 0x10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ae92b
lea ecx, [eax - 8]
mov edx, ebx
lock xadd dword [ecx + 4], edx
dec edx
jne 0x4ae92b
call fcn.004fbfa0
mov ecx, dword [esi + 0x70]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x70], eax
test ecx, ecx
je 0x4ae94b
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ae94b
call fcn.004fbfa0
push 1
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetGuiResources]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4ae974
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
test eax, eax
js 0x4aea76
push 1
push 0xfffffffffffffffe
call dword [sym.imp.USER32.dll_GetGuiResources]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4ae9a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ecx, dword [esp + 0x1c]
test eax, eax
mov eax, 1
cmovs ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
push 0
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x94]
push 1
push eax
mov dword [esp + 0x9c], 0x10009
mov dword [esp + 0xb0], 0
call sym.SystemInformer.exe_PhFormat
mov dword [esp + 0x20], eax
test eax, eax
je 0x4ae9e3
mov ecx, dword [eax + 4]
jmp 0x4ae9e5
xor ecx, ecx
mov eax, dword [esp + 0x24]
fild dword [esp + 0x24]
test eax, eax
jns 0x4ae9f7
fadd dword [0x61d4d4]
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fild dword [esp + 0x1c]
test eax, eax
jns 0x4aea11
fadd dword [0x61d4d4]
fstp dword [esp + 0x28]
fdiv dword [esp + 0x28]
sub esp, 8
fmul qword [esp + 0xe8]
fstp qword [esp]
push ecx
push 0x60ef88
call sym.SystemInformer.exe_PhFormatString
mov dword ds:[esp + 0x38], eax
add esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4aea56
lea ecx, [eax - 8]
mov edx, ebx
lock xadd dword [ecx + 4], edx
dec edx
jne 0x4aea56
call fcn.004fbfa0
mov ecx, dword [esi + 0x74]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x74], eax
test ecx, ecx
je 0x4aea76
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aea76
call fcn.004fbfa0
push 2
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetGuiResources]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4aeaa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
lea ebx, [ebx]
test eax, eax
js 0x4aebac
push 2
push 0xfffffffffffffffe
call dword [sym.imp.USER32.dll_GetGuiResources]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4aeade
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ecx, dword [esp + 0x1c]
test eax, eax
mov eax, 1
cmovs ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
push 0
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xac]
push 1
push eax
mov dword [esp + 0xb4], 0x10009
mov dword [esp + 0xc8], 0
call sym.SystemInformer.exe_PhFormat
mov dword [esp + 0x20], eax
test eax, eax
je 0x4aeb1d
mov ecx, dword [eax + 4]
jmp 0x4aeb1f
xor ecx, ecx
mov eax, dword [esp + 0x24]
fild dword [esp + 0x24]
test eax, eax
jns 0x4aeb31
fadd dword [0x61d4d4]
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fild dword [esp + 0x1c]
test eax, eax
jns 0x4aeb4b
fadd dword [0x61d4d4]
fstp dword [esp + 0x28]
fdiv dword [esp + 0x28]
sub esp, 8
fmul qword [esp + 0xe8]
fstp qword [esp]
push ecx
push 0x60ef88
call sym.SystemInformer.exe_PhFormatString
mov dword [esp + 0x38], eax
add esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4aeb8c
lea ecx, [eax - 8]
mov edx, ebx
lock xadd dword [ecx + 4], edx
dec edx
jne 0x4aeb8c
call fcn.004fbfa0
mov ecx, dword [esi + 0x78]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x78], eax
test ecx, ecx
je 0x4aebac
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aebac
call fcn.004fbfa0
push 4
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetGuiResources]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4aebd4
nop
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
test eax, eax
js 0x4aecd6
push 4
push 0xfffffffffffffffe
call dword [sym.imp.USER32.dll_GetGuiResources]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4aec04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ecx, dword [esp + 0x1c]
test eax, eax
mov eax, 1
cmovs ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
push 0
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xc4]
push 1
push eax
mov dword [esp + 0xcc], 0x10009
mov dword [esp + 0xe0], 0
call sym.SystemInformer.exe_PhFormat
mov dword [esp + 0x20], eax
test eax, eax
je 0x4aec43
mov ecx, dword [eax + 4]
jmp 0x4aec45
xor ecx, ecx
mov eax, dword [esp + 0x24]
fild dword [esp + 0x24]
test eax, eax
jns 0x4aec57
fadd dword [0x61d4d4]
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fild dword [esp + 0x1c]
test eax, eax
jns 0x4aec71
fadd dword [0x61d4d4]
fstp dword [esp + 0x28]
fdiv dword [esp + 0x28]
sub esp, 8
fmul qword [esp + 0xe8]
fstp qword [esp]
push ecx
push 0x60ef88
call sym.SystemInformer.exe_PhFormatString
mov dword ds:[esp + 0x38], eax
add esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4aecb6
lea ecx, [eax - 8]
mov edx, ebx
lock xadd dword [ecx + 4], edx
dec edx
jne 0x4aecb6
call fcn.004fbfa0
mov ecx, dword [esi + 0x7c]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x7c], eax
test ecx, ecx
je 0x4aecd6
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aecd6
call fcn.004fbfa0
push 0
push 4
lea eax, [esp + 0xe4]
push eax
push 0x27
push dword [edi + 0x30]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x4aecfb
mov eax, dword [esp + 0xdc]
mov dword [esi + 0x30], eax
push 0
push 4
lea eax, [esi + 0x34]
push eax
push 0x21
push dword [edi + 0x30]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
cmp dword [0x62dbb0], 0x68
jb 0x4aed76
push 0
push 0x38
lea eax, [esp + 0xf8]
push eax
push 0x58
push dword [edi + 0x30]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x4aed76
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0x110]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x118]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x120]
mov dword [esi + 0x50], eax
mov eax, ecx
and eax, 0xf
shr ecx, 4
and ecx, 0xf
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
mov byte [esi + 0x2e], 1
mov eax, dword ds:[esi + 0x24]
test eax, eax
je 0x4aefdd
lea ecx, [esp + 0x50]
push ecx
push eax
call sym.SystemInformer.exe_PhGetProcessWsCounters
mov dword ds:[esp + 0x30], 0x10c
push 0
push 1
test eax, eax
js 0x4aee75
mov eax, dword [esp + 0x5c]
mov ecx, 0x1000
mul ecx
mov cl, byte [0x631938]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x46], cl
mov dword [esp + 0x50], edx
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x60], eax
test ecx, ecx
je 0x4aedeb
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aedeb
call fcn.004fbfa0
mov eax, dword [esp + 0x5c]
mov ecx, 0x1000
mul ecx
mov cl, byte [0x631938]
push 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push 1
push eax
mov dword [esp + 0x3c], 0x10c
mov byte [esp + 0x46], cl
mov dword [esp + 0x50], edx
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x64], eax
test ecx, ecx
je 0x4aee3a
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aee3a
call fcn.004fbfa0
mov eax, dword [esp + 0x58]
mov ecx, 0x1000
mul ecx
mov cl, byte [0x631938]
push 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push 1
push eax
mov dword [esp + 0x3c], 0x10c
mov byte [esp + 0x46], cl
mov dword [esp + 0x50], edx
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x68], eax
jmp 0x4aeea0
mov al, byte [0x631938]
mov ecx, dword [edi + 0x240]
mov byte [esp + 0x42], al
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x60], eax
test ecx, ecx
je 0x4aeeb6
mov eax, ebx
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aeeb6
call fcn.004fbfa0
push 0
push 0x28
lea eax, [esp + 0xf8]
push eax
push 0x45
push dword [esi + 0x24]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x4aefdd
mov al, byte [0x631938]
mov ecx, dword [esp + 0xf4]
mov byte [esp + 0x3a], al
mov eax, dword [esp + 0xf0]
push 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push 1
push eax
mov dword [esp + 0x3c], 0x10c
mov dword [esp + 0x50], ecx
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x80], eax
test ecx, ecx
je 0x4aef2c
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aef2c
call fcn.004fbfa0
mov al, byte [0x631938]
mov ecx, dword ds:[esp + 0xfc]
mov byte [esp + 0x3a], al
mov eax, dword [esp + 0xf8]
push 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push 1
push eax
mov dword [esp + 0x3c], 0x10c
mov dword [esp + 0x50], ecx
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x84], eax
test ecx, ecx
je 0x4aef88
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aef88
call fcn.004fbfa0
mov al, byte [0x631938]
mov ecx, dword [esp + 0x104]
mov byte [esp + 0x3a], al
mov eax, dword [esp + 0x100]
push 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push 1
push eax
mov dword [esp + 0x3c], 0x10c
mov dword [esp + 0x50], ecx
call sym.SystemInformer.exe_PhFormat
mov ecx, dword [esi + 0x88]
mov dword [esi + 0x88], eax
test ecx, ecx
je 0x4aefdd
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x4aefdd
call fcn.004fbfa0
cmp dword [0x62dbb0], 0x68
jb 0x4af086
cmp byte [0x633c38], 0
jne 0x4af029
push 0
push 4
lea eax, [esp + 0x50]
push eax
push 0x1a
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x4af016
cmp dword [esp + 0x48], 0
setne byte [0x633c37]
xor ecx, ecx
lea eax, [esp + 0xe0]
lock or dword [eax], ecx
mov byte [0x633c38], 1
cmp byte [0x633c37], 0
jne 0x4af086
push 5
lea eax, [esp + 0x50]
push eax
call sym.SystemInformer.exe_PhEnumProcessesEx
mov edi, edi
test eax, eax
js 0x4af086
push dword [edi + 0x10]
mov edi, dword [esp + 0x50]
push edi
call sym.SystemInformer.exe_PhFindProcessInformation
test eax, eax
je 0x4af077
mov ecx, dword [eax + 4]
shl ecx, 6
add ecx, 0xb8
add ecx, eax
je 0x4af077
mov eax, dword [ecx + 0x98]
mov ecx, dword [ecx + 0x9c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
push edi
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [esi + 0x1c]
push 0x7fffffff
push 0
push 0x1015
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret