Function at 0x100504c0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2ac3
mov eax, dword fs:[0]
push eax
sub esp, 0x61c
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 - 0x4b0], ecx
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4f8], 0
mov eax, dword [ebp - 0x4b0]
cmp dword [eax + 8], 0
je 0x1005051d
mov ecx, dword [ebp - 0x4b0]
cmp dword [ecx + 8], 0xffffffff
jne 0x10050538
mov dword [ebp - 0x554], 0x100fb208
push 0x1010887c
lea edx, [ebp - 0x554]
push edx
call sub.MSVCR120.dll__CxxThrowException
call fcn.1002cc50
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp - 0x4b0]
cmp dword [eax + 0xa4], 2
jne 0x1005055e
mov dword [ebp - 0x528], 0x800000
jmp 0x10050568
mov dword [ebp - 0x528], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4b4], ecx
cmp dword [ebp - 0x4b4], 0
jne 0x10050589
mov dword [ebp - 0x530], 0
jmp 0x10050641
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4d8], edx
mov eax, dword [ebp - 0x4d8]
add eax, 1
mov dword [ebp - 0x5cc], eax
mov ecx, dword [ebp - 0x4d8]
mov dl, byte [ecx]
mov byte [ebp - 0x4b9], dl
add dword [ebp - 0x4d8], 1
cmp byte [ebp - 0x4b9], 0
jne 0x100505a4
mov eax, dword [ebp - 0x4d8]
sub eax, dword [ebp - 0x5cc]
mov dword [ebp - 0x5d4], eax
mov ecx, dword [ebp - 0x5d4]
add ecx, 1
mov dword [ebp - 0x4b8], ecx
cmp dword [ebp - 0x4b8], 0x3fffffff
jle 0x100505fb
mov dword [ebp - 0x518], 0
jmp 0x10050635
mov eax, dword [ebp - 0x4b8]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x5dc], esp
mov edx, dword [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x4b8]
push eax
mov ecx, dword [ebp - 0x4b4]
push ecx
mov edx, dword [ebp - 0x5dc]
push edx
call fcn.100492f0
mov dword [ebp - 0x518], eax
mov eax, dword [ebp - 0x518]
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4b4], ecx
cmp dword [ebp - 0x4b4], 0
jne 0x10050662
mov dword [ebp - 0x538], 0
jmp 0x1005071a
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x4e0]
add eax, 1
mov dword [ebp - 0x5e4], eax
mov ecx, dword [ebp - 0x4e0]
mov dl, byte [ecx]
mov byte [ebp - 0x4bd], dl
add dword [ebp - 0x4e0], 1
cmp byte [ebp - 0x4bd], 0
jne 0x1005067d
mov eax, dword [ebp - 0x4e0]
sub eax, dword [ebp - 0x5e4]
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5ec]
add ecx, 1
mov dword [ebp - 0x4b8], ecx
cmp dword [ebp - 0x4b8], 0x3fffffff
jle 0x100506d4
mov dword [ebp - 0x520], 0
jmp 0x1005070e
mov eax, dword [ebp - 0x4b8]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x5f4], esp
mov edx, dword [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x4b8]
push eax
mov ecx, dword [ebp - 0x4b4]
push ecx
mov edx, dword [ebp - 0x5f4]
push edx
call fcn.100492f0
mov dword [ebp - 0x520], eax
mov eax, dword [ebp - 0x520]
mov dword [ebp - 0x538], eax
push 0
mov ecx, dword [ebp - 0x528]
or ecx, 0x4400040
push ecx
push 0x101226a4
mov edx, dword [ebp - 0x530]
push edx
push 0x100fb154
mov eax, dword [ebp - 0x538]
push eax
push 0x100fb220
mov ecx, dword [ebp - 0x4b0]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 0x4b0]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x4b0]
cmp dword [edx + 0xc], 0
je 0x1005077b
mov eax, dword [ebp - 0x4b0]
cmp dword [eax + 0xc], 0xffffffff
jne 0x10050831
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x10050816
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x4ac]
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 - 0x5fc], eax
mov edx, dword [ebp - 0x5fc]
mov dword [ebp - 0x5f0], edx
mov dword [ebp - 4], 0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x600], esp
mov ecx, dword [ebp - 0x5f0]
push ecx
push 0x100fb240
push eax
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x544], eax
mov edx, dword [ebp - 0x544]
mov dword [ebp - 0x61c], 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 - 0x4ac]
call fcn.1000a1c0
mov dword [ebp - 0x5b8], 0x100fb22c
push 0x1010887c
lea eax, [ebp - 0x5b8]
push eax
call sub.MSVCR120.dll__CxxThrowException
mov dword [ebp - 0x4cc], 0x100fb2a0
mov ecx, dword [ebp - 0x4cc]
add ecx, 2
mov dword [ebp - 0x54c], ecx
mov edx, dword [ebp - 0x4cc]
mov ax, word [edx]
mov word [ebp - 0x4fa], ax
add dword [ebp - 0x4cc], 2
cmp word [ebp - 0x4fa], 0
jne 0x1005084a
mov ecx, dword [ebp - 0x4cc]
sub ecx, dword [ebp - 0x54c]
sar ecx, 1
mov dword [ebp - 0x5f8], ecx
push 0x80000000
mov edx, dword [ebp - 0x5f8]
push edx
push 0x100fb300
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x100508bf
mov dword [ebp - 0x53c], 0x100fb360
push 0x1010887c
lea edx, [ebp - 0x53c]
push edx
call sub.MSVCR120.dll__CxxThrowException
mov eax, dword [0x101226bc]
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
add ecx, 2
mov dword [ebp - 0x5c0], ecx
mov edx, dword [ebp - 0x4e8]
mov ax, word [edx]
mov word [ebp - 0x4f2], ax
add dword [ebp - 0x4e8], 2
cmp word [ebp - 0x4f2], 0
jne 0x100508d9
mov ecx, dword [ebp - 0x4e8]
sub ecx, dword [ebp - 0x5c0]
sar ecx, 1
mov dword [ebp - 0x55c], ecx
push 0x10000000
mov edx, dword [ebp - 0x55c]
push edx
mov eax, dword [0x101226bc]
push eax
mov ecx, dword [ebp - 0x4b0]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x1005094f
mov dword [ebp - 0x5e0], 0x100fb37c
push 0x1010887c
lea eax, [ebp - 0x5e0]
push eax
call sub.MSVCR120.dll__CxxThrowException
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xbc
call fcn.100140a0
movzx ecx, al
test ecx, ecx
jne 0x100509dd
push 0x10000000
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xbc
call fcn.1000d8c0
push eax
mov edx, dword [ebp - 0x4b0]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x100509cc
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xbc
call fcn.1003eb50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x564], 0x100fb398
push 0x1010887c
lea ecx, [ebp - 0x564]
push ecx
call sub.MSVCR120.dll__CxxThrowException
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xbc
call fcn.1003eb50
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xb0
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jbe 0x10050e62
lea ecx, [ebp - 0x434]
call fcn.10009fb0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x4b0]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x534], eax
cmp dword [ebp - 0x534], 1
je 0x10050a2e
cmp dword [ebp - 0x534], 2
je 0x10050a40
jmp 0x10050a50
push 0x100fb3b4
lea ecx, [ebp - 0x434]
call fcn.1001ca80
jmp 0x10050a50
push 0x100fb3bc
lea ecx, [ebp - 0x434]
call fcn.1001ca80
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x10
call fcn.1000d8c0
push eax
lea ecx, [ebp - 0x434]
call fcn.1000f720
mov ecx, dword [ebp - 0x4b0]
cmp dword [ecx + 0xa4], 1
jne 0x10050a88
mov edx, dword [ebp - 0x4b0]
cmp dword [edx + 0xa0], 0x50
je 0x10050aec
mov eax, dword [ebp - 0x4b0]
cmp dword [eax + 0xa4], 2
jne 0x10050aa9
mov ecx, dword [ebp - 0x4b0]
cmp dword [ecx + 0xa0], 0x1bb
je 0x10050aec
mov dx, word [0x100fb3c8]
mov word [ebp - 0x1c], dx
xor eax, eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov ecx, dword [ebp - 0x4b0]
mov edx, dword [ecx + 0xa0]
push edx
push 0x100fb3cc
push 0xa
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x434]
call fcn.1000f720
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x434]
call fcn.1000f720
lea eax, [ebp - 0x4f0]
push eax
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xb0
call fcn.10022cb0
jmp 0x10050b29
push 0
lea ecx, [ebp - 0x604]
push ecx
lea ecx, [ebp - 0x4f0]
call fcn.100471e0
lea edx, [ebp - 0x608]
push edx
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xb0
call fcn.100270e0
push eax
lea ecx, [ebp - 0x4f0]
call fcn.10025c60
movzx eax, al
test eax, eax
je 0x10050e50
lea ecx, [ebp - 0x4f0]
call fcn.100232a0
mov ecx, dword [eax]
mov dword [ebp - 0x508], ecx
mov ecx, dword [ebp - 0x508]
add ecx, 0x18
call fcn.1000d8c0
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x4b4], 0
jne 0x10050b97
mov dword [ebp - 0x50c], 0
jmp 0x10050c4f
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4d0], edx
mov eax, dword [ebp - 0x4d0]
add eax, 1
mov dword [ebp - 0x5c8], eax
mov ecx, dword [ebp - 0x4d0]
mov dl, byte [ecx]
mov byte [ebp - 0x4bf], dl
add dword [ebp - 0x4d0], 1
cmp byte [ebp - 0x4bf], 0
jne 0x10050bb2
mov eax, dword [ebp - 0x4d0]
sub eax, dword [ebp - 0x5c8]
mov dword [ebp - 0x56c], eax
mov ecx, dword [ebp - 0x56c]
add ecx, 1
mov dword [ebp - 0x4b8], ecx
cmp dword [ebp - 0x4b8], 0x3fffffff
jle 0x10050c09
mov dword [ebp - 0x504], 0
jmp 0x10050c43
mov eax, dword [ebp - 0x4b8]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x598], esp
mov edx, dword [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x4b8]
push eax
mov ecx, dword [ebp - 0x4b4]
push ecx
mov edx, dword [ebp - 0x598]
push edx
call fcn.100492f0
mov dword [ebp - 0x504], eax
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x50c], eax
mov ecx, dword [ebp - 0x508]
call fcn.1000d8c0
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x4b4], 0
jne 0x10050c78
mov dword [ebp - 0x524], 0
jmp 0x10050d30
mov ecx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4d4], ecx
mov edx, dword [ebp - 0x4d4]
add edx, 1
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x4d4]
mov cl, byte [eax]
mov byte [ebp - 0x4be], cl
add dword [ebp - 0x4d4], 1
cmp byte [ebp - 0x4be], 0
jne 0x10050c93
mov edx, dword [ebp - 0x4d4]
sub edx, dword [ebp - 0x574]
mov dword [ebp - 0x59c], edx
mov eax, dword [ebp - 0x59c]
add eax, 1
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x4b8], 0x3fffffff
jle 0x10050cea
mov dword [ebp - 0x510], 0
jmp 0x10050d24
mov eax, dword [ebp - 0x4b8]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x57c], esp
mov ecx, dword [ebp - 0x4c8]
push ecx
mov edx, dword [ebp - 0x4b8]
push edx
mov eax, dword [ebp - 0x4b4]
push eax
mov ecx, dword [ebp - 0x57c]
push ecx
call fcn.100492f0
mov dword [ebp - 0x510], eax
mov edx, dword [ebp - 0x510]
mov dword [ebp - 0x524], edx
lea ecx, [ebp - 0x434]
call fcn.1000d8c0
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x4b4], 0
jne 0x10050d59
mov dword [ebp - 0x514], 0
jmp 0x10050e11
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
add ecx, 1
mov dword [ebp - 0x5a4], ecx
mov edx, dword [ebp - 0x4dc]
mov al, byte [edx]
mov byte [ebp - 0x4bc], al
add dword [ebp - 0x4dc], 1
cmp byte [ebp - 0x4bc], 0
jne 0x10050d74
mov ecx, dword [ebp - 0x4dc]
sub ecx, dword [ebp - 0x5a4]
mov dword [ebp - 0x584], ecx
mov edx, dword [ebp - 0x584]
add edx, 1
mov dword [ebp - 0x4b8], edx
cmp dword [ebp - 0x4b8], 0x3fffffff
jle 0x10050dcb
mov dword [ebp - 0x52c], 0
jmp 0x10050e05
mov eax, dword [ebp - 0x4b8]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x5ac], esp
mov eax, dword [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x4b8]
push ecx
mov edx, dword [ebp - 0x4b4]
push edx
mov eax, dword [ebp - 0x5ac]
push eax
call fcn.100492f0
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x52c]
mov dword [ebp - 0x514], ecx
mov edx, dword [ebp - 0x50c]
push edx
mov eax, dword [ebp - 0x524]
push eax
mov ecx, dword [ebp - 0x514]
push ecx
call dword [sym.imp.WININET.dll_InternetSetCookieW]
test eax, eax
jne 0x10050e4b
mov dword [ebp - 0x58c], 0x100fb3d0
push 0x1010887c
lea edx, [ebp - 0x58c]
push edx
call sub.MSVCR120.dll__CxxThrowException
jmp 0x10050b15
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.1000a070
push 0x100fb3e8
lea eax, [ebp - 0x4c4]
push eax
mov ecx, dword [ebp - 0x4b0]
call sym.COMMON.dll_protected:_unsigned_long_int___thiscall_W3Client::AllocMultiPartsFormData_unsigned_char____char_const__
mov dword [ebp - 0x4f8], eax
mov cx, word [0x100fb40c]
mov word [ebp - 0x41c], cx
push 0x3fe
push 0
lea edx, [ebp - 0x41a]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x4f8]
push eax
push 0x100fb410
push 0x400
lea ecx, [ebp - 0x41c]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
lea edx, [ebp - 0x41c]
mov dword [ebp - 0x4e4], edx
mov eax, dword [ebp - 0x4e4]
add eax, 1
mov dword [ebp - 0x5b4], eax
mov ecx, dword [ebp - 0x4e4]
mov dl, byte [ecx]
mov byte [ebp - 0x4ba], dl
add dword [ebp - 0x4e4], 1
cmp byte [ebp - 0x4ba], 0
jne 0x10050edf
mov eax, dword [ebp - 0x4e4]
sub eax, dword [ebp - 0x5b4]
mov dword [ebp - 0x5a0], eax
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x4b4], ecx
cmp dword [ebp - 0x4b4], 0
jne 0x10050f33
mov dword [ebp - 0x51c], 0
jmp 0x10050feb
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4ec], edx
mov eax, dword [ebp - 0x4ec]
add eax, 1
mov dword [ebp - 0x594], eax
mov ecx, dword [ebp - 0x4ec]
mov dl, byte [ecx]
mov byte [ebp - 0x4bb], dl
add dword [ebp - 0x4ec], 1
cmp byte [ebp - 0x4bb], 0
jne 0x10050f4e
mov eax, dword [ebp - 0x4ec]
sub eax, dword [ebp - 0x594]
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x5bc]
add ecx, 1
mov dword [ebp - 0x4b8], ecx
cmp dword [ebp - 0x4b8], 0x3fffffff
jle 0x10050fa5
mov dword [ebp - 0x500], 0
jmp 0x10050fdf
mov eax, dword [ebp - 0x4b8]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x5c4], esp
mov edx, dword [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x4b8]
push eax
mov ecx, dword [ebp - 0x4b4]
push ecx
mov edx, dword [ebp - 0x5c4]
push edx
call fcn.100492f0
mov dword [ebp - 0x500], eax
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0x51c], eax
push 0x10000000
mov ecx, dword [ebp - 0x5a0]
push ecx
mov edx, dword [ebp - 0x51c]
push edx
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x1005102d
mov dword [ebp - 0x5d0], 0x100fb428
push 0x1010887c
lea edx, [ebp - 0x5d0]
push edx
call sub.MSVCR120.dll__CxxThrowException
mov dword [0x10123e34], 0x28
mov dword [0x10123e38], 0
push 0
push 8
push 0
push 0x10123e34
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x1005112c
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x100510ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x494]
push edx
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 - 0x5a8], eax
mov eax, dword [ebp - 0x5a8]
mov dword [ebp - 0x5e8], eax
mov dword [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x610], esp
mov edx, dword [ebp - 0x5e8]
push edx
push str.FreeMultiPartsFormData__HttpSendRequestEx_Failed:
push ecx
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x5b0], eax
mov eax, dword [ebp - 0x5b0]
mov dword [ebp - 0x618], eax
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 - 0x494]
call fcn.1000a1c0
mov ecx, dword [ebp - 0x4c4]
push ecx
mov ecx, dword [ebp - 0x4b0]
call sym.COMMON.dll_protected:_void___thiscall_W3Client::FreeMultiPartsFormData_unsigned_char__
mov dword [ebp - 0x5d8], 0x100fb444
push 0x1010887c
lea edx, [ebp - 0x5d8]
push edx
call sub.MSVCR120.dll__CxxThrowException
mov dword [ebp - 0x548], 0
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x4b0]
call sym.COMMON.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_W3Client::GetPeerIp_void_
mov dword [ebp - 0x540], eax
mov ecx, dword [ebp - 0x540]
push ecx
mov ecx, dword [ebp - 0x4b0]
add ecx, 0x88
call fcn.1000a110
lea ecx, [ebp - 0x44c]
call fcn.1000a1c0
lea edx, [ebp - 0x548]
push edx
mov eax, dword [ebp - 0x4f8]
push eax
mov ecx, dword [ebp - 0x4c4]
push ecx
mov edx, dword [ebp - 0x4b0]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x10051272
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x550], eax
mov ecx, dword [ebp - 0x4c4]
push ecx
mov ecx, dword [ebp - 0x4b0]
call sym.COMMON.dll_protected:_void___thiscall_W3Client::FreeMultiPartsFormData_unsigned_char__
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x10051257
mov edx, dword [ebp - 0x550]
push edx
lea eax, [ebp - 0x464]
push eax
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 - 0x558], eax
mov ecx, dword [ebp - 0x558]
mov dword [ebp - 0x560], ecx
mov dword [ebp - 4], 5
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x620], esp
mov eax, dword [ebp - 0x560]
push eax
push str.FreeMultiPartsFormData__HttpOpenRequest_Failed:
push edx
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x568], eax
mov ecx, dword [ebp - 0x568]
mov dword [ebp - 0x628], ecx
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 - 0x464]
call fcn.1000a1c0
mov dword [ebp - 0x570], 0x100fb4bc
push 0x1010887c
lea edx, [ebp - 0x570]
push edx
call sub.MSVCR120.dll__CxxThrowException
push 0
push 8
push 0
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x10051358
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x1005132b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x47c]
push edx
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 - 0x578], eax
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x580], eax
mov dword [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x624], esp
mov edx, dword [ebp - 0x580]
push edx
push str.FreeMultiPartsFormData__HttpEndRequest_Failed:
push ecx
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x588], eax
mov eax, dword [ebp - 0x588]
mov dword [ebp - 0x60c], eax
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 - 0x47c]
call fcn.1000a1c0
mov ecx, dword [ebp - 0x4c4]
push ecx
mov ecx, dword [ebp - 0x4b0]
call sym.COMMON.dll_protected:_void___thiscall_W3Client::FreeMultiPartsFormData_unsigned_char__
mov dword [ebp - 0x590], 0x100fb590
push 0x1010887c
lea edx, [ebp - 0x590]
push edx
call sub.MSVCR120.dll__CxxThrowException
mov eax, dword [ebp - 0x4c4]
push eax
mov ecx, dword [ebp - 0x4b0]
call sym.COMMON.dll_protected:_void___thiscall_W3Client::FreeMultiPartsFormData_unsigned_char__
mov al, 1
lea esp, [ebp - 0x62c]
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 8