Function at 0x40b850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415aa1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x42001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00405d80
mov dword [ebp - 0x30], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 8], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.0040c130
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_void_]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
mov byte [ebp - 4], 2
call fcn.004010b0
mov ecx, eax
mov eax, 1
lea esi, [ebp + 0x18]
call fcn.004043f0
mov edi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ecx, eax
call edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp + 0x18]
mov esi, eax
call ebx
test esi, esi
je 0x40b982
lea ecx, [ebp + 0x18]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], esp
call fcn.004010b0
mov ecx, eax
mov eax, 1
mov esi, esp
call fcn.004043f0
lea esi, [ebp + 0x18]
call fcn.004122c0
add esp, 4
mov ecx, esi
push ecx
lea edx, [ebp - 0x28]
push 0x418a34
push edx
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__]
add esp, 0xc
push 0x418a44
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call dword [0x4170f0]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call ebx
mov ecx, esi
mov byte [ebp - 4], 2
call ebx
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__]
add esp, 0xc
mov bl, 6
push 0xffffffffffffffff
mov ecx, eax
mov byte [ebp - 4], bl
call edi
mov esi, dword [sym.imp.Common.dll_class_CTXStringA___cdecl_Util::Convert::Utf8FromWSLimit_int__wchar_t_const___int_]
push eax
lea ecx, [ebp + 0x18]
push 0x1f4
push ecx
call esi
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call dword [sym.imp.Common.dll_public:_class_CTXStringA____thiscall_CTXStringA::operator_class_CTXStringA_const__]
mov byte [ebp - 4], bl
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
lea ecx, [ebp + 0x18]
call ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
call edi
push eax
lea edx, [ebp - 0x18]
push 0x1f4
push edx
call esi
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov byte [ebp - 4], 8
call edi
push eax
lea eax, [ebp - 0x14]
push 0x3c
push eax
call esi
add esp, 0x10
push str.UserDescription
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 9
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_char_const__]
mov byte [ebp - 4], 0xa
mov esi, dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringA::GetLength_void_const]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x1c]
mov edi, eax
call dword [sym.imp.Common.dll_public:_char____thiscall_CTXStringA::GetBuffer_void_]
push eax
lea ecx, [ebp + 0xc]
push ecx
mov eax, edi
call fcn.004114d0
add esp, 8
push eax
push ecx
lea edx, [ebp + 0x18]
push edx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.0040e950
add esp, 4
mov edi, dword [sym.imp.Common.dll_public:_class_CTXStringA____thiscall_CTXStringA::operator_class_CTXStringA_const__]
mov ecx, eax
call edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xa
call ebx
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 9
call ebx
lea ecx, [ebp - 0x14]
call esi
test eax, eax
je 0x40bae4
push str.Account
lea ecx, [ebp + 0x18]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_char_const__]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call esi
lea ecx, [ebp - 0x14]
mov edi, eax
call dword [sym.imp.Common.dll_public:_char____thiscall_CTXStringA::GetBuffer_void_]
push eax
lea eax, [ebp + 0xc]
push eax
mov eax, edi
call fcn.004114d0
add esp, 8
push eax
push ecx
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.0040e950
mov edi, dword [sym.imp.Common.dll_public:_class_CTXStringA____thiscall_CTXStringA::operator_class_CTXStringA_const__]
add esp, 4
mov ecx, eax
call edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call ebx
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 9
call ebx
lea ecx, [ebp - 0x18]
call esi
test eax, eax
je 0x40bb49
push str.Contact
lea ecx, [ebp + 0x18]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_char_const__]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call esi
lea ecx, [ebp - 0x18]
mov esi, eax
call dword [sym.imp.Common.dll_public:_char____thiscall_CTXStringA::GetBuffer_void_]
push eax
lea edx, [ebp + 0xc]
push edx
mov eax, esi
call fcn.004114d0
add esp, 8
push eax
push ecx
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.0040e950
add esp, 4
mov ecx, eax
call edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call ebx
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 9
call ebx
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x18], 0
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_void_]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x30]
mov esi, dword [ecx]
cmp esi, dword [ebp - 0x30]
je 0x40bcb7
cmp dword [ebp + 0x18], 0
je 0x40bb7f
push 0x4190e0
lea ecx, [ebp - 0x10]
call dword [0x417030]
cmp esi, dword [ebp - 0x30]
jne 0x40bb8a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea edi, [esi + 0xc]
mov ecx, edi
call dword [sym.imp.Common.dll_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const]
push eax
lea ecx, [ebp - 0x10]
call dword [0x417030]
push 0x4190e4
lea ecx, [ebp - 0x10]
call dword [0x417030]
cmp esi, dword [ebp - 0x30]
jne 0x40bbb8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea edx, [esi + 0x10]
push edx
lea ecx, [ebp - 0x10]
call dword [0x417150]
add dword [ebp + 0x18], 1
cmp esi, dword [ebp - 0x30]
mov byte [ebp + 0xc], 0
mov byte [ebp + 0x14], 0
jne 0x40bbdc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push 0xffffffffffffffff
lea ecx, [edi + 4]
call dword [sym.imp.Common.dll_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_struct_tagEN__char_const___int_]
mov byte [ebp - 4], 0x11
cmp esi, dword [ebp - 0x30]
mov ecx, dword [eax]
push ecx
jne 0x40bc07
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ecx
mov eax, esp
mov dword [ebp + 0x10], esp
push 0xffffffffffffffff
mov ecx, edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.Common.dll_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov ecx, eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_struct_tagEN__char_const___int_]
push str.func
push 0x16f
push str.file
mov ecx, str._s___s
mov edx, 0x417d14
mov edi, 2
call fcn.00405fe0
add esp, 0x14
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
cmp byte [esi + 0x15], 0
je 0x40bc6e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jmp 0x40bb62
mov eax, dword [esi + 8]
cmp byte [eax + 0x15], 0
jne 0x40bc94
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
jne 0x40bb62
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
je 0x40bc85
jmp 0x40bb62
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
jne 0x40bcb0
lea ecx, [ecx]
cmp esi, dword [eax + 8]
jne 0x40bcb0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x40bca0
mov esi, eax
jmp 0x40bb62
mov esi, dword [sym.imp.Common.dll_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const]
push ecx
mov edi, esp
mov dword [ebp + 0xc], esp
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov byte [ebp + 0x18], 0
call esi
push eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, edi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_struct_tagEN__char_const___int_]
push str.func
push 0x179
push str.file
mov ecx, str.sending_server_data__s
mov edx, str.bugreport
mov edi, 2
call fcn.00405fe0
add esp, 0x10
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringA::GetLength_void_const]
push eax
lea ecx, [ebp - 0x10]
call esi
mov ecx, dword [ebp + 8]
push eax
push 0
push 0
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea ecx, [ebp - 0x10]
mov esi, eax
mov byte [ebp - 4], 9
call ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ecc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14