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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x298
mov eax, dword [ebp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x54], edx
movzx ecx, word [eax + 0x38]
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x38], ebx
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x5c]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx]
mov dword [esp + 0x48], eax
mov esi, dword [ecx]
cmp dword [esi + 0xc], 0
je 0x532cc6
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x18]
call sym.core::hash::BuildHasher::hash_one::h75eb1d820a0f5b1f
add esp, 0xc
mov ecx, eax
mov edi, dword [esi]
mov edx, dword [esi + 4]
pcmpeqd xmm1, xmm1
mov dword [esp + 0x2c], 0
shr ecx, 0x19
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
lea esi, [edi - 0xe8]
mov dword [esp + 0x30], edi
pshufd xmm0, xmm0, 0
and eax, edx
movdqa xmm3, xmm0
movdqu xmm2, xmmword [edi + eax]
pcmpeqb xmm3, xmm2
pmovmskb ebx, xmm3
nop dword [eax]
test bx, bx
je 0x532bd0
lea edi, [ebx - 1]
tzcnt ecx, ebx
add ecx, eax
and edi, ebx
mov ebx, dword [esp + 0x38]
and ecx, edx
neg ecx
imul ecx, ecx, 0xe8
cmp dword [esi + ecx], ebx
mov ebx, edi
jne 0x532ba0
jmp 0x532bf9
mov ebx, dword [esp + 0x38]
pcmpeqb xmm2, xmm1
pmovmskb ecx, xmm2
test ecx, ecx
jne 0x532cc6
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
lea eax, [eax + ecx + 0x10]
add ecx, 0x10
mov dword [esp + 0x2c], ecx
jmp 0x532b8a
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
lea esi, [eax + ecx - 0xe0]
mov eax, dword [eax + ecx - 0xc]
test eax, eax
je 0x532c77
mov eax, dword [eax + 8]
lea ecx, [esp + 0x88]
mov dword [esp + 0x18], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x8c], 0
lea edx, [esp + 0x18]
push ecx
push ecx
push ecx
push edx
push eax
call sub.kernel32.dll_GetProcessTimes
push 0
push 0x989680
push dword [esp + 0x24]
push dword [esp + 0x24]
call sym.___udivdi3
add esp, 0x10
add eax, 0x49ef6f00
adc edx, 0xfffffffd
xor eax, dword [esi + 0x70]
xor edx, dword [esi + 0x74]
or edx, eax
jne 0x532cc6
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
movlhps xmm1, xmm0
movups xmmword [esi + 0x40], xmm1
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
movzx edx, byte [ecx + 2]
movzx edi, word [ecx]
mov ecx, esi
shl edx, 0x10
or edx, edi
mov edi, dword [ebx + 0xc]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
call sym.sysinfo::windows::process::Process::update::h2cdd538b43775816
add esp, 0x10
mov eax, dword [esp + 0x6c]
mov dword [eax], 2
jmp 0x5336eb
mov ecx, dword [esp + 4]
mov dword [esp + 0xc], ebx
test ecx, ecx
je 0x532fb1
mov eax, dword [esp + 0x34]
mov word [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
lea edx, [esp + 0x88]
and eax, 0xfffffffe
add eax, ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x90], eax
call sym.__ZN95__LT_alloc..string..String_u20_as_u20_core..iter..traits..collect..FromIterator_LT_char_GT__GT_9from_iter17h9bcbc6b248dc
xor eax, eax
cmp dword [esp + 0x50], 0
setne al
test ebx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
je 0x532ddc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], ecx
movzx esi, word [eax]
movzx edi, byte [eax + 2]
push ebx
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
test eax, eax
jne 0x532d70
push ebx
push 0
push 0x1000
call sub.kernel32.dll_OpenProcess
test eax, eax
je 0x532ddc
shl edi, 0x10
or esi, edi
lea edi, [esp + 0x88]
mov dword [esp + 8], esi
push 0x20a
push 0
push edi
mov esi, eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x105
push edi
push 0
mov dword [esp + 0x70], esi
push esi
call sub.psapi.dll_GetModuleFileNameExW
xor eax, eax
nop word cs:[eax + eax]
cmp word [esp + eax*2 + 0x88], 0
je 0x53301b
inc eax
cmp eax, 0x105
jne 0x532db0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x88]
push 0x105
jmp 0x533027
mov eax, dword [esp + 0x60]
movq xmm0, qword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0x130], eax
movq qword [esp + 0x128], xmm0
mov dword [esp + 0x134], 4
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x98], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 1
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], 0
mov dword [esp + 0x140], 4
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov byte [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov byte [esp + 0xc4], 1
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xd4], 0
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], 1
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
jmp 0x533643
test ebx, ebx
je 0x53329b
cmp ebx, 4
jne 0x5332ee
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x532fe4
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x53370b
mov dword [0x5da100], eax
push 6
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x53370b
mov word [eax + 4], 0x6d65
mov dword [eax], 0x74737953
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 6
mov dword [esp + 0x60], 6
jmp 0x532d07
lea ecx, [esp + 0x18]
lea edx, [esp + 0x88]
push eax
call dbg.from_wide
add esp, 4
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xc]
mov edx, edi
push dword [esp + 0x20]
call dbg.to_string_lossy
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5330c3
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 4], ecx
cmp dword [esp + 0x1c], 0
je 0x533072
push edi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 4], 0
je 0x53311e
js 0x533704
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x5330a1
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x5330b3
mov dword [0x5da100], eax
push dword [esp + 4]
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x533123
mov edx, dword [esp + 4]
mov ecx, 1
call dbg.handle_alloc_error
ud2
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test esi, esi
je 0x53334a
js 0x533704
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
mov dword [esp + 4], ecx
test eax, eax
jne 0x5330fb
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x533110
mov dword [0x5da100], eax
push esi
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov ecx, dword [esp + 4]
test eax, eax
jne 0x53334f
mov ecx, 1
mov edx, esi
call dbg.handle_alloc_error
ud2
mov edi, 1
mov dword [esp + 0x80], esi
mov esi, dword [esp + 4]
push esi
push dword [esp + 0x2c]
push edi
call sym._memcpy
add esp, 0xc
mov ecx, edi
mov edx, esi
call dbg.parent
cmp esi, edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x18], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x8c], 0
cmovb edx, esi
test eax, eax
lea eax, [esp + 0x18]
cmove edx, esi
mov dword [esp + 0x7c], edx
push ecx
push ecx
push ecx
push eax
mov esi, dword [esp + 0x74]
push esi
call sub.kernel32.dll_GetProcessTimes
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
and eax, 0xffffff
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
cmp eax, 0x10000
jae 0x5331bf
mov dword [esp + 8], 0
jmp 0x533391
lea eax, [esp + 0x3c]
mov dword [esp + 8], 0
mov dword [esp + 0x3c], 0
push eax
push 8
push esi
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x533391
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x533391
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 1
push esi
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x53321b
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x53338b
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x44], esi
call sub.kernel32.dll_GetProcessHeap
push ebx
mov esi, dword [esp + 0x48]
push 8
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x53338b
lea ecx, [esp + 0xc]
push ecx
push dword [esp + 0x10]
push eax
push 1
push esi
mov dword [esp + 0x54], eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x53337a
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x88]
mov edx, dword [eax]
call sym.sysinfo::windows::sid::Sid::from_psid::h9e273a1a3c08dbf9
mov eax, dword [esp + 0x88]
test eax, eax
je 0x533372
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x53337a
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x5332bd
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x53371c
mov dword [0x5da100], eax
push 4
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x53371c
mov dword [eax], 0x656c6449
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 4
mov dword [esp + 0x60], 4
jmp 0x532d07
lea ecx, [esp + 0x18]
lea eax, [esp + 0xc]
mov dword [esp + 0x88], 0x5bd564
mov dword [esp + 0x8c], 1
mov dword [esp + 0x98], 0
lea edx, [esp + 0x88]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], sym.__LT_sysinfo..common..Pid_u20_as_u20_core..fmt..Display_GT_::fmt::hd6360876212ce88e
mov dword [esp + 0x94], 1
call dbg.format_inner
jmp 0x532d07
mov eax, 1
push esi
push ecx
mov dword [esp + 0x30], eax
push eax
call sym._memcpy
add esp, 0xc
mov dword [esp + 4], esi
cmp dword [esp + 0x1c], 0
jne 0x533064
jmp 0x533072
mov dword [esp + 8], 0
call sub.kernel32.dll_GetProcessHeap
push dword [esp + 0x40]
push 0
push eax
call sub.kernel32.dll_HeapFree
push esi
call sub.kernel32.dll_CloseHandle
mov dword [esp + 0x44], edi
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x5333b7
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x5336f3
mov dword [0x5da100], eax
push 0xc
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x5336f3
mov esi, eax
push 0
push 0x989680
push dword [esp + 0x7c]
push dword [esp + 0x84]
call sym.___udivdi3
add esp, 0x10
add eax, 0x49ef6f00
mov ecx, dword [esp + 0x84]
mov dword [esi], 1
mov dword [esi + 4], 1
mov edi, dword [esp + 8]
adc edx, 0xfffffffd
cmp dword [esp + 0x68], eax
mov ebx, ecx
sbb ebx, edx
mov ebx, dword [esp + 0x64]
mov dword [esi + 8], ebx
mov dword [esp + 0x150], edi
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
movq xmm0, qword [esp + 0x58]
mov dword [esp + 0x158], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x154], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x9c], ebx
movzx ebx, word [esp + 0x71]
mov dword [esp + 0xa0], edi
mov byte [esp + 0xa4], 1
mov word [esp + 0xa5], bx
movzx ebx, byte [esp + 0x73]
mov byte [esp + 0xa7], bl
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edi
mov edi, dword [esp + 0x7c]
movzx ebx, byte [esp + 0x3e]
mov dword [esp + 0xc0], edi
movzx edi, word [esp + 0x3c]
mov byte [esp + 0xc4], 1
mov byte [esp + 0xc7], bl
movzx ebx, byte [esp + 0xe]
mov word [esp + 0xc5], di
mov edi, dword [esp + 0x60]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
movq qword [esp + 0x128], xmm0
mov dword [esp + 0x130], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x134], 4
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x14c], edi
movzx edi, word [esp + 0xc]
mov dword [esp + 0x140], 4
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov byte [esp + 0xb4], 1
mov byte [esp + 0xb7], bl
mov ebx, dword [esp + 0x68]
mov word [esp + 0xb5], di
mov edi, dword [esp + 0x48]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x8c], edi
mov edi, 0
mov dword [esp + 0x90], 1
mov dword [esp + 0x15c], esi
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf8], eax
cmovb edx, edi
cmovae edi, eax
sub ebx, edi
sbb ecx, edx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x160], 0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x164], 1
mov dword [esp + 0x10c], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
mov edi, dword [esp + 0x30]
lea esi, [esp + 0x88]
movzx edx, byte [ecx + 2]
movzx eax, word [ecx]
mov ecx, esi
shl edx, 0x10
or edx, eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
call sym.sysinfo::windows::process::Process::update::h2cdd538b43775816
add esp, 0x10
push 0xe0
push esi
push dword [esp + 0x74]
call sym._memcpy
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 0xc
call dbg.handle_alloc_error
ud2
call sym.alloc::raw_vec::capacity_overflow::h894971bc65aab54c
ud2
mov ecx, 1
mov edx, 6
call dbg.handle_alloc_error
ud2
mov ecx, 1
mov edx, 4
call dbg.handle_alloc_error
ud2