Function at 0x10053f90
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2d01
mov eax, dword fs:[0]
push eax
sub esp, 0x158
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 - 0xa4], ecx
push 0x100fbf70
lea ecx, [ebp - 0x28]
call fcn.10014010
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
call fcn.100140a0
movzx eax, al
test eax, eax
jne 0x10054095
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x40]
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::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 8
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x130]
push ecx
push 0x100fbfd4
lea edx, [ebp - 0x88]
push edx
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 2
push 0x100fbef4
mov ecx, dword [ebp - 0x140]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.100245b0
add esp, 0xc
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a110
lea ecx, [ebp - 0xa0]
call fcn.1000a1c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.1000a1c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000a1c0
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + 8], 0
je 0x100540ad
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 8], 0xffffffff
jne 0x100540c8
mov dword [ebp - 0x150], 0x100fbff4
push 0x1010887c
lea eax, [ebp - 0x150]
push eax
call sub.MSVCR120.dll__CxxThrowException
call fcn.1002cc50
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + 0xa4], 2
jne 0x100540f8
mov dword [ebp - 0xd8], 0x800000
jmp 0x10054102
mov dword [ebp - 0xd8], 0
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 0
jne 0x10054126
mov dword [ebp - 0xe0], 0
jmp 0x100541de
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
add ecx, 1
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0xb8]
mov al, byte [edx]
mov byte [ebp - 0xaf], al
add dword [ebp - 0xb8], 1
cmp byte [ebp - 0xaf], 0
jne 0x10054141
mov ecx, dword [ebp - 0xb8]
sub ecx, dword [ebp - 0x13c]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
add edx, 1
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0x3fffffff
jle 0x10054198
mov dword [ebp - 0xd4], 0
jmp 0x100541d2
mov eax, dword [ebp - 0xb4]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x12c], esp
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.100492f0
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 0
jne 0x100541ff
mov dword [ebp - 0xdc], 0
jmp 0x100542b7
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
add ecx, 1
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xbc]
mov al, byte [edx]
mov byte [ebp - 0xad], al
add dword [ebp - 0xbc], 1
cmp byte [ebp - 0xad], 0
jne 0x1005421a
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x14c]
add edx, 1
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0x3fffffff
jle 0x10054271
mov dword [ebp - 0xd0], 0
jmp 0x100542ab
mov eax, dword [ebp - 0xb4]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x100], esp
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x100]
push eax
call fcn.100492f0
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], ecx
push 0
mov edx, dword [ebp - 0xd8]
or edx, 0x4400040
push edx
push 0x101226c0
mov eax, dword [ebp - 0xe0]
push eax
push 0x100fbefc
mov ecx, dword [ebp - 0xdc]
push ecx
push 0x100fc00c
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0xc], 0
je 0x10054318
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 0xc], 0xffffffff
jne 0x100543be
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x100543a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x58]
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 - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 3
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x154], esp
mov ecx, dword [ebp - 0x108]
push ecx
push str.PutFile_Http__HttpOpenRequest_Failed:
push eax
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 4], 4
call fcn.1002e8a0
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.1002e660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.1000a1c0
mov dword [ebp - 0x110], 0x100fbf5c
push 0x1010887c
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR120.dll__CxxThrowException
mov dword [ebp - 0xc0], 0x100fc098
mov ecx, dword [ebp - 0xc0]
add ecx, 2
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0xc0]
mov ax, word [edx]
mov word [ebp - 0xc6], ax
add dword [ebp - 0xc0], 2
cmp word [ebp - 0xc6], 0
jne 0x100543d7
mov ecx, dword [ebp - 0xc0]
sub ecx, dword [ebp - 0x120]
sar ecx, 1
mov dword [ebp - 0x128], ecx
push 0x80000000
mov edx, dword [ebp - 0x128]
push edx
push 0x100fc0f8
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x1005444c
mov dword [ebp - 0x11c], 0x100fc014
push 0x1010887c
lea edx, [ebp - 0x11c]
push edx
call sub.MSVCR120.dll__CxxThrowException
mov ecx, dword [ebp - 0xa4]
add ecx, 0xbc
call fcn.100140a0
movzx eax, al
test eax, eax
jne 0x100544da
push 0x10000000
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xa4]
add ecx, 0xbc
call fcn.1000d8c0
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x100544c9
mov ecx, dword [ebp - 0xa4]
add ecx, 0xbc
call fcn.1003eb50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x144], 0x100fc07c
push 0x1010887c
lea eax, [ebp - 0x144]
push eax
call sub.MSVCR120.dll__CxxThrowException
mov ecx, dword [ebp - 0xa4]
add ecx, 0xbc
call fcn.1003eb50
mov ecx, dword [ebp + 0xc]
call fcn.1000b3e0
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.100ec2f9
add esp, 4
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.1000d8c0
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000b3e0
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a260
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x10054646
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
je 0x10054646
call fcn.1002e8a0
mov ecx, eax
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
test eax, eax
jg 0x100545fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x70]
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 - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 5
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x160], esp
mov eax, dword [ebp - 0xec]
push eax
push str.PutFile_Http__HttpSendRequest_Failed:
push edx
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 6
call fcn.1002e8a0
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.1002e660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.1000a1c0
cmp dword [ebp - 0xa8], 0
je 0x1005462b
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x104], 0x100fc1a4
push 0x1010887c
lea ecx, [ebp - 0x104]
push ecx
call sub.MSVCR120.dll__CxxThrowException
cmp dword [ebp - 0xa8], 0
je 0x10054675
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xae], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a1c0
mov al, byte [ebp - 0xae]
lea esp, [ebp - 0x168]
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