Function at 0x414e40
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44bac8
push eax
mov eax, 0x1080
mov dword fs:[0], esp
call fcn.0042e100
push ebx
push ebp
push esi
push edi
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x44f6bf
call fcn.0041c370
lea ecx, [esp + 0x6c]
call fcn.004141f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1098], 0
call fcn.0041c400
mov eax, dword [0x4773d8]
mov ecx, dword [eax + 0x1c]
mov ebp, 1
cmp ecx, ebp
mov byte [esp + 0x1098], 1
jle 0x4150ed
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, 0xc
jmp 0x414ec0
test esi, esi
jl 0x415156
cmp ebp, dword [eax + 0x10]
jge 0x415156
mov eax, dword [eax + 0xc]
sub esp, 0xc
add eax, esi
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0041c2d0
lea ecx, [esp + 0x6c]
call fcn.00413ba0
lea ecx, [esp + 0x60]
call fcn.00413b60
cmp eax, 2
jne 0x4150ed
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
lea ecx, [esp + 0x70]
call fcn.00413b10
lea ecx, [esp + 0x48]
push ecx
call fcn.00404890
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x109c], 2
call fcn.0041c340
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1098], 1
call fcn.0041c1c0
push 0
lea ecx, [esp + 0x64]
call fcn.00413b50
push eax
lea ecx, [esp + 0x68]
call fcn.00413b40
push eax
sub esp, 0xc
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0041c2d0
mov ecx, 0x464250
call fcn.004132c0
push 0
push str.YingInstall_XXX.
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f], al
call fcn.0041c370
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, eax
mov byte [esp + 0x10ac], 3
call fcn.0041c4b0
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10ac], 4
call fcn.0041c4b0
mov ecx, eax
mov byte [esp + 0x10a8], 6
call fcn.0041c250
test eax, eax
lea ecx, [esp + 0x24]
setg bl
mov byte [esp + 0x1098], 3
call fcn.0041c1c0
lea ecx, [esp + 0x54]
mov byte [esp + 0x1098], 1
call fcn.0041c1c0
test bl, bl
je 0x4150b4
push 0x450fa0
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.0041c2d0
lea eax, [esp + 0x5c]
push eax
call fcn.00414bc0
add esp, 0x10
mov ecx, eax
mov byte [esp + 0x10a0], 7
call fcn.0041c4b0
mov ecx, eax
mov byte [esp + 0x109c], 8
call fcn.0041c1f0
lea ecx, [esp + 0x30]
mov bl, al
mov byte [esp + 0x1098], 7
call fcn.0041c1c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x1098], 1
call fcn.0041c1c0
test bl, bl
je 0x415091
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041c2d0
mov ecx, 0x47743c
call fcn.0041d580
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4150b4
mov ecx, dword [esp + 0x1c]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ecx
call edi
cmp eax, 0xffffffff
mov dword [0x464134], eax
je 0x41512d
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041c2d0
mov ecx, 0x477400
call fcn.0041ce00
mov al, byte [esp + 0x17]
test al, al
je 0x41512d
mov eax, dword [0x4773d8]
mov ecx, dword [eax + 0x1c]
inc ebp
add esi, 0xc
cmp ebp, ecx
jl 0x414ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1098], 0
call fcn.0041c1c0
lea ecx, [esp + 0x60]
mov dword [esp + 0x1098], 0xffffffff
call fcn.004135c0
mov al, 1
mov ecx, dword [esp + 0x1090]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x108c
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x1098], 0
call fcn.0041c1c0
lea ecx, [esp + 0x60]
mov dword [esp + 0x1098], 0xffffffff
call fcn.004135c0
xor al, al
jmp 0x415114
jmp fcn.0043b2cd