Function at 0x100852f1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100ebb61
call fcn.100c908c
sub esp, 0x48
and dword [ebp - 4], 0
cmp byte [ecx + 0x1250], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
jne 0x10085658
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov esi, 0x1010d92c
push esi
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
mov byte [ebp - 4], 1
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov edi, str.fcuserid
push edi
mov byte [ebp - 4], 2
call fcn.10009e15
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0
call fcn.1006135f
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
mov byte [ebp - 4], 3
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
mov byte [ebp - 4], 4
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov ebx, str.fkey
push ebx
mov byte [ebp - 4], 5
call fcn.10009e15
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.1006135f
add esp, 0x10
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 6
je 0x100853e2
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str._0_9__
call fcn.10009e15
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 7
call fcn.1000548f
mov byte [ebp - 4], 6
call fcn.10048f51
pop ecx
pop ecx
test al, al
je 0x10085421
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x1008547f
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str._0_9a_f__
call fcn.10009e15
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 8
call fcn.1000548f
mov byte [ebp - 4], 6
call fcn.10048f51
pop ecx
pop ecx
test al, al
jne 0x1008547f
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
mov byte [ebp - 4], 9
call fcn.10009e15
mov byte [ebp - 4], 6
call fcn.100616bb
pop ecx
pop ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
mov byte [ebp - 4], 0xa
call fcn.10009e15
mov byte [ebp - 4], 6
call fcn.100616bb
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.10004acb
lea ecx, [ebp - 0x18]
call fcn.10004acb
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x100854bd
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x100854bd
mov edi, dword [ebp - 0x28]
lea esi, [edi + 0x12bc]
push dword [esi]
call fcn.100200a1
pop ecx
push dword [esi]
call fcn.1001fcad
pop ecx
mov ecx, edi
call fcn.10082ed6
mov ecx, edi
call fcn.10082a83
jmp 0x10085642
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.urlNewUser
call fcn.10009e15
mov esi, dword [ebp - 0x28]
mov ecx, dword [esi + 0x12bc]
lea eax, [ebp - 0x14]
push eax
call fcn.1004ee1b
xor edi, edi
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.100054ad
push edi
push eax
push edi
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x10085507
push str.http:__www.freecause.com_xml_config.pl_actionnewuserclientIEm_mactoolid_TOOLID
lea ecx, [ebp - 0x14]
call fcn.10006a3d
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.1007f2f5
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10085563
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.1000548f
mov ecx, esi
call fcn.100826bc
test al, al
jne 0x1008562c
cmp byte [0x10154008], al
jne 0x1008562c
mov byte [0x10154008], 1
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DownloadManager
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 0xd
add esi, 0xb8
call fcn.10009e15
lea ecx, [ebp - 0x30]
call fcn.100727c4
push eax
push esi
mov byte [ebp - 4], 0xe
call fcn.100315d5
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.10003f60
cmp esi, edi
je 0x100855bf
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
push str.GetDownloadManager
mov ecx, esi
call dword [eax + 0x30]
jmp 0x100855c2
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xc
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x1008562c
mov esi, dword [ebp - 0x28]
push ebx
push ebx
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
add esi, 0xb8
call fcn.1000548f
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1004ad5e
add esp, 0x14
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.1000688b
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.10003f60
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
push ebx
call fcn.10046ae4
pop ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push ebx
push eax
push esi
push edi
call dword [edx + 8]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret