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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x537e82
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [0x59d50c]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x47ac94
push dword [ebp + 0xc]
call esi
push eax
push str._INFO___d___WaeWnd_OnFinished__result__d_.
push 3
push dword [0x59d50c]
call fcn.00485f11
mov ecx, dword [0x59d50c]
add esp, 0x14
mov eax, dword [esp + 0x14]
cmp dword [ebp + 0xc], 0
je 0x47b41f
cmp dword [ebp + 0xc], 0xd
jne 0x47aceb
cmp dword [eax + 0x214], 2
jne 0x47b41f
test ecx, ecx
je 0x47accd
call esi
push eax
push str._INFO___d___user_cancel_download__close.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push 0x56fe0c
lea ecx, [esp + 0x34]
call fcn.0044ea5a
xor edi, edi
mov dword [esp + 0xb8], edi
push 0xb
jmp 0x47b22f
xor edi, edi
cmp dword [ebp + 0xc], 0xa
jne 0x47b10f
mov eax, dword [ebx + 0x118]
push dword [eax + 0x75c]
push dword [eax + 0x758]
lea eax, [esp + 0x98]
push eax
call fcn.004720d9
mov dword [esp + 0xb8], 1
cmp dword [esp + 0xa0], edi
je 0x47ada3
cmp dword [0x59d50c], edi
je 0x47ad7f
lea edx, [esp + 0x90]
lea ecx, [esp + 0x78]
call fcn.004869e0
mov byte [esp + 0xb8], 2
cmp dword [eax + 0x14], 0x10
jb 0x47ad52
mov eax, dword [eax]
push eax
call esi
push eax
push str._INFO___d___downloading__change_save_folder__s_.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x14
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x78]
push edi
push 1
call fcn.0044ea87
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x90]
add ecx, 0x1c
cmp ecx, eax
je 0x47b0f2
push 0xffffffffffffffff
push edi
push eax
call fcn.00451030
jmp 0x47b0f2
mov eax, dword [ebx + 0x118]
mov al, byte [eax + 0x731]
test al, al
jne 0x47b0f2
cmp dword [0x59d50c], 0
je 0x47add8
call esi
push eax
push str._INFO___d___downing__show_not_enough_disk_space_tip.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push 0x56fe84
lea ecx, [esp + 0x64]
call fcn.0044ea5a
push 0x56fe9c
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 3
call fcn.0044ea5a
push 0x56fea4
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc], 4
call fcn.0044ea5a
lea eax, [esp + 0x60]
mov byte [esp + 0xb8], 5
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.0046007e
push edi
push 1
lea ecx, [esp + 0x38]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x50]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xc0], 1
call fcn.0044ea87
push 0x56feb0
lea ecx, [esp + 0x20]
call fcn.00450c1b
lea eax, [esp + 0x1c]
mov byte [esp + 0xb8], 6
push eax
push ecx
mov ecx, esp
push 0x56feb4
call fcn.00450c1b
mov ecx, dword [ebx + 0x11c]
lea eax, [esp + 0x2c]
push eax
call fcn.0044f65e
push eax
push ecx
mov ecx, esp
mov byte [esp + 0xc4], 7
push str.not_enough_disk_space
call fcn.00450c1b
mov ecx, dword [ebx + 0x11c]
lea eax, [esp + 0x2c]
push eax
call fcn.0044f65e
push eax
push ecx
mov ecx, esp
mov byte [esp + 0xc8], 8
push 0x56fef8
call fcn.00450c1b
mov ecx, dword [ebx + 0x11c]
lea eax, [esp + 0x3c]
push eax
call fcn.0044f65e
push eax
push 1
lea ecx, [ebx - 0x770]
mov byte [esp + 0xcc], 9
call fcn.0047b800
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.00450ce2
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00450ce2
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
mov byte [esp + 0xb8], 1
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
mov eax, dword [0x59d50c]
test eax, eax
je 0x47af61
push dword [esp + 0x18]
call esi
push eax
push str._INFO___d___downloading__show_not_enough_disk_space_tip__ret__d_.
push 3
push dword [0x59d50c]
call fcn.00485f11
mov eax, dword [0x59d50c]
add esp, 0x14
cmp dword [esp + 0x18], 1
jne 0x47b07c
test eax, eax
je 0x47af88
call esi
push eax
push str._INFO___d___downloading__call_clean_mgr.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push 0x56ff84
lea ecx, [esp + 0x4c]
call fcn.0044ea5a
push 0x56ff90
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc], 0xa
call fcn.0044ea5a
lea eax, [esp + 0x48]
mov byte [esp + 0xb8], 0xb
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.0046013f
push edi
push 1
lea ecx, [esp + 0x38]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0xc0], 1
call fcn.0044ea87
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push 2
push edi
push eax
add ecx, 0x1c
call fcn.00453e03
push eax
mov edx, 0x56ffa8
mov byte [esp + 0xbc], 0xc
lea ecx, [esp + 0x64]
call fcn.004660ec
pop ecx
push edi
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0xc0], 0xe
call fcn.00451108
cmp dword [esp + 0x74], 8
lea edx, [esp + 0x60]
push 1
cmovae edx, dword [esp + 0x64]
push ecx
push ecx
mov ecx, 0x56ffb0
call fcn.0048eab1
add esp, 0xc
cmp dword [0x59d50c], 0
je 0x47b06e
push eax
call esi
push eax
push str._INFO___d___downloading__call_clean_mgr__ret__d_.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x14
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.00451108
jmp 0x47b0f2
test eax, eax
je 0x47b098
call esi
push eax
push str._WARN___d___downloading__close_not_enough_disk_space_tip.
push 2
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push 0x570034
lea ecx, [esp + 0x4c]
call fcn.0044ea5a
push str.install_error_disk_full
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc], 0xf
call fcn.0044ea5a
lea eax, [esp + 0x48]
mov byte [esp + 0xb8], 0x10
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.0046013f
push edi
push 1
lea ecx, [esp + 0x38]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x50]
call fcn.0044ea87
or dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x90]
push edi
push 1
call fcn.00451108
mov ecx, dword [0x59d50c]
cmp dword [ebx + 0x184], 8
jae 0x47b1ef
lea esi, [ebx + 0x15c]
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x14]
lea ecx, [ebx + 0x178]
mov dword [esp + 0xb8], 0x11
mov eax, dword [eax]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.0047d979
mov eax, dword [esp + 0x14]
inc dword [eax + 0xf8]
mov eax, dword [ebx + 0x184]
inc eax
cmp dword [0x59d50c], 0
mov dword [ebx + 0x184], eax
je 0x47b18f
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeWnd_OnFinished__retry__d_.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x14
push str.retry
lea ecx, [esp + 0x34]
call fcn.00450dd2
mov byte [esp + 0xb8], 0x12
lea ecx, [esp + 0x78]
mov edx, dword [ebx + 0x184]
call fcn.00487a06
push edi
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0xc0], 0x13
push eax
call fcn.00463bac
push edi
push 1
lea ecx, [esp + 0x80]
call fcn.00451108
push edi
push 1
lea ecx, [esp + 0x38]
call fcn.00451108
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x47b41f
cmp byte [ebx + 0x541], 0
je 0x47b264
test ecx, ecx
je 0x47b214
call esi
push eax
push str._INFO___d___WaeWnd_OnFinished__tray_exit.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push 0x5700b8
lea ecx, [esp + 0x34]
call fcn.0044ea5a
mov dword [esp + 0xb8], 0x14
push 1
lea eax, [esp + 0x34]
push eax
call fcn.00463849
or dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x30]
push edi
push 1
call fcn.0044ea87
push edi
push edi
push 0x81bc
lea ecx, [ebx - 0x770]
call fcn.004a5580
jmp 0x47b41f
mov eax, dword [ebx + 0x118]
mov al, byte [eax + 0x731]
test al, al
jne 0x47b29f
lea esi, [ebx - 0x770]
mov ecx, esi
call fcn.0047bb9a
push 1
push 1
mov ecx, esi
call fcn.004a5979
mov ecx, esi
call fcn.004a515e
mov ecx, dword [0x59d50c]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
test ecx, ecx
je 0x47b2bb
call esi
push eax
push str._WARN___d___WaeWnd_OnFinished__last_retry_failed_
push 2
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
lea edx, [esi + 4]
call fcn.004869e0
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xbc], 0x15
push eax
call fcn.0047186c
push edi
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0xc0], 0x17
call fcn.0044ea87
push dword [esi + 0x214]
lea eax, [esp + 0x64]
push eax
call fcn.0047194d
mov ecx, esi
mov byte [esp + 0xb8], 0x18
push 0x5700f8
mov esi, dword [ecx + 0xd8]
sub esi, dword [ecx + 0xd0]
mov eax, dword [ecx + 0xdc]
sbb eax, dword [ecx + 0xd4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
call fcn.0044ea5a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
mov byte [esp + 0xb8], 0x19
mov eax, dword [ebx + 0x118]
push dword [ecx + 0xf4]
mov al, byte [eax + 0x754]
push esi
push edi
movzx eax, al
push edx
push eax
mov eax, dword [ecx + 0xf8]
inc eax
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.004607cc
push edi
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0xc0], 0x18
call fcn.0044ea87
mov eax, dword [ebx + 0x118]
mov al, byte [eax + 0x731]
test al, al
jne 0x47b3bc
lea esi, [ebx - 0x770]
mov ecx, esi
call fcn.00478e1d
push edi
push edi
mov ecx, esi
call fcn.0047d1c6
jmp 0x47b407
push 0x570100
lea ecx, [esp + 0x7c]
call fcn.0044ea5a
push 8
lea eax, [esp + 0x7c]
mov byte [esp + 0xbc], 0x1a
push eax
call fcn.00463849
push edi
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0xc0], 0x18
call fcn.0044ea87
push edi
push edi
push 0x81bc
lea ecx, [ebx - 0x770]
call fcn.004a5580
push edi
push 1
lea ecx, [esp + 0x68]
call fcn.0044ea87
push edi
push 1
lea ecx, [esp + 0x50]
call fcn.0044ea87
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00508163
mov esp, ebp
pop ebp
ret 8