Function at 0x41fc60
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499b70
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
mov ebx, 0x4aaf74
mov dword [ebp - 0x18], 1
call fcn.004066b0
lea ecx, [ebp - 0x14]
push 0x4da384
push ecx
mov ebx, eax
mov dword [ebp - 4], 0
call fcn.0040b4f0
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fce4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x16
lea esi, [ebp - 0x10]
call fcn.0040cf10
add esp, 4
push 0x4aef74
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00401c90
lea ecx, [ebp - 0x20]
push ecx
mov edx, esi
push edx
mov byte [ebp - 4], 4
call fcn.00420a40
test eax, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41fd45
mov dword [ebp - 0x18], 0
push 0x17
lea esi, [ebp - 0x2c]
call fcn.0040cf10
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ebx, 0x4af14c
mov byte [ebp - 4], 5
call fcn.004066b0
add esp, 0xc
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00404dc0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fd94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fdb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fe30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fdf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4aef74
lea ecx, [ebp - 0x20]
call fcn.00401c90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
mov esi, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov edi, esi
call fcn.00420a40
test eax, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41fe86
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ebx, str.Uninstall.exe
call fcn.004066b0
add esp, 8
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00404dc0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41feca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push 1
push ecx
mov ecx, section..data
mov dword [ebp - 0x20], esp
mov edi, esp
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 9
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ecx, section..data
mov dword [ebp - 0x30], esp
mov edi, esp
call eax
add eax, 0x10
mov dword [edi], eax
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
mov eax, dword [ebx]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x34], esp
mov edi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x4aef44
call fcn.00401c90
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov edi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x40], esp
mov edi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi]
mov edx, dword [eax]
add esp, 4
mov ecx, esi
mov byte [ebp - 4], 3
call edx
test eax, eax
jne 0x41ff83
mov dword [ebp - 0x18], eax
push 0x1d
push str.http:__www.funshion.com_help_
lea ecx, [ebp - 0x14]
call fcn.00401b90
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
push 1
push ecx
mov ecx, section..data
mov dword [ebp - 0x40], esp
mov edi, esp
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xe
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, section..data
mov dword [ebp - 0x3c], esp
mov edi, esp
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebx]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x38], esp
mov edi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4aef34
call fcn.00401c90
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi]
mov eax, dword [eax]
add esp, 4
mov ecx, esi
mov byte [ebp - 4], 3
call eax
xor edi, edi
cmp eax, edi
jne 0x420048
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x10]
push ecx
call fcn.00420580
test eax, eax
jne 0x420058
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
call fcn.00420820
test eax, eax
jne 0x42006b
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x4af190
call fcn.004066b0
add esp, 8
mov bl, 0x13
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x28
push str.http:__www.funshion.com_download_history
lea ecx, [ebp - 0x14]
call fcn.00401b90
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
push 1
push ecx
mov ecx, section..data
mov dword [ebp + 8], esp
mov edi, esp
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x14
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, section..data
mov dword [ebp - 0x40], esp
mov edi, esp
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x3c], esp
mov edi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x4aef08
call fcn.00401c90
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x34], esp
mov edi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push eax
call fcn.00401630
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi]
mov byte [ebp - 4], bl
mov edx, dword [eax]
mov ecx, esi
call edx
test eax, eax
jne 0x420154
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42019a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4