Function at 0x40ac38
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x41b7c5
call fcn.0041a21e
lea esi, [ebp - 0x3c]
call fcn.0040486a
and dword [ebp - 4], 0
push dword [ebp + 0x18]
mov ecx, esi
push 1
call fcn.0040b446
mov eax, dword [0x429220]
mov ebx, 0x429220
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x429220]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov esi, 0x167
lea eax, [ebp + 0x18]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.004010c5
call fcn.00403900
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.004016a2
test edi, edi
je 0x40ad49
mov eax, dword [0x429220]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x18], eax
push ecx
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x20], esp
push esi
push eax
call fcn.004010c5
call fcn.00403900
lea ecx, [ebp + 0x18]
call fcn.0040ef4b
lea eax, [ebp - 0x1c]
mov dword [esp], 0x422134
push eax
lea ecx, [ebp + 0x18]
call fcn.00404793
lea ecx, [ebp - 0x20]
push 0x422148
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00404737
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x18]
call fcn.004052f4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.004016a2
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.004046e6
mov byte [ebp - 4], 6
push dword [eax]
mov esi, 0x1f4
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.00411c05
add esp, 0x14
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004043b3
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp + 0x14]
push dword [eax]
lea eax, [ebp + 0x14]
push esi
push eax
call fcn.00411c05
add esp, 0xc
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [ebp + 0xc]
push 0x3c
push eax
call fcn.00411c05
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
mov ecx, str.UserDescription
mov byte [ebp - 4], 9
call fcn.00409144
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x40aded
push esi
mov eax, edi
push eax
call fcn.00404a2c
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
mov eax, esi
call fcn.0040e3d1
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xb
call fcn.0040be33
mov edi, eax
mov eax, esi
call fcn.004043b3
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.004016a2
mov edi, dword [ebp + 0xc]
cmp dword [edi - 0xc], 0
je 0x40aea4
lea eax, [ebp + 0x18]
push eax
mov ecx, str.Account
call fcn.00409144
mov byte [ebp - 4], 0xc
cmp dword [edi - 4], 1
mov esi, dword [edi - 0xc]
jle 0x40ae61
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.00404a2c
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push edi
push eax
mov eax, esi
call fcn.0040e3d1
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xd
call fcn.0040be33
mov edi, eax
mov eax, esi
call fcn.004043b3
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.004016a2
mov edi, dword [ebp + 0x14]
cmp dword [edi - 0xc], 0
je 0x40af18
lea eax, [ebp + 0x18]
push eax
mov ecx, str.Contact
call fcn.00409144
mov byte [ebp - 4], 0xe
cmp dword [edi - 4], 1
mov esi, dword [edi - 0xc]
jle 0x40aed5
push esi
lea eax, [ebp + 0x14]
push eax
call fcn.00404a2c
mov edi, dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push edi
push eax
mov eax, esi
call fcn.0040e3d1
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xf
call fcn.0040be33
mov edi, eax
mov eax, esi
call fcn.004043b3
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [0x429220]
and dword [ebp + 0x10], 0
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
lea edi, [ebp - 0x30]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
call fcn.0040fae6
test al, al
jne 0x40b053
cmp dword [ebp + 0x10], 0
je 0x40af6e
push 0x422b50
lea eax, [ebp + 0x18]
push eax
call fcn.0040bdce
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x40af7b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp - 0x24]
cmp esi, dword [edi + 4]
jne 0x40af89
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push dword [esi + 0xc]
lea eax, [ebp + 0x18]
push eax
call fcn.0040bdce
push 0x422b54
lea eax, [ebp + 0x18]
push eax
call fcn.0040bdce
cmp esi, dword [edi + 4]
jne 0x40afae
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x10]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x18]
call fcn.00405213
mov eax, dword [0x429220]
inc dword [ebp + 0x10]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x11
mov eax, dword [0x429220]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x12
cmp esi, dword [edi + 4]
jne 0x40aff3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push dword [esi + 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.00411e9b
cmp esi, dword [edi + 4]
pop ecx
pop ecx
jne 0x40b00c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push dword [esi + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.00411e9b
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
push esi
push edi
push str._s___s
push str.bugreport
call fcn.0041209a
add esp, 0x18
lea eax, [esi - 0x10]
call fcn.004016a2
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x10
call fcn.004016a2
lea esi, [ebp - 0x28]
call fcn.004051c4
jmp 0x40af41
mov eax, dword [0x429220]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0x13
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.00411e9b
mov edi, dword [ebp + 0x10]
push edi
push str.sending_server_data__s
push str.bugreport
call fcn.0041209a
add esp, 0x14
push dword [esi - 0xc]
push esi
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov ebx, eax
lea eax, [edi - 0x10]
call fcn.004016a2
lea eax, [esi - 0x10]
call fcn.004016a2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004016a2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
call fcn.0040bf3a
mov eax, ebx
call fcn.0041a2f6
ret 0x14