Function at 0x418140
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x463358
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.004474c0
mov eax, dword [0x486904]
xor eax, esp
mov dword [esp + 0x1090], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486904]
xor eax, esp
push eax
lea eax, [esp + 0x10a8]
mov dword fs:[0], eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x469790
call fcn.004214e0
lea ecx, [esp + 0x70]
call fcn.00416fe0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10b0], 0
call fcn.00421640
mov eax, dword [0x4935d4]
mov esi, 1
cmp dword [eax + 0x1c], esi
mov byte [esp + 0x10b0], 1
jle 0x41840c
mov ebp, 0xc
test ebp, ebp
jl 0x418484
cmp esi, dword [eax + 0x10]
jge 0x418484
mov eax, dword [eax + 0xc]
sub esp, 0xc
add eax, ebp
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00421420
lea ecx, [esp + 0x70]
call fcn.00416860
lea ecx, [esp + 0x64]
call fcn.00416820
cmp eax, 2
jne 0x41840c
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x20], esp
push eax
lea ecx, [esp + 0x74]
call fcn.004167d0
lea ecx, [esp + 0x4c]
push ecx
call fcn.00404e30
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x10b4], 2
call fcn.004214b0
lea ecx, [esp + 0x40]
mov byte [esp + 0x10b0], 1
call fcn.004212c0
push 0
push 0
lea ecx, [esp + 0x6c]
call fcn.00416810
push edx
push eax
lea ecx, [esp + 0x74]
call fcn.00416800
push edx
push eax
sub esp, 0xc
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00421420
mov ecx, 0x488160
call fcn.00415ea0
push 0
push str.YingInstall_XXX.
lea ecx, [esp + 0x60]
mov byte [esp + 0x23], al
call fcn.004214e0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, eax
mov byte [esp + 0x10c4], 3
call fcn.00421710
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x10c4], 4
call fcn.00421710
mov byte [esp + 0x10c0], 5
mov ecx, eax
mov byte [esp + 0x10c0], 6
call fcn.00421380
test eax, eax
lea ecx, [esp + 0x28]
setg bl
mov byte [esp + 0x10b0], 3
call fcn.004212c0
lea ecx, [esp + 0x58]
mov byte [esp + 0x10b0], 1
call fcn.004212c0
test bl, bl
je 0x4183d4
push 0x46b618
lea eax, [esp + 0x38]
push eax
sub esp, 0xc
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00421420
lea edi, [esp + 0x60]
call fcn.00417cb0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x10b8], 7
call fcn.00421710
mov ecx, eax
mov byte [esp + 0x10b4], 8
call fcn.004212f0
lea ecx, [esp + 0x34]
mov bl, al
mov byte [esp + 0x10b0], 7
call fcn.004212c0
mov ecx, edi
mov byte [esp + 0x10b0], 1
call fcn.004212c0
test bl, bl
je 0x4183a9
sub esp, 0xc
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00421420
mov ecx, 0x49362c
call fcn.004228b0
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4183d4
mov edx, dword [esp + 0x20]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x488034], eax
je 0x41845b
sub esp, 0xc
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00421420
mov ecx, 0x4935f0
call fcn.00422390
cmp byte [esp + 0x1b], 0
je 0x41845b
mov eax, dword [0x4935d4]
add esi, 1
add ebp, 0xc
cmp esi, dword [eax + 0x1c]
jl 0x4181cf
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10b0], 0
call fcn.004212c0
lea ecx, [esp + 0x64]
mov dword [esp + 0x10b0], 0xffffffff
call fcn.004162a0
mov al, 1
mov ecx, dword [esp + 0x10a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1090]
xor ecx, esp
call fcn.00445fb9
add esp, 0x10a0
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10b0], 0
call fcn.004212c0
lea ecx, [esp + 0x64]
mov dword [esp + 0x10b0], 0xffffffff
call fcn.004162a0
xor al, al
jmp 0x418433
jmp fcn.0042a61f