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

Disassembly:
mov eax, 0x100bed98
call fcn.100a0664
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
jne 0x1006c55b
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.urlNewUser
call fcn.100057f4
mov ecx, dword [esi + 0x12d4]
lea eax, [ebp - 0x14]
push eax
call fcn.1003111a
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10003413
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x1006c4e6
push str.http:__www.freecause.com_xml_config.pl_actionnewuserclientIEm_mactoolid_TOOLID
lea ecx, [ebp - 0x14]
call fcn.100049c6
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.100033f5
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.10068105
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.100046db
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001ccd
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
test eax, eax
jne 0x1006c552
call fcn.10001ccd
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001ccd
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov byte [ebp - 4], 1
call fcn.10001ccd
mov esi, 0x1010dc04
push esi
lea ecx, [ebp - 0x1c]
call fcn.1005d077
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.1005d077
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.100033f5
lea eax, [ebp - 0x18]
push eax
call fcn.1002a92e
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], ebx
jne 0x1006c5d0
lea ecx, [eax - 0x10]
call fcn.10001ccd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001ccd
mov al, bl
jmp 0x1006c541
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.userid:_0_9_
call fcn.100057f4
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 7
call fcn.100033f5
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.10054535
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.100046db
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001ccd
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.key:__
call fcn.100057f4
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 9
call fcn.100033f5
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.10054535
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.100046db
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001ccd
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
cmp dword [esi - 0xc], ebx
je 0x1006c78b
cmp dword [edi - 0xc], ebx
je 0x1006c78b
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.10068282
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov ebx, 0x100c503c
push ebx
call fcn.100057f4
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xc
call fcn.100033f5
mov byte [ebp - 4], 0xb
call fcn.10043af4
pop ecx
pop ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push ebx
call fcn.100057f4
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xd
call fcn.100033f5
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.fcuserid
mov byte [ebp - 4], 0xe
call fcn.100057f4
mov byte [ebp - 4], 0xb
call fcn.100437c0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push ebx
call fcn.100057f4
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xf
call fcn.100033f5
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.fkey
mov byte [ebp - 4], 0x10
call fcn.100057f4
mov byte [ebp - 4], 0xb
call fcn.100437c0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1360]
add eax, 0x14
mov ecx, dword [eax]
add esp, 0xc
push eax
call dword [ecx + 0x70]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
lea ecx, [edi - 0x10]
call fcn.10001ccd
lea ecx, [esi - 0x10]
call fcn.10001ccd
mov bl, 1
jmp 0x1006c5be
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
lea ecx, [edi - 0x10]
call fcn.10001ccd
lea ecx, [esi - 0x10]
jmp 0x1006c52f