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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498648
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ebx, [edi + 4]
push 0x4d943c
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], ebx
call fcn.0040b870
push 0x16
lea esi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0040d320
add esp, 0xc
push 0x4aea10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00401ba0
lea ecx, [ebp - 0x20]
mov edx, esi
push ecx
push edx
mov esi, edi
mov byte [ebp - 4], 2
call fcn.0042dcb0
test eax, eax
mov byte [ebp - 4], 1
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 0x42cfa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42cfb0
mov dword [ebp - 0x18], 0
push 0x17
lea esi, [ebp - 0x28]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ebx, 0x4aebdc
mov byte [ebp - 4], 3
call fcn.00406650
add esp, 0xc
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00404db0
mov byte [ebp - 4], 3
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 0x42cfff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d022
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 0x42d09a
mov byte [ebp - 4], al
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 0x42d05e
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 0x42d084
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 0x4aea10
lea ecx, [ebp - 0x20]
call fcn.00401ba0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 5
mov esi, dword [ebp + 8]
push edx
call fcn.0042dcb0
test eax, eax
mov byte [ebp - 4], 1
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 0x42d0e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42d0ee
mov dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push esi
push ecx
mov ebx, str.Uninstall.exe
call fcn.00406650
add esp, 8
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00404db0
mov ebx, 1
mov byte [ebp - 4], bl
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 0x42d136
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 ebx
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], 7
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ecx, section..data
mov dword [ebp - 0x2c], esp
mov edi, esp
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 8
mov eax, dword [esi]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x30], esp
mov edi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ae9e0
call fcn.00401ba0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
call fcn.00401530
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi]
mov edx, dword [eax]
add esp, 4
mov ecx, edi
mov byte [ebp - 4], bl
call edx
test eax, eax
jne 0x42d1ed
mov dword [ebp - 0x18], eax
push 0x1d
push str.http:__www.funshion.com_help_
lea ecx, [ebp - 0x14]
call fcn.00401aa0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
push ebx
push ecx
mov ecx, section..data
mov dword [ebp + 8], esp
mov esi, esp
call edx
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, section..data
mov dword [ebp - 0x3c], esp
mov esi, esp
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ae9d0
call fcn.00401ba0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi]
mov edx, dword [eax]
add esp, 4
mov ecx, edi
mov byte [ebp - 4], bl
call edx
xor ebx, ebx
cmp eax, ebx
jne 0x42d2b3
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x10]
push eax
mov esi, edi
call fcn.0042d7f0
test eax, eax
jne 0x42d2c5
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x10]
push ecx
mov esi, edi
call fcn.0042da90
test eax, eax
jne 0x42d2d7
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x24]
push eax
mov ebx, 0x4aec20
call fcn.00406650
add esp, 8
mov bl, 0x11
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x28
push str.http:__www.funshion.com_download_history
lea ecx, [ebp - 0x14]
call fcn.00401aa0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push 1
push ecx
mov ecx, section..data
mov dword [ebp + 8], esp
mov esi, esp
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x12
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push ecx
mov ecx, section..data
mov dword [ebp - 0x3c], esp
mov esi, esp
call eax
add eax, 0x10
mov dword [esi], eax
push 0
push ecx
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x13
mov eax, dword [ecx]
sub eax, 0x10
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4ae9a4
call fcn.00401ba0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00401530
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi]
mov byte [ebp - 4], bl
mov edx, dword [eax]
mov ecx, edi
call edx
test eax, eax
jne 0x42d3c2
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
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 0x42d3e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
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 0x42d408
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 0x42d42e
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