Function at 0x417e30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x463858
push eax
mov eax, 0x1090
mov dword fs:[0], esp
call fcn.00447d00
push ebx
push ebp
push esi
push edi
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x469780
call fcn.00422570
lea ecx, [esp + 0x6c]
call fcn.00416d00
lea ecx, [esp + 0x18]
mov dword [esp + 0x10a8], 0
call fcn.004226d0
mov eax, dword [0x4935a8]
mov esi, 1
cmp dword [eax + 0x1c], esi
mov byte [esp + 0x10a8], 1
jle 0x4180e1
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, 0xc
test edi, edi
jl 0x41814a
cmp esi, dword [eax + 0x10]
jge 0x41814a
mov eax, dword [eax + 0xc]
sub esp, 0xc
add eax, edi
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004224b0
lea ecx, [esp + 0x6c]
call fcn.004165a0
lea ecx, [esp + 0x60]
call fcn.00416510
cmp eax, 2
jne 0x4180e1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
lea ecx, [esp + 0x70]
call fcn.004164c0
lea ecx, [esp + 0x48]
push ecx
call fcn.00404ae0
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10ac], 2
call fcn.00422540
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10a8], 1
call fcn.004222c0
push 0
push 0
lea ecx, [esp + 0x68]
call fcn.00416500
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.004164f0
push edx
push eax
sub esp, 0xc
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004224b0
mov ecx, 0x488138
call fcn.00415950
push 0
push str.YingInstall_XXX.
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f], al
call fcn.00422570
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, eax
mov byte [esp + 0x10bc], 3
call fcn.004227d0
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10bc], 4
call fcn.004227d0
mov byte [esp + 0x10b8], 5
mov ecx, eax
mov byte [esp + 0x10b8], 6
call fcn.00422410
test eax, eax
lea ecx, [esp + 0x24]
setg bl
mov byte [esp + 0x10a8], 3
call fcn.004222c0
lea ecx, [esp + 0x54]
mov byte [esp + 0x10a8], 1
call fcn.004222c0
test bl, bl
je 0x4180a9
push 0x46b898
lea eax, [esp + 0x34]
push eax
sub esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004224b0
lea eax, [esp + 0x5c]
push eax
call fcn.00417bd0
add esp, 0x10
mov ecx, eax
mov byte [esp + 0x10b0], 7
call fcn.004227d0
mov ecx, eax
mov byte [esp + 0x10ac], 8
call fcn.004222f0
lea ecx, [esp + 0x30]
mov bl, al
mov byte [esp + 0x10a8], 7
call fcn.004222c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x10a8], 1
call fcn.004222c0
test bl, bl
je 0x418086
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004224b0
mov ecx, 0x493600
call fcn.004235f0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4180a9
mov ecx, dword [esp + 0x1c]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ecx
call ebp
cmp eax, 0xffffffff
mov dword [0x488014], eax
je 0x418121
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004224b0
mov ecx, 0x4935c4
call fcn.00423020
cmp byte [esp + 0x17], 0
je 0x418121
mov eax, dword [0x4935a8]
add esi, 1
add edi, 0xc
cmp esi, dword [eax + 0x1c]
jl 0x417ea9
lea ecx, [esp + 0x18]
mov byte [esp + 0x10a8], 0
call fcn.004222c0
lea ecx, [esp + 0x60]
mov dword [esp + 0x10a8], 0xffffffff
call fcn.00415dd0
mov al, 1
mov ecx, dword [esp + 0x10a0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x109c
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x10a8], 0
call fcn.004222c0
lea ecx, [esp + 0x60]
mov dword [esp + 0x10a8], 0xffffffff
call fcn.00415dd0
xor al, al
jmp 0x418108
jmp fcn.0042bad0