Function at 0x4672b0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d9fd
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x58a700]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x58a700]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edx, ecx
mov dword [esp + 0x10], edx
mov eax, dword [edx + 0x704]
xor edi, edi
mov ecx, edi
mov ebx, edi
mov dword [esp + 0x14], ecx
mov esi, dword [eax]
cmp eax, esi
je 0x467809
mov eax, dword [ebp + 8]
cmp dword [esi + 0x21c], eax
jne 0x4677fb
inc ebx
cmp dword [esi + 0xf8], 3
mov dword [esp + 0x28], ebx
jne 0x4677c8
cmp dword [esi + 0x210], edi
jne 0x4677c8
cmp dword [0x5912bc], 0
je 0x467365
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeMgr_InstallTask_pid:__d
push 3
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x14
cmp dword [esi + 0x104], edi
jne 0x4674c4
lea edx, [esi + 0xc]
lea ecx, [esp + 0x34]
call fcn.0047ed72
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x144], edi
push eax
call fcn.0046f26a
push edi
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x148], 2
call fcn.0044e987
push dword [esi + 0x21c]
lea eax, [esp + 0x68]
push eax
call fcn.0046f34b
mov byte [esp + 0x140], 3
mov edi, dword [esi + 0xe0]
sub edi, dword [esi + 0xd8]
mov eax, dword [esi + 0xe4]
sbb eax, dword [esi + 0xdc]
js 0x4673f6
jg 0x4673db
test edi, edi
je 0x4673f6
push eax
push edi
push dword [esi + 0xc4]
push dword [esi + 0xc0]
call fcn.00509340
mov ebx, eax
mov dword [esp + 0x20], edx
jmp 0x467403
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov ebx, dword [esp + 0x1c]
push 0x561d34
lea ecx, [esp + 0x38]
call fcn.0044e95a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push 0
push edi
push ebx
mov byte [esp + 0x14c], 4
mov al, byte [eax + 0x73c]
movzx eax, al
push ecx
push eax
mov eax, dword [esi + 0x100]
inc eax
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0045da00
mov ecx, eax
call fcn.0045e57c
xor edi, edi
mov byte [esp + 0x140], 3
xor ebx, ebx
lea ecx, [esp + 0x34]
push edi
inc ebx
push ebx
call fcn.0044e987
push 0x561d3c
lea ecx, [esp + 0x38]
call fcn.0044e95a
push edi
push edi
push edi
push ebx
lea eax, [esp + 0x44]
mov byte [esp + 0x150], 5
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0045da00
mov ecx, eax
call fcn.0045e80f
push edi
push ebx
lea ecx, [esp + 0x3c]
call fcn.0044e987
push edi
push ebx
lea ecx, [esp + 0x6c]
call fcn.0044e987
or dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x4c]
push edi
push ebx
call fcn.0044e987
jmp 0x4674c7
xor ebx, ebx
inc ebx
push edi
call fcn.00501b2e
mov dword [esi + 0x210], ebx
lea ebx, [esi + 8]
pop ecx
mov dword [esi + 0x204], edx
lea edi, [ebx + 0x17c]
mov edx, 0x561d44
mov dword [esi + 0x200], eax
mov ecx, edi
call fcn.00463db5
test al, al
jne 0x46751a
sub esp, 0x18
mov ecx, esp
push edi
call fcn.0044f6bd
lea ecx, [ebx + 0x194]
cmp dword [ecx + 0x14], 8
jb 0x467512
mov ecx, dword [ecx]
call fcn.00482ed9
add esp, 0x18
lea edx, [ebx + 0x1c4]
cmp dword [edx + 0x14], 8
jb 0x467528
mov edx, dword [edx]
lea ecx, [ebx + 0x194]
cmp dword [ecx + 0x14], 8
jb 0x467536
mov ecx, dword [ecx]
push 0
push ecx
push ecx
call fcn.00486e9d
add esp, 0xc
mov dword [ebx + 0x20c], eax
cmp dword [0x5912bc], 0
je 0x46756e
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeMgr_InstallTask_res:__d
push 3
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x14
push 0
call fcn.00501b2e
mov edi, dword [esi + 0x214]
mov dword [esi + 0x208], eax
mov dword [esi + 0x20c], edx
mov dword [esp + 0x1c], edi
pop ecx
test edi, edi
jne 0x46759f
mov dword [esi + 0x210], 3
jmp 0x467685
xor eax, eax
push 0x7e
push eax
mov word [esp + 0xb4], ax
lea eax, [esp + 0xb6]
push eax
call fcn.00505190
add esp, 0xc
lea eax, [esp + 0xac]
push dword [ebx]
push str.install_err__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0xac]
lea ecx, [esp + 0x4c]
push eax
call fcn.00450c22
mov eax, edi
mov dword [esp + 0x140], 6
cdq
lea ecx, [esp + 0x34]
push edx
push eax
call fcn.00471408
pop ecx
pop ecx
xor edi, edi
mov byte [esp + 0x140], 7
push edi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00461985
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.00450f58
or dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x4c]
push edi
push 1
call fcn.00450f58
cmp dword [ebx], 0x2694
jne 0x467657
cmp dword [esi + 0x104], 1
jle 0x467657
mov dword [esi + 0x210], 3
mov dword [esp + 0x18], edi
jmp 0x467661
mov dword [esi + 0x210], 2
push dword [ebx]
mov ecx, dword [esp + 0x14]
call fcn.00470325
test al, al
jne 0x467685
lea eax, [esi + 0x19c]
cmp dword [eax + 0x14], 8
jb 0x46767e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x210], 3
jne 0x467765
push dword [ebx + 0x214]
lea eax, [esp + 0x98]
push eax
call fcn.0046f34b
mov dword [esp + 0x140], 8
mov edi, dword [esi + 0x208]
sub edi, dword [esi + 0x200]
mov eax, dword [esi + 0x20c]
sbb eax, dword [esi + 0x204]
js 0x4676e9
jg 0x4676d0
test edi, edi
je 0x4676e9
push eax
push edi
push dword [esi + 0xc4]
push dword [esi + 0xc0]
call fcn.00509340
mov dword [esp + 0x30], edx
jmp 0x4676f6
xorps xmm0, xmm0
movlpd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x2c]
push 0x561d90
lea ecx, [esp + 0x80]
mov dword [esp + 0x20], eax
call fcn.0044e95a
push dword [esp + 0x18]
mov byte [esp + 0x144], 9
mov eax, dword [ebx + 0xfc]
push edi
push dword [esp + 0x24]
inc eax
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0045da00
mov ecx, eax
call fcn.0045e80f
xor edi, edi
lea ecx, [esp + 0x7c]
push edi
push 1
call fcn.0044e987
or dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x94]
push edi
push 1
call fcn.0044e987
cmp dword [0x5912bc], 0
je 0x4677a8
push dword [esi + 0x210]
movzx eax, byte [esi + 0x220]
push dword [esi + 0xf8]
push eax
push dword [esi + 0x21c]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeMgr_InstallTask:__d___d___d___d___d
push 3
push dword [0x5912bc]
call fcn.0047e2a3
add esp, 0x24
mov eax, dword [esp + 0x10]
push dword [esp + 0x18]
push ebx
mov ecx, dword [eax + 0x710]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x210]
cmp eax, 3
je 0x4677f3
cmp dword [esi + 0x21c], 1
jne 0x4677f8
cmp byte [esi + 0x220], 0
jne 0x4677f8
cmp dword [esi + 0xf8], 2
je 0x4677f3
cmp eax, 2
jne 0x4677f8
inc ecx
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 8]
mov esi, dword [esi]
cmp dword [edx + 0x704], esi
jne 0x467313
xor eax, eax
cmp ebx, ecx
sete al
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0050061e
mov esp, ebp
pop ebp
ret 4