Function at 0x469538
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x535958
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x71c]
xor ebx, ebx
mov ecx, ebx
mov edx, ebx
mov dword [esp + 0x18], ecx
mov esi, dword [eax]
cmp eax, esi
je 0x469b49
mov eax, dword [ebp + 8]
cmp dword [esi + 0x21c], eax
jne 0x469b3b
inc edx
cmp dword [esi + 0xf8], 3
mov dword [esp + 0x30], edx
jne 0x469b08
cmp dword [esi + 0x210], ebx
jne 0x469b08
cmp dword [0x59d50c], 0
je 0x4695ed
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 [0x59d50c]
call fcn.00485f11
add esp, 0x14
cmp dword [esi + 0x104], ebx
jne 0x46974f
lea edx, [esi + 0xc]
lea ecx, [esp + 0x3c]
call fcn.004869e0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x14c], ebx
push eax
call fcn.0047186c
push ebx
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x150], 2
call fcn.0044ea87
push dword [esi + 0x21c]
lea eax, [esp + 0x70]
push eax
call fcn.0047194d
mov byte [esp + 0x148], 3
mov edi, dword [esi + 0xe0]
sub edi, dword [esi + 0xd8]
mov eax, dword [esi + 0xe4]
sbb eax, dword [esi + 0xdc]
js 0x46967e
jg 0x469663
cmp edi, ebx
jbe 0x46967e
push eax
push edi
push dword [esi + 0xc4]
push dword [esi + 0xc0]
call fcn.00510e90
mov ebx, eax
mov dword [esp + 0x20], edx
jmp 0x46968b
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov ebx, dword [esp + 0x1c]
push 0x56ba80
lea ecx, [esp + 0x40]
call fcn.0044ea5a
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x54]
push 0
push edi
push ebx
mov byte [esp + 0x154], 4
mov al, byte [eax + 0x754]
movzx eax, al
push ecx
push eax
mov eax, dword [esi + 0x100]
inc eax
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.004607cc
xor ebx, ebx
mov byte [esp + 0x148], 3
xor edi, edi
lea ecx, [esp + 0x3c]
push ebx
inc edi
push edi
call fcn.0044ea87
push 0x56ba88
lea ecx, [esp + 0x40]
call fcn.0044ea5a
push ebx
push ebx
push ebx
push edi
lea eax, [esp + 0x4c]
mov byte [esp + 0x158], 5
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.00460a5f
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.0044ea87
push ebx
push edi
lea ecx, [esp + 0x74]
call fcn.0044ea87
or dword [esp + 0x148], 0xffffffff
lea ecx, [esp + 0x54]
push ebx
push edi
call fcn.0044ea87
jmp 0x469752
xor edi, edi
inc edi
push ebx
call fcn.0050967e
mov dword [esi + 0x210], edi
lea ebx, [esi + 8]
pop ecx
mov dword [esi + 0x204], edx
lea edi, [ebx + 0x17c]
mov edx, 0x56ba90
mov dword [esi + 0x200], eax
mov ecx, edi
call fcn.00465fcf
test al, al
jne 0x4697a5
sub esp, 0x18
mov ecx, esp
push edi
call fcn.0044f86d
lea ecx, [ebx + 0x194]
cmp dword [ecx + 0x14], 8
jb 0x46979d
mov ecx, dword [ecx]
call fcn.0048aaf8
add esp, 0x18
lea edx, [ebx + 0x1c4]
cmp dword [edx + 0x14], 8
jb 0x4697b3
mov edx, dword [edx]
lea ecx, [ebx + 0x194]
cmp dword [ecx + 0x14], 8
jb 0x4697c1
mov ecx, dword [ecx]
push 0
push ecx
push ecx
call fcn.0048eab1
add esp, 0xc
mov dword [ebx + 0x20c], eax
cmp dword [0x59d50c], 0
je 0x4697f9
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeMgr_InstallTask_res:__d
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x14
push 0
call fcn.0050967e
mov edi, dword [esi + 0x214]
mov dword [esi + 0x208], eax
mov dword [esi + 0x20c], edx
mov dword [esp + 0x30], edi
pop ecx
test edi, edi
jne 0x46982e
mov edi, dword [esp + 0x14]
mov dword [esi + 0x210], 3
jmp 0x469922
xor eax, eax
push 0x7e
push eax
mov word [esp + 0xbc], ax
lea eax, [esp + 0xbe]
push eax
call fcn.0050cd80
add esp, 0xc
lea eax, [esp + 0xb4]
push dword [ebx]
push str.install_err__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x54]
push eax
call fcn.00450dd2
mov eax, edi
mov dword [esp + 0x148], 6
cdq
lea ecx, [esp + 0x3c]
push edx
push eax
call fcn.00473bbf
pop ecx
pop ecx
xor edi, edi
mov byte [esp + 0x148], 7
push edi
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00463bac
push edi
push 1
lea ecx, [esp + 0x44]
call fcn.00451108
or dword [esp + 0x148], 0xffffffff
lea ecx, [esp + 0x54]
push edi
push 1
call fcn.00451108
mov eax, dword [ebx]
cmp eax, 0x2694
jne 0x4698e7
cmp dword [esi + 0x104], 1
jle 0x4698e7
mov dword [esi + 0x210], 3
mov dword [esp + 0x2c], edi
jmp 0x4698f1
mov dword [esi + 0x210], 2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [edi + 0x760]
call fcn.00472dd8
test eax, eax
jne 0x469922
lea eax, [esi + 0x19c]
cmp dword [eax + 0x14], 8
jb 0x46991b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x210], 3
jne 0x4699f8
push dword [ebx + 0x214]
lea eax, [esp + 0x40]
push eax
call fcn.0047194d
mov dword [esp + 0x148], 8
mov edi, dword [esi + 0x208]
sub edi, dword [esi + 0x200]
mov eax, dword [esi + 0x20c]
sbb eax, dword [esi + 0x204]
js 0x469983
jg 0x46996a
test edi, edi
je 0x469983
push eax
push edi
push dword [esi + 0xc4]
push dword [esi + 0xc0]
call fcn.00510e90
mov dword [esp + 0x38], edx
jmp 0x469990
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
mov eax, dword [esp + 0x34]
push 0x56badc
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], eax
call fcn.0044ea5a
push dword [esp + 0x2c]
mov byte [esp + 0x14c], 9
mov eax, dword [ebx + 0xfc]
push edi
push dword [esp + 0x24]
inc eax
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.00460a5f
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.0044ea87
or dword [esp + 0x148], 0xffffffff
lea ecx, [esp + 0x3c]
push 0
push 1
call fcn.0044ea87
jmp 0x469aa7
mov eax, dword [esi + 0x214]
add edi, 0x768
add eax, 0x7d0
mov ecx, edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
call fcn.00472dd8
test eax, eax
mov ecx, edi
lea eax, [esp + 0x28]
push eax
jne 0x469aa0
call fcn.00472d87
xor edi, edi
lea ecx, [esp + 0x9c]
inc edi
mov dword [eax], edi
mov edx, dword [ebx + 0x20c]
call fcn.00473c17
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x14c], 0xa
push str.install_err
push eax
call fcn.0045ca5c
add esp, 0xc
push eax
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
mov byte [esp + 0x150], 0xb
call fcn.0047291f
push 0
push 1
lea ecx, [esp + 0x8c]
call fcn.0044ea87
or dword [esp + 0x148], 0xffffffff
lea ecx, [esp + 0x9c]
push 0
push 1
call fcn.0044ea87
jmp 0x469aab
call fcn.00472d87
inc dword [eax]
mov edi, dword [esp + 0x14]
cmp dword [0x59d50c], 0
je 0x469aee
push dword [esi + 0x210]
movzx eax, byte [esi + 0x220]
push dword [esi + 0xf8]
push eax
push dword [esi + 0x21c]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeMgr_InstallTask:__d___d___d___d___d
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x24
mov ecx, dword [edi + 0x728]
push dword [esp + 0x2c]
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x210]
cmp eax, 3
je 0x469b33
cmp dword [esi + 0x21c], 1
jne 0x469b38
cmp byte [esi + 0x220], 0
jne 0x469b38
cmp dword [esi + 0xf8], 2
je 0x469b33
cmp eax, 2
jne 0x469b38
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 8]
mov esi, dword [esi]
cmp dword [edi + 0x71c], esi
jne 0x46959b
xor eax, eax
cmp edx, ecx
sete al
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00508163
mov esp, ebp
pop ebp
ret 4