Function at 0x40b7aa
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x41bc75
call fcn.0041a5fe
lea esi, [ebp - 0x3c]
call fcn.0040c9b7
and dword [ebp - 4], 0
push dword [ebp + 0x18]
mov ecx, esi
push 1
call fcn.0040bfca
mov eax, dword [0x42a870]
mov ebx, 0x42a870
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [0x42a870]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov esi, 0x167
lea eax, [ebp + 0x18]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.004010c5
call fcn.0040392d
push dword [eax]
call dword [0x41d41c]
mov edi, eax
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.00401677
test edi, edi
je 0x40b8b6
mov eax, dword [0x42a870]
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.0040392d
lea ecx, [ebp + 0x18]
call fcn.0040f28c
lea eax, [ebp - 0x18]
mov dword [esp], 0x422174
push eax
lea ecx, [ebp + 0x18]
call fcn.004047cb
lea ecx, [ebp - 0x1c]
push 0x422188
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040476f
add esp, 0x10
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 5
call fcn.0040461e
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.00401677
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040471e
mov byte [ebp - 4], 6
push dword [eax]
mov esi, 0x1f4
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.00412020
add esp, 0x14
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004043e0
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [0x42a870]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x14]
push dword [eax]
lea eax, [ebp + 0x14]
push esi
push eax
call fcn.00412020
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [ebp + 0xc]
push 0x3c
push eax
call fcn.00412020
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
mov ecx, str.UserDescription
mov byte [ebp - 4], 0xa
call fcn.004097b6
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x40b96e
push esi
mov eax, edi
push eax
call fcn.00404ab7
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp + 0x10]
push eax
mov eax, esi
call fcn.0040e70e
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xc
call fcn.0040c9da
mov edi, eax
mov eax, esi
call fcn.004043e0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.00401677
mov edi, dword [ebp + 0xc]
cmp dword [edi - 0xc], 0
je 0x40ba25
lea eax, [ebp + 0x18]
push eax
mov ecx, str.Account
call fcn.004097b6
mov byte [ebp - 4], 0xd
cmp dword [edi - 4], 1
mov esi, dword [edi - 0xc]
jle 0x40b9e2
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.00404ab7
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push edi
push eax
mov eax, esi
call fcn.0040e70e
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xe
call fcn.0040c9da
mov edi, eax
mov eax, esi
call fcn.004043e0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.00401677
mov edi, dword [ebp + 0x14]
cmp dword [edi - 0xc], 0
je 0x40ba99
lea eax, [ebp + 0x18]
push eax
mov ecx, str.Contact
call fcn.004097b6
mov byte [ebp - 4], 0xf
cmp dword [edi - 4], 1
mov esi, dword [edi - 0xc]
jle 0x40ba56
push esi
lea eax, [ebp + 0x14]
push eax
call fcn.00404ab7
mov edi, dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push edi
push eax
mov eax, esi
call fcn.0040e70e
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x10
call fcn.0040c9da
mov edi, eax
mov eax, esi
call fcn.004043e0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [0x42a870]
and dword [ebp + 0x10], 0
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x11
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.0040ff16
test al, al
jne 0x40bbd4
cmp dword [ebp + 0x10], 0
je 0x40baef
push 0x423be0
lea eax, [ebp + 0x18]
push eax
call fcn.0040c952
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x40bafc
call dword [0x41d350]
mov esi, dword [ebp - 0x24]
cmp esi, dword [edi + 4]
jne 0x40bb0a
call dword [0x41d350]
push dword [esi + 0xc]
lea eax, [ebp + 0x18]
push eax
call fcn.0040c952
push 0x423be4
lea eax, [ebp + 0x18]
push eax
call fcn.0040c952
cmp esi, dword [edi + 4]
jne 0x40bb2f
call dword [0x41d350]
mov eax, dword [esi + 0x10]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x18]
call fcn.004053ab
mov eax, dword [0x42a870]
inc dword [ebp + 0x10]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x12
mov eax, dword [0x42a870]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x13
cmp esi, dword [edi + 4]
jne 0x40bb74
call dword [0x41d350]
push dword [esi + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.004122b6
cmp esi, dword [edi + 4]
pop ecx
pop ecx
jne 0x40bb8d
call dword [0x41d350]
push dword [esi + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.004122b6
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
push esi
push edi
push str._s___s
push str.bugreport
call fcn.004124b5
add esp, 0x18
lea eax, [esi - 0x10]
call fcn.00401677
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x11
call fcn.00401677
lea esi, [ebp - 0x28]
call fcn.004052f9
jmp 0x40bac2
mov eax, dword [0x42a870]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0x14
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.004122b6
mov edi, dword [ebp + 0x10]
push edi
push str.sending_server_data__s
push str.bugreport
call fcn.004124b5
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.00401677
lea eax, [esi - 0x10]
call fcn.00401677
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401677
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
call fcn.00404990
mov eax, ebx
call fcn.0041a6d6
ret 0x14