Function at 0x1003a3f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f121f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x5f4
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0x20]
call fcn.1003ee30
movzx eax, al
test eax, eax
je 0x1003a480
mov ecx, dword [ebp + 0x24]
call fcn.1003ee30
movzx ecx, al
test ecx, ecx
je 0x1003a480
mov byte [ebp - 0x566], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.1000a070
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.1000a070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.1000a070
mov al, byte [ebp - 0x566]
jmp 0x1003aaf6
lea ecx, [ebp - 0x444]
call fcn.10009fb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x42c]
call fcn.10009fb0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x444]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5ec], esp
lea edx, [ebp + 8]
push edx
call fcn.10009f50
mov dword [ebp - 0x5dc], eax
call sym.COMMON.dll_public:_static_bool___cdecl_CNetOperation::ParseUrl_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
add esp, 0x20
mov byte [ebp - 0x567], al
movzx eax, byte [ebp - 0x567]
test eax, eax
jne 0x1003a536
mov byte [ebp - 0x569], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x42c]
call fcn.1000a070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x444]
call fcn.1000a070
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.1000a070
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.1000a070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.1000a070
mov al, byte [ebp - 0x569]
jmp 0x1003aaf6
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_void___thiscall_W3Client::constructor_void_
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_char_const____thiscall_CppSQLite3Exception::ErrorMessage_void_
mov dword [ebp - 0x5a0], eax
push 4
lea ecx, [ebp + 0x58]
push ecx
push 2
mov edx, dword [ebp - 0x5a0]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x5b4], eax
cmp dword [ebp - 0x5b4], 0
jne 0x1003a636
call fcn.1002e8a0
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x5bc]
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
mov dword [ebp - 0x5c4], eax
cmp dword [ebp - 0x5c4], 0
jg 0x1003a636
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x474]
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 - 0x5cc], eax
mov ecx, dword [ebp - 0x5cc]
mov dword [ebp - 0x5d4], ecx
mov byte [ebp - 4], 7
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x5e4], esp
mov eax, dword [ebp - 0x5d4]
push eax
push 0x100f96e0
push edx
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x5b8], eax
mov ecx, dword [ebp - 0x5b8]
mov dword [ebp - 0x5d8], ecx
mov byte [ebp - 4], 8
call fcn.1002e8a0
mov dword [ebp - 0x5ac], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x5ac]
call fcn.1002e660
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x474]
call fcn.1000a1c0
push 0x100f9728
push 0
push 0
lea ecx, [ebp - 0x444]
call fcn.1000d8c0
push eax
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_bool___thiscall_W3Client::Connect_char_const___char_const___char_const___char_const__
mov byte [ebp - 0x568], al
movzx edx, byte [ebp - 0x568]
test edx, edx
je 0x1003aa72
lea ecx, [ebp + 0x28]
call fcn.1000d8c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5f4], esp
push eax
call fcn.10009fe0
mov dword [ebp - 0x5fc], eax
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_void___thiscall_W3Client::SetHeader_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
lea eax, [ebp - 0x57c]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.1003ee00
jmp 0x1003a6ba
push 0
lea ecx, [ebp - 0x604]
push ecx
lea ecx, [ebp - 0x57c]
call fcn.100288c0
lea edx, [ebp - 0x5e0]
push edx
mov ecx, dword [ebp + 0x20]
call fcn.1001e1b0
push eax
lea ecx, [ebp - 0x57c]
call fcn.10025c60
mov byte [ebp - 0x56b], al
movzx eax, byte [ebp - 0x56b]
test eax, eax
je 0x1003a735
lea ecx, [ebp - 0x57c]
call fcn.10026f20
mov dword [ebp - 0x594], eax
lea ecx, [ebp - 0x57c]
call fcn.10026f20
mov dword [ebp - 0x5c8], eax
push 0
mov ecx, dword [ebp - 0x594]
add ecx, 0x18
call fcn.1000d8c0
push eax
mov ecx, dword [ebp - 0x5c8]
call fcn.1000d8c0
push eax
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_void___thiscall_W3Client::AddPostArgument_char_const___char_const___bool_
jmp 0x1003a6a6
mov dword [ebp - 0x584], 0
lea ecx, [ebp - 0x574]
push ecx
mov ecx, dword [ebp + 0x24]
call fcn.1003ee00
jmp 0x1003a764
push 0
lea edx, [ebp - 0x600]
push edx
lea ecx, [ebp - 0x574]
call fcn.100288c0
lea eax, [ebp - 0x5e8]
push eax
mov ecx, dword [ebp + 0x24]
call fcn.1001e1b0
push eax
lea ecx, [ebp - 0x574]
call fcn.10025c60
mov byte [ebp - 0x56d], al
movzx ecx, byte [ebp - 0x56d]
test ecx, ecx
je 0x1003a8a1
lea ecx, [ebp - 0x574]
call fcn.10026f20
mov dword [ebp - 0x5a8], eax
lea ecx, [ebp - 0x574]
call fcn.10026f20
mov dword [ebp - 0x5c0], eax
push 1
mov ecx, dword [ebp - 0x5a8]
add ecx, 0x18
call fcn.1000d8c0
push eax
mov ecx, dword [ebp - 0x5c0]
call fcn.1000d8c0
push eax
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_void___thiscall_W3Client::AddPostArgument_char_const___char_const___bool_
push 0
push 0
push 3
push 0
push 1
push 8
lea ecx, [ebp - 0x574]
call fcn.10026f20
mov dword [ebp - 0x5b0], eax
mov edx, dword [ebp - 0x5b0]
add edx, 0x18
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5f8], esp
push edx
call fcn.10009f50
mov dword [ebp - 0x5f0], eax
lea eax, [ebp - 0x45c]
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::StringToWstring_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
add esp, 0x1c
mov dword [ebp - 0x5d0], eax
mov ecx, dword [ebp - 0x5d0]
mov dword [ebp - 0x598], ecx
mov ecx, dword [ebp - 0x598]
call fcn.1000a260
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x59c], eax
mov edx, dword [ebp - 0x59c]
mov dword [ebp - 0x588], edx
lea ecx, [ebp - 0x45c]
call fcn.1000a1c0
cmp dword [ebp - 0x588], 0xffffffff
je 0x1003a89c
push 0
mov eax, dword [ebp - 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
add eax, dword [ebp - 0x584]
mov dword [ebp - 0x584], eax
mov ecx, dword [ebp - 0x588]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003a750
lea ecx, [ebp + 0x40]
call fcn.1000d8c0
push eax
push 2
lea ecx, [ebp - 0x42c]
call fcn.1000d8c0
push eax
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_bool___thiscall_W3Client::Request_char_const___enum_W3Client::w3m__char_const__
mov byte [ebp - 0x56a], al
movzx edx, byte [ebp - 0x56a]
test edx, edx
je 0x1003aa72
mov ax, word [0x100f9744]
mov word [ebp - 0x414], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x412]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x578], 0
mov dword [ebp - 0x580], 0
push 0x400
lea edx, [ebp - 0x414]
push edx
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_unsigned_long_int___thiscall_W3Client::Response_unsigned_char___unsigned_long_int_
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x578], eax
cmp dword [ebp - 0x578], 0
jbe 0x1003aa0c
cmp dword [ebp + 0x5c], 0
je 0x1003aa07
push 1
mov ecx, dword [ebp - 0x578]
push ecx
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp + 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x580]
add ecx, dword [ebp - 0x578]
mov dword [ebp - 0x580], ecx
mov edx, dword [ebp - 0x580]
mov dword [ebp - 0x58c], edx
cvtsi2sd xmm0, dword [ebp - 0x58c]
mov eax, dword [ebp - 0x58c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10100eb0]
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x584]
mov dword [ebp - 0x590], ecx
cvtsi2sd xmm0, dword [ebp - 0x590]
mov edx, dword [ebp - 0x590]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x10100eb0]
sub esp, 8
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [0x10100d60]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [0x10100d60]
movsd qword [esp], xmm0
mov eax, dword [ebp + 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [edx + 8]
call eax
jmp 0x1003a90f
mov byte [ebp - 0x565], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public_virtual:_void___thiscall_W3Client::destructor_void_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x42c]
call fcn.1000a070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x444]
call fcn.1000a070
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.1000a070
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.1000a070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.1000a070
mov al, byte [ebp - 0x565]
jmp 0x1003aaf6
jmp 0x1003aa7a
mov dword [ebp - 4], 5
jmp 0x1003aa8a
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public:_void___thiscall_W3Client::Close_void_
mov byte [ebp - 0x56c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x564]
call sym.COMMON.dll_public_virtual:_void___thiscall_W3Client::destructor_void_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x42c]
call fcn.1000a070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x444]
call fcn.1000a070
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.1000a070
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.1000a070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.1000a070
mov al, byte [ebp - 0x56c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret