Function at 0x10051390
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2b53
mov eax, dword fs:[0]
push eax
sub esp, 0x5f8
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a0], ecx
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4e0], 0
mov eax, dword [ebp - 0x4a0]
cmp dword [eax + 8], 0
je 0x100513ed
mov ecx, dword [ebp - 0x4a0]
cmp dword [ecx + 8], 0xffffffff
jne 0x10051408
mov dword [ebp - 0x538], 0x100fb6a0
push 0x1010887c
lea edx, [ebp - 0x538]
push edx
call sub.MSVCR120.dll__CxxThrowException
call fcn.1002cc50
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x4a0]
cmp dword [eax + 0xa4], 2
jne 0x1005142e
mov dword [ebp - 0x518], 0x800000
jmp 0x10051438
mov dword [ebp - 0x518], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x498], ecx
cmp dword [ebp - 0x498], 0
jne 0x10051459
mov dword [ebp - 0x520], 0
jmp 0x10051511
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x4c0], edx
mov eax, dword [ebp - 0x4c0]
add eax, 1
mov dword [ebp - 0x5b0], eax
mov ecx, dword [ebp - 0x4c0]
mov dl, byte [ecx]
mov byte [ebp - 0x4a1], dl
add dword [ebp - 0x4c0], 1
cmp byte [ebp - 0x4a1], 0
jne 0x10051474
mov eax, dword [ebp - 0x4c0]
sub eax, dword [ebp - 0x5b0]
mov dword [ebp - 0x5b8], eax
mov ecx, dword [ebp - 0x5b8]
add ecx, 1
mov dword [ebp - 0x49c], ecx
cmp dword [ebp - 0x49c], 0x3fffffff
jle 0x100514cb
mov dword [ebp - 0x508], 0
jmp 0x10051505
mov eax, dword [ebp - 0x49c]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x5c0], esp
mov edx, dword [ebp - 0x4ac]
push edx
mov eax, dword [ebp - 0x49c]
push eax
mov ecx, dword [ebp - 0x498]
push ecx
mov edx, dword [ebp - 0x5c0]
push edx
call fcn.100492f0
mov dword [ebp - 0x508], eax
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x498], ecx
cmp dword [ebp - 0x498], 0
jne 0x10051532
mov dword [ebp - 0x51c], 0
jmp 0x100515ea
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x4b4], edx
mov eax, dword [ebp - 0x4b4]
add eax, 1
mov dword [ebp - 0x5c8], eax
mov ecx, dword [ebp - 0x4b4]
mov dl, byte [ecx]
mov byte [ebp - 0x4a5], dl
add dword [ebp - 0x4b4], 1
cmp byte [ebp - 0x4a5], 0
jne 0x1005154d
mov eax, dword [ebp - 0x4b4]
sub eax, dword [ebp - 0x5c8]
mov dword [ebp - 0x5d0], eax
mov ecx, dword [ebp - 0x5d0]
add ecx, 1
mov dword [ebp - 0x49c], ecx
cmp dword [ebp - 0x49c], 0x3fffffff
jle 0x100515a4
mov dword [ebp - 0x510], 0
jmp 0x100515de
mov eax, dword [ebp - 0x49c]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x5d8], esp
mov edx, dword [ebp - 0x4ac]
push edx
mov eax, dword [ebp - 0x49c]
push eax
mov ecx, dword [ebp - 0x498]
push ecx
mov edx, dword [ebp - 0x5d8]
push edx
call fcn.100492f0
mov dword [ebp - 0x510], eax
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x51c], eax
push 0
mov ecx, dword [ebp - 0x518]
or ecx, 0x4400040
push ecx
push 0x10122684
mov edx, dword [ebp - 0x520]
push edx
push 0x100fb5ec
mov eax, dword [ebp - 0x51c]
push eax
push 0x100fb6b8
mov ecx, dword [ebp - 0x4a0]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x1005163f
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x100516f5
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x100516da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x47c]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CCodeOperation::IntToWString_int_
add esp, 8
mov dword [ebp - 0x5ac], eax
mov edx, dword [ebp - 0x5ac]
mov dword [ebp - 0x5d4], edx
mov dword [ebp - 4], 0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x5dc], esp
mov ecx, dword [ebp - 0x5d4]
push ecx
push str.SafeRequestPost2__HttpOpenRequest_Failed:
push eax
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x530], eax
mov edx, dword [ebp - 0x530]
mov dword [ebp - 0x5f0], edx
mov byte [ebp - 4], 1
call fcn.1002e8a0
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.1002e660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.1000a1c0
mov dword [ebp - 0x59c], 0x100fb6c4
push 0x1010887c
lea eax, [ebp - 0x59c]
push eax
call sub.MSVCR120.dll__CxxThrowException
mov dword [ebp - 0x4d0], 0x100fb748
mov ecx, dword [ebp - 0x4d0]
add ecx, 2
mov dword [ebp - 0x524], ecx
mov edx, dword [ebp - 0x4d0]
mov ax, word [edx]
mov word [ebp - 0x4e2], ax
add dword [ebp - 0x4d0], 2
cmp word [ebp - 0x4e2], 0
jne 0x1005170e
mov ecx, dword [ebp - 0x4d0]
sub ecx, dword [ebp - 0x524]
sar ecx, 1
mov dword [ebp - 0x5bc], ecx
push 0x80000000
mov edx, dword [ebp - 0x5bc]
push edx
push 0x100fb7a8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x1005177f
mov dword [ebp - 0x540], 0x100fb72c
push 0x1010887c
lea edx, [ebp - 0x540]
push edx
call sub.MSVCR120.dll__CxxThrowException
mov eax, dword [0x101226c8]
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp - 0x4b8]
add ecx, 2
mov dword [ebp - 0x5a4], ecx
mov edx, dword [ebp - 0x4b8]
mov ax, word [edx]
mov word [ebp - 0x4da], ax
add dword [ebp - 0x4b8], 2
cmp word [ebp - 0x4da], 0
jne 0x10051799
mov ecx, dword [ebp - 0x4b8]
sub ecx, dword [ebp - 0x5a4]
sar ecx, 1
mov dword [ebp - 0x548], ecx
push 0x10000000
mov edx, dword [ebp - 0x548]
push edx
mov eax, dword [0x101226c8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x1005180b
mov dword [ebp - 0x5cc], 0x100fb808
push 0x1010887c
lea eax, [ebp - 0x5cc]
push eax
call sub.MSVCR120.dll__CxxThrowException
mov ecx, dword [ebp - 0x4a0]
add ecx, 0xb0
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jbe 0x10051c8d
lea ecx, [ebp - 0x434]
call fcn.10009fb0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x4a0]
mov edx, dword [ecx + 0xa4]
mov dword [ebp - 0x4f0], edx
cmp dword [ebp - 0x4f0], 1
je 0x1005185c
cmp dword [ebp - 0x4f0], 2
je 0x1005186e
jmp 0x1005187e
push 0x100fb824
lea ecx, [ebp - 0x434]
call fcn.1001ca80
jmp 0x1005187e
push 0x100fb82c
lea ecx, [ebp - 0x434]
call fcn.1001ca80
mov ecx, dword [ebp - 0x4a0]
add ecx, 0x10
call fcn.1000d8c0
push eax
lea ecx, [ebp - 0x434]
call fcn.1000f720
mov eax, dword [ebp - 0x4a0]
cmp dword [eax + 0xa4], 1
jne 0x100518b6
mov ecx, dword [ebp - 0x4a0]
cmp dword [ecx + 0xa0], 0x50
je 0x10051917
mov edx, dword [ebp - 0x4a0]
cmp dword [edx + 0xa4], 2
jne 0x100518d7
mov eax, dword [ebp - 0x4a0]
cmp dword [eax + 0xa0], 0x1bb
je 0x10051917
mov cx, word [0x100fb838]
mov word [ebp - 0x1c], cx
xor edx, edx
mov dword [ebp - 0x1a], edx
mov dword [ebp - 0x16], edx
mov eax, dword [ebp - 0x4a0]
mov ecx, dword [eax + 0xa0]
push ecx
push 0x100fb83c
lea edx, [ebp - 0x1c]
push edx
call fcn.10055690
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x434]
call fcn.1000f720
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x434]
call fcn.1000f720
lea edx, [ebp - 0x4d8]
push edx
mov ecx, dword [ebp - 0x4a0]
add ecx, 0xb0
call fcn.10022cb0
jmp 0x10051954
push 0
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.100471e0
lea ecx, [ebp - 0x5e4]
push ecx
mov ecx, dword [ebp - 0x4a0]
add ecx, 0xb0
call fcn.100270e0
push eax
lea ecx, [ebp - 0x4d8]
call fcn.10025c60
movzx edx, al
test edx, edx
je 0x10051c7b
lea ecx, [ebp - 0x4d8]
call fcn.100232a0
mov eax, dword [eax]
mov dword [ebp - 0x500], eax
mov ecx, dword [ebp - 0x500]
add ecx, 0x18
call fcn.1000d8c0
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x100519c2
mov dword [ebp - 0x50c], 0
jmp 0x10051a7a
mov ecx, dword [ebp - 0x498]
mov dword [ebp - 0x4bc], ecx
mov edx, dword [ebp - 0x4bc]
add edx, 1
mov dword [ebp - 0x550], edx
mov eax, dword [ebp - 0x4bc]
mov cl, byte [eax]
mov byte [ebp - 0x4a7], cl
add dword [ebp - 0x4bc], 1
cmp byte [ebp - 0x4a7], 0
jne 0x100519dd
mov edx, dword [ebp - 0x4bc]
sub edx, dword [ebp - 0x550]
mov dword [ebp - 0x57c], edx
mov eax, dword [ebp - 0x57c]
add eax, 1
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0x3fffffff
jle 0x10051a34
mov dword [ebp - 0x4f8], 0
jmp 0x10051a6e
mov eax, dword [ebp - 0x49c]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x558], esp
mov ecx, dword [ebp - 0x4ac]
push ecx
mov edx, dword [ebp - 0x49c]
push edx
mov eax, dword [ebp - 0x498]
push eax
mov ecx, dword [ebp - 0x558]
push ecx
call fcn.100492f0
mov dword [ebp - 0x4f8], eax
mov edx, dword [ebp - 0x4f8]
mov dword [ebp - 0x50c], edx
mov ecx, dword [ebp - 0x500]
call fcn.1000d8c0
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x10051aa3
mov dword [ebp - 0x4fc], 0
jmp 0x10051b5b
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
add ecx, 1
mov dword [ebp - 0x580], ecx
mov edx, dword [ebp - 0x4c4]
mov al, byte [edx]
mov byte [ebp - 0x4a6], al
add dword [ebp - 0x4c4], 1
cmp byte [ebp - 0x4a6], 0
jne 0x10051abe
mov ecx, dword [ebp - 0x4c4]
sub ecx, dword [ebp - 0x580]
mov dword [ebp - 0x560], ecx
mov edx, dword [ebp - 0x560]
add edx, 1
mov dword [ebp - 0x49c], edx
cmp dword [ebp - 0x49c], 0x3fffffff
jle 0x10051b15
mov dword [ebp - 0x514], 0
jmp 0x10051b4f
mov eax, dword [ebp - 0x49c]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x588], esp
mov eax, dword [ebp - 0x4ac]
push eax
mov ecx, dword [ebp - 0x49c]
push ecx
mov edx, dword [ebp - 0x498]
push edx
mov eax, dword [ebp - 0x588]
push eax
call fcn.100492f0
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x4fc], ecx
lea ecx, [ebp - 0x434]
call fcn.1000d8c0
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x10051b84
mov dword [ebp - 0x4e8], 0
jmp 0x10051c3c
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x4cc], edx
mov eax, dword [ebp - 0x4cc]
add eax, 1
mov dword [ebp - 0x568], eax
mov ecx, dword [ebp - 0x4cc]
mov dl, byte [ecx]
mov byte [ebp - 0x4a4], dl
add dword [ebp - 0x4cc], 1
cmp byte [ebp - 0x4a4], 0
jne 0x10051b9f
mov eax, dword [ebp - 0x4cc]
sub eax, dword [ebp - 0x568]
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
add ecx, 1
mov dword [ebp - 0x49c], ecx
cmp dword [ebp - 0x49c], 0x3fffffff
jle 0x10051bf6
mov dword [ebp - 0x4f4], 0
jmp 0x10051c30
mov eax, dword [ebp - 0x49c]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x570], esp
mov edx, dword [ebp - 0x4ac]
push edx
mov eax, dword [ebp - 0x49c]
push eax
mov ecx, dword [ebp - 0x498]
push ecx
mov edx, dword [ebp - 0x570]
push edx
call fcn.100492f0
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x4f4]
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x50c]
push ecx
mov edx, dword [ebp - 0x4fc]
push edx
mov eax, dword [ebp - 0x4e8]
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieW]
test eax, eax
jne 0x10051c76
mov dword [ebp - 0x598], 0x100fb840
push 0x1010887c
lea ecx, [ebp - 0x598]
push ecx
call sub.MSVCR120.dll__CxxThrowException
jmp 0x10051940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.1000a070
push 0x100fb858
lea edx, [ebp - 0x4b0]
push edx
mov ecx, dword [ebp - 0x4a0]
call sym.COMMON.dll_protected:_unsigned_long_int___thiscall_W3Client::AllocMultiPartsFormData_unsigned_char____char_const__
mov dword [ebp - 0x4e0], eax
mov ax, word [0x100fb87c]
mov word [ebp - 0x41c], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x41a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x4e0]
push edx
push 0x100fb880
push 0x400
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x4d4], ecx
mov edx, dword [ebp - 0x4d4]
add edx, 1
mov dword [ebp - 0x578], edx
mov eax, dword [ebp - 0x4d4]
mov cl, byte [eax]
mov byte [ebp - 0x4a2], cl
add dword [ebp - 0x4d4], 1
cmp byte [ebp - 0x4a2], 0
jne 0x10051d09
mov edx, dword [ebp - 0x4d4]
sub edx, dword [ebp - 0x578]
mov dword [ebp - 0x5c4], edx
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x10051d5d
mov dword [ebp - 0x4ec], 0
jmp 0x10051e15
mov ecx, dword [ebp - 0x498]
mov dword [ebp - 0x4c8], ecx
mov edx, dword [ebp - 0x4c8]
add edx, 1
mov dword [ebp - 0x5a0], edx
mov eax, dword [ebp - 0x4c8]
mov cl, byte [eax]
mov byte [ebp - 0x4a3], cl
add dword [ebp - 0x4c8], 1
cmp byte [ebp - 0x4a3], 0
jne 0x10051d78
mov edx, dword [ebp - 0x4c8]
sub edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x5a8], edx
mov eax, dword [ebp - 0x5a8]
add eax, 1
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0x3fffffff
jle 0x10051dcf
mov dword [ebp - 0x504], 0
jmp 0x10051e09
mov eax, dword [ebp - 0x49c]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x584], esp
mov ecx, dword [ebp - 0x4ac]
push ecx
mov edx, dword [ebp - 0x49c]
push edx
mov eax, dword [ebp - 0x498]
push eax
mov ecx, dword [ebp - 0x584]
push ecx
call fcn.100492f0
mov dword [ebp - 0x504], eax
mov edx, dword [ebp - 0x504]
mov dword [ebp - 0x4ec], edx
push 0x10000000
mov eax, dword [ebp - 0x5c4]
push eax
mov ecx, dword [ebp - 0x4ec]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x10051e53
mov dword [ebp - 0x58c], 0x100fb898
push 0x1010887c
lea ecx, [ebp - 0x58c]
push ecx
call sub.MSVCR120.dll__CxxThrowException
mov dword [0x10124260], 0x28
mov dword [0x10124264], 0
push 0
push 8
push 0
push 0x10124260
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x10051f4e
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x10051f21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x464]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CCodeOperation::IntToWString_int_
add esp, 8
mov dword [ebp - 0x5b4], eax
mov edx, dword [ebp - 0x5b4]
mov dword [ebp - 0x594], edx
mov dword [ebp - 4], 3
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x5ec], esp
mov ecx, dword [ebp - 0x594]
push ecx
push str.SafeRequestPost2__HttpSendRequestEx_Failed:
push eax
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x528], eax
mov edx, dword [ebp - 0x528]
mov dword [ebp - 0x5f4], edx
mov byte [ebp - 4], 4
call fcn.1002e8a0
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.1002e660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.1000a1c0
mov eax, dword [ebp - 0x4b0]
push eax
mov ecx, dword [ebp - 0x4a0]
call sym.COMMON.dll_protected:_void___thiscall_W3Client::FreeMultiPartsFormData_unsigned_char__
mov dword [ebp - 0x52c], str.HttpSendRequestEx_failed
push 0x1010887c
lea ecx, [ebp - 0x52c]
push ecx
call sub.MSVCR120.dll__CxxThrowException
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x5fc], 0
lea edx, [ebp - 0x534]
push edx
mov eax, dword [ebp - 0x4e0]
push eax
mov ecx, dword [ebp - 0x4b0]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x10052053
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x10052026
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x494]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CCodeOperation::IntToWString_int_
add esp, 8
mov dword [ebp - 0x53c], eax
mov edx, dword [ebp - 0x53c]
mov dword [ebp - 0x544], edx
mov dword [ebp - 4], 5
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x604], esp
mov ecx, dword [ebp - 0x544]
push ecx
push str.SafeRequestPost2__InternetWriteFile_Failed:
push eax
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x54c], eax
mov edx, dword [ebp - 0x54c]
mov dword [ebp - 0x600], edx
mov byte [ebp - 4], 6
call fcn.1002e8a0
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.1002e660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x494]
call fcn.1000a1c0
mov eax, dword [ebp - 0x4b0]
push eax
mov ecx, dword [ebp - 0x4a0]
call sym.COMMON.dll_protected:_void___thiscall_W3Client::FreeMultiPartsFormData_unsigned_char__
mov dword [ebp - 0x554], str.InternetWriteFile_failed
push 0x1010887c
lea ecx, [ebp - 0x554]
push ecx
call sub.MSVCR120.dll__CxxThrowException
push 0
push 8
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x10052135
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x10052108
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44c]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CCodeOperation::IntToWString_int_
add esp, 8
mov dword [ebp - 0x55c], eax
mov edx, dword [ebp - 0x55c]
mov dword [ebp - 0x564], edx
mov dword [ebp - 4], 7
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x5e8], esp
mov ecx, dword [ebp - 0x564]
push ecx
push str.SafeRequestPost2__HttpEndRequest_Failed:
push eax
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x56c], eax
mov edx, dword [ebp - 0x56c]
mov dword [ebp - 0x5f8], edx
mov byte [ebp - 4], 8
call fcn.1002e8a0
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.1002e660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.1000a1c0
mov eax, dword [ebp - 0x4b0]
push eax
mov ecx, dword [ebp - 0x4a0]
call sym.COMMON.dll_protected:_void___thiscall_W3Client::FreeMultiPartsFormData_unsigned_char__
mov dword [ebp - 0x574], str.HttpEndRequest_failed
push 0x1010887c
lea ecx, [ebp - 0x574]
push ecx
call sub.MSVCR120.dll__CxxThrowException
mov edx, dword [ebp - 0x4b0]
push edx
mov ecx, dword [ebp - 0x4a0]
call sym.COMMON.dll_protected:_void___thiscall_W3Client::FreeMultiPartsFormData_unsigned_char__
mov al, 1
lea esp, [ebp - 0x608]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret 0xc