Function at 0x10001240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10180fb2
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x101fd178]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [0x1020ae5c]
test edi, edi
jne 0x10001309
push 0x1020ae60
mov dword [ebp - 0x1b8], 0x1020ae60
call fcn.100114ce
add esp, 4
test eax, eax
je 0x100012a2
push eax
call fcn.10011787
add esp, 4
mov dword [ebp - 4], 0
mov edi, dword [0x1020ae5c]
test edi, edi
jne 0x100012d9
push 0x1c4
call fcn.1006e64a
add esp, 4
mov dword [ebp - 0x1a8], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000aab0
mov edi, eax
mov dword [0x1020ae5c], edi
push 0x1020ae60
mov dword [ebp - 4], 2
call fcn.100114f3
add esp, 4
test eax, eax
je 0x100012fa
push eax
call fcn.10011787
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10001948
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push str.SOFT_HOST
push eax
call fcn.1005c8b2
add esp, 8
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x14]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push str.SOFT_REPORTHOST
push eax
call fcn.1005c8b2
add esp, 8
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x18]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push str.SOFT_TIMER_HOST
push eax
call fcn.1005c8b2
add esp, 8
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x1c]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push str.APP_SID
push eax
call fcn.1005c957
add esp, 8
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 8]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push str.RESPONES_UP_CBC_KEY
push eax
call fcn.1005c8b2
add esp, 8
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x20]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push str.RESPONES_UP_CBC_CHAIN
push eax
call fcn.1005c8b2
add esp, 8
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x24]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_KEY
push eax
call fcn.1005c8b2
add esp, 8
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x28]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_CHAIN
push eax
call fcn.1005c8b2
add esp, 8
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x2c]
sub esp, 0x18
mov esi, esp
call fcn.10003400
mov ecx, eax
call fcn.1005f90f
push eax
push esi
call fcn.100595ad
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.1005fd11
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.10060337
push eax
push esi
call fcn.100595ad
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.10003400
mov ecx, eax
call fcn.1005fa09
push eax
push esi
call fcn.100595ad
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x40]
sub esp, 0x18
mov esi, dword [0x1020aec4]
mov dword [ebp - 0x1a8], esp
push 0x3a8
test esi, esi
jne 0x10001582
push 0x1020aec8
mov dword [ebp - 0x1bc], 0x1020aec8
call fcn.100114ce
add esp, 4
test eax, eax
je 0x10001523
push eax
call fcn.10011787
add esp, 4
mov dword [ebp - 4], 3
mov esi, dword [0x1020aec4]
test esi, esi
jne 0x1000155a
push 0xf8
call fcn.1006e64a
add esp, 4
mov dword [ebp - 0x1ac], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.1006040b
mov esi, eax
mov dword [0x1020aec4], esi
push 0x1020aec8
mov dword [ebp - 4], 5
call fcn.100114f3
add esp, 4
test eax, eax
je 0x1000157b
push eax
call fcn.10011787
add esp, 4
mov dword [ebp - 4], 0xffffffff
sub esp, 0x18
mov ecx, esi
push esp
call fcn.1006042c
push dword [ebp - 0x1a8]
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0x18c]
push str.APPDATA_HTTP_CACHE_FOLDER
push eax
call fcn.1005c957
add esp, 8
mov esi, eax
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 6
push eax
call fcn.10003340
mov ecx, eax
call fcn.10060606
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 8
jb 0x100015de
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x100015e6
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x144]
push str._s_s_
push eax
call fcn.100593e7
add esp, 0x10
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x160]
cmp edx, 8
jb 0x10001640
mov ecx, dword [ebp - 0x174]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001636
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001964
push edx
push ecx
call fcn.1006e63c
add esp, 8
xor eax, eax
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x178]
cmp edx, 8
jb 0x100016a1
mov ecx, dword [ebp - 0x18c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001697
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001969
push edx
push ecx
call fcn.1006e63c
add esp, 8
xor eax, eax
mov dword [ebp - 0x17c], 0
cmp dword [ebp - 0x130], 8
mov word [ebp - 0x18c], ax
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push eax
mov dword [ebp - 0x178], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100016fa
cmp dword [ebp - 0x130], 8
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push eax
call fcn.10060d9f
add esp, 4
sub esp, 0x18
lea eax, [ebp - 0x144]
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10004550
push esi
call fcn.1005994f
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x44]
sub esp, 0x18
push esp
call fcn.10003400
mov ecx, eax
call fcn.1005f62e
call fcn.10059639
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b4]
push eax
mov dword [ebp - 0x1b0], edx
call fcn.1008a533
push dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc ecx
push ecx
add eax, 0x76c
push eax
lea eax, [ebp - 0x15c]
push str._d_.2d_.2d
push eax
call fcn.10059314
add esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x15c]
mov ecx, esp
push eax
call fcn.100042e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.10087820
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x1a4]
call fcn.10003fd0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.10060fcb
mov byte [ebp - 4], 0xc
add esp, 8
mov edx, dword [ebp - 0x190]
cmp edx, 0x10
jb 0x1000184b
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001841
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000196e
push edx
push ecx
call fcn.1006e63c
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
push eax
call fcn.100042e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x1000189c
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001892
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001973
push edx
push ecx
call fcn.1006e63c
add esp, 8
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x100018f1
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100018e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001978
push edx
push ecx
call fcn.1006e63c
add esp, 8
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp edx, 8
jb 0x10001948
mov ecx, dword [ebp - 0x144]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000193e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000197d
push edx
push ecx
call fcn.1006e63c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e62b
mov esp, ebp
pop ebp
ret
call fcn.1008a259
call fcn.1008a259
call fcn.1008a259
call fcn.1008a259
call fcn.1008a259
call fcn.1008a259
int3