Function at 0x1003cfd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1789
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xad4
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 ecx, dword [ebp + 0x20]
call fcn.1003f0c0
mov ecx, dword [ebp + 0x28]
call fcn.1003ee60
mov ecx, dword [ebp + 0x30]
call fcn.1003eb50
mov ecx, dword [ebp + 0x38]
call fcn.1003eb50
lea ecx, [ebp - 0x82c]
call fcn.10009fb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.10009fb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x82c]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xaa0], esp
mov edx, dword [ebp + 8]
push edx
call fcn.10009f50
mov dword [ebp - 0xad0], 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 - 0x9d4], al
movzx eax, byte [ebp - 0x9d4]
test eax, eax
jne 0x1003d0b7
mov byte [ebp - 0x9d5], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.1000a070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.1000a070
mov al, byte [ebp - 0x9d5]
jmp 0x1003da4c
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_void___thiscall_W3Client::constructor_void_
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_char_const____thiscall_CppSQLite3Exception::ErrorMessage_void_
mov dword [ebp - 0xa6c], eax
push 4
lea ecx, [ebp + 0x18]
push ecx
push 2
mov edx, dword [ebp - 0xa6c]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0xa48], eax
cmp dword [ebp - 0xa48], 0
jne 0x1003d1b7
call fcn.1002e8a0
mov dword [ebp - 0xa50], eax
mov ecx, dword [ebp - 0xa50]
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
mov dword [ebp - 0xa58], eax
cmp dword [ebp - 0xa58], 0
jg 0x1003d1b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88c]
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 - 0xa60], eax
mov ecx, dword [ebp - 0xa60]
mov dword [ebp - 0xa68], ecx
mov byte [ebp - 4], 4
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0xac0], esp
mov eax, dword [ebp - 0xa68]
push eax
push str.InternetSetOption
push edx
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0xa70], eax
mov ecx, dword [ebp - 0xa70]
mov dword [ebp - 0xa9c], ecx
mov byte [ebp - 4], 5
call fcn.1002e8a0
mov dword [ebp - 0xa78], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa78]
call fcn.1002e660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88c]
call fcn.1000a1c0
push 0x100f9928
push 0
push 0
lea ecx, [ebp - 0x82c]
call fcn.1000d8c0
push eax
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_bool___thiscall_W3Client::Connect_char_const___char_const___char_const___char_const__
mov byte [ebp - 0x9d6], al
movzx edx, byte [ebp - 0x9d6]
test edx, edx
je 0x1003d9ec
mov ecx, dword [ebp + 0x10]
call fcn.1000d8c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xaa4], esp
push eax
call fcn.10009fe0
mov dword [ebp - 0xaac], eax
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_void___thiscall_W3Client::SetHeader_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xab4], esp
mov eax, dword [ebp + 0xc]
push eax
call fcn.10009f50
mov dword [ebp - 0xabc], eax
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_void___thiscall_W3Client::SetPostData_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
mov ecx, dword [ebp + 0x40]
push ecx
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_void___thiscall_W3Client::SetContentType_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov ecx, dword [ebp + 0x14]
call fcn.1000d8c0
push eax
push 1
lea ecx, [ebp - 0x844]
call fcn.1000d8c0
push eax
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_bool___thiscall_W3Client::Request_char_const___enum_W3Client::w3m__char_const__
mov byte [ebp - 0x9d2], al
movzx edx, byte [ebp - 0x9d2]
test edx, edx
je 0x1003d9ec
mov ax, word [0x100f9944]
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 - 0x9cc], 0
mov dword [ebp - 0x9ec], 0
push 0
push 0
push 3
push 0
push 1
push 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac4], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.10009f50
mov dword [ebp - 0xacc], eax
lea eax, [ebp - 0x8a4]
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 - 0xa80], eax
mov ecx, dword [ebp - 0xa80]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp - 0xa88]
call fcn.1000a260
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa90], eax
mov edx, dword [ebp - 0xa90]
mov dword [ebp - 0x9f4], edx
lea ecx, [ebp - 0x8a4]
call fcn.1000a1c0
cmp dword [ebp - 0x9f4], 0xffffffff
je 0x1003d35f
push 0
mov eax, dword [ebp - 0x9f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
add eax, dword [ebp - 0x9ec]
mov dword [ebp - 0x9ec], eax
mov ecx, dword [ebp - 0x9f4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x9e8], 0
push 0x400
lea edx, [ebp - 0x414]
push edx
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_unsigned_long_int___thiscall_W3Client::Response_unsigned_char___unsigned_long_int_
mov dword [ebp - 0xa98], eax
mov eax, dword [ebp - 0xa98]
mov dword [ebp - 0x9cc], eax
cmp dword [ebp - 0x9cc], 0
jle 0x1003d466
cmp dword [ebp + 0x1c], 0
je 0x1003d461
push 1
mov ecx, dword [ebp - 0x9cc]
push ecx
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x9e8]
add ecx, dword [ebp - 0x9cc]
mov dword [ebp - 0x9e8], ecx
mov edx, dword [ebp - 0x9e8]
mov dword [ebp - 0xa04], edx
cvtsi2sd xmm0, dword [ebp - 0xa04]
mov eax, dword [ebp - 0xa04]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10100eb0]
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x9ec]
mov dword [ebp - 0xa08], ecx
cvtsi2sd xmm0, dword [ebp - 0xa08]
mov edx, dword [ebp - 0xa08]
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 + 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [edx + 8]
call eax
jmp 0x1003d369
movzx ecx, byte [ebp + 0x24]
test ecx, ecx
je 0x1003d52a
mov dword [ebp - 0x9e4], 0
mov dword [ebp - 0x9cc], 0x400
push 0x400
push 0
lea edx, [ebp - 0x414]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, 1
test eax, eax
je 0x1003d52a
mov ecx, dword [ebp - 0x9e4]
push ecx
mov edx, dword [ebp - 0x9cc]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_unsigned_long_int___thiscall_W3Client::QueryCookie_unsigned_char___unsigned_long_int__unsigned_long_int_
mov dword [ebp - 0xa14], eax
cmp dword [ebp - 0xa14], 0
jbe 0x1003d514
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x85c]
call fcn.10009fe0
mov dword [ebp - 0xad4], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x85c]
push edx
mov ecx, dword [ebp + 0x20]
call fcn.100341d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x85c]
call fcn.1000a070
jmp 0x1003d516
jmp 0x1003d52a
mov eax, dword [ebp - 0x9e4]
add eax, 1
mov dword [ebp - 0x9e4], eax
jmp 0x1003d49c
movzx ecx, byte [ebp + 0x2c]
test ecx, ecx
je 0x1003d964
mov dword [ebp - 0x9dc], 0x400
mov dword [ebp - 0x9f0], 0
mov edx, dword [ebp - 0x9dc]
push edx
call fcn.100ec2f9
add esp, 4
mov dword [ebp - 0xa40], eax
mov eax, dword [ebp - 0xa40]
mov dword [ebp - 0xa94], eax
mov ecx, dword [ebp - 0xa94]
mov dword [ebp - 0x9c8], ecx
mov edx, dword [ebp - 0x9dc]
push edx
push 0
mov eax, dword [ebp - 0x9c8]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x9f0]
push ecx
lea edx, [ebp - 0x9dc]
push edx
mov eax, dword [ebp - 0x9c8]
push eax
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_unsigned_long_int___thiscall_W3Client::QueryRawHeader_unsigned_char___unsigned_long_int___unsigned_long_int__
mov dword [ebp - 0xa1c], eax
mov ecx, dword [ebp - 0xa1c]
mov dword [ebp - 0x9cc], ecx
cmp dword [ebp - 0x9cc], 0
jne 0x1003d681
cmp dword [ebp - 0x9f0], 0x7a
jne 0x1003d681
cmp dword [ebp - 0x9c8], 0
je 0x1003d60a
mov edx, dword [ebp - 0x9c8]
mov dword [ebp - 0xa5c], edx
mov eax, dword [ebp - 0xa5c]
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x9c8], 0
mov ecx, dword [ebp - 0x9dc]
push ecx
call fcn.100ec2f9
add esp, 4
mov dword [ebp - 0xa24], eax
mov edx, dword [ebp - 0xa24]
mov dword [ebp - 0xa7c], edx
mov eax, dword [ebp - 0xa7c]
mov dword [ebp - 0x9c8], eax
mov ecx, dword [ebp - 0x9dc]
push ecx
push 0
mov edx, dword [ebp - 0x9c8]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9f0]
push eax
lea ecx, [ebp - 0x9dc]
push ecx
mov edx, dword [ebp - 0x9c8]
push edx
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_unsigned_long_int___thiscall_W3Client::QueryRawHeader_unsigned_char___unsigned_long_int___unsigned_long_int__
mov dword [ebp - 0xa2c], eax
mov eax, dword [ebp - 0xa2c]
mov dword [ebp - 0x9cc], eax
cmp dword [ebp - 0x9cc], 0
jle 0x1003d935
mov ecx, dword [ebp - 0x9cc]
push ecx
mov edx, dword [ebp - 0x9c8]
push edx
lea ecx, [ebp - 0x874]
call fcn.1000d880
mov dword [ebp - 0xadc], eax
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xae4], esp
lea eax, [ebp - 0x874]
push eax
call fcn.10009f50
mov dword [ebp - 0xae0], eax
lea ecx, [ebp - 0xa00]
push ecx
call sym.COMMON.dll_public:_static_class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_______cdecl_CStrOperation::parseLines_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
add esp, 0x1c
mov dword [ebp - 0xaa8], eax
mov byte [ebp - 4], 8
movzx edx, byte [ebp + 0x3c]
test edx, edx
je 0x1003d723
lea ecx, [ebp - 0xa00]
call fcn.1000def0
movzx eax, al
test eax, eax
jne 0x1003d723
push 0
lea ecx, [ebp - 0xa00]
call fcn.1003f070
mov dword [ebp - 0xa64], eax
mov ecx, dword [ebp - 0xa64]
push ecx
mov ecx, dword [ebp + 0x38]
call fcn.1000f680
mov dword [ebp - 0x9d0], 0
jmp 0x1003d73e
mov edx, dword [ebp - 0x9d0]
add edx, 1
mov dword [ebp - 0x9d0], edx
lea ecx, [ebp - 0xa00]
call fcn.10020c50
cmp dword [ebp - 0x9d0], eax
jae 0x1003d917
mov eax, dword [ebp - 0x9d0]
push eax
lea ecx, [ebp - 0xa00]
call fcn.1003f0a0
mov dword [ebp - 0xa34], eax
push 0
push 0x100f9948
mov ecx, dword [ebp - 0xa34]
call fcn.1003eba0
mov dword [ebp - 0xa8c], eax
mov ecx, dword [ebp - 0xa8c]
mov dword [ebp - 0x9e0], ecx
cmp dword [ebp - 0x9e0], 0xffffffff
je 0x1003d912
mov edx, dword [ebp - 0x9d0]
push edx
lea ecx, [ebp - 0xa00]
call fcn.1003f0a0
mov dword [ebp - 0xa3c], eax
mov ecx, dword [ebp - 0xa3c]
call fcn.1000b3e0
cmp dword [ebp - 0x9e0], eax
je 0x1003d912
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac8], esp
push 0x100f994c
call fcn.10009fe0
mov dword [ebp - 0xa0c], eax
mov eax, dword [ebp - 0xa0c]
mov dword [ebp - 0xab0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x9d0]
push ecx
lea ecx, [ebp - 0xa00]
call fcn.1003f0a0
mov dword [ebp - 0xa44], eax
mov edx, dword [ebp - 0x9d0]
push edx
lea ecx, [ebp - 0xa00]
call fcn.1003f0a0
mov dword [ebp - 0xa84], eax
mov ecx, dword [ebp - 0xa44]
call fcn.1000b3e0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xad8], esp
push eax
mov edx, dword [ebp - 0x9e0]
add edx, 1
push edx
push ecx
mov ecx, dword [ebp - 0xa84]
call fcn.1000f7f0
mov dword [ebp - 0xab8], eax
lea eax, [ebp - 0x8bc]
push eax
mov byte [ebp - 4], 8
call sym.COMMON.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_CStrOperation::trimLeft_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, 0x34
mov dword [ebp - 0xa4c], eax
mov ecx, dword [ebp - 0xa4c]
mov dword [ebp - 0xa18], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x9d0]
push edx
lea ecx, [ebp - 0xa00]
call fcn.1003f0a0
mov dword [ebp - 0xa74], eax
mov eax, dword [ebp - 0x9e0]
push eax
push 0
lea ecx, [ebp - 0x8d4]
push ecx
mov ecx, dword [ebp - 0xa74]
call fcn.1000f7f0
mov dword [ebp - 0xa54], eax
mov edx, dword [ebp - 0xa54]
mov dword [ebp - 0xa10], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xa10]
push eax
mov ecx, dword [ebp + 0x28]
call fcn.1003ed20
mov dword [ebp - 0xa20], eax
mov ecx, dword [ebp - 0xa18]
push ecx
mov ecx, dword [ebp - 0xa20]
call fcn.1000f5d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8d4]
call fcn.1000a070
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8bc]
call fcn.1000a070
jmp 0x1003d72f
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa00]
call fcn.100342f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x874]
call fcn.1000a070
cmp dword [ebp - 0x9c8], 0
je 0x1003d964
mov edx, dword [ebp - 0x9c8]
mov dword [ebp - 0xa28], edx
mov eax, dword [ebp - 0xa28]
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x9c8], 0
movzx ecx, byte [ebp + 0x34]
test ecx, ecx
je 0x1003d9ad
mov dword [ebp - 0xa30], 0x400
mov edx, dword [ebp - 0xa30]
push edx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_unsigned_long_int___thiscall_W3Client::QueryStatusCode_unsigned_char___unsigned_long_int_
mov dword [ebp - 0xa38], eax
cmp dword [ebp - 0xa38], 0
jbe 0x1003d9ad
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 0x30]
call fcn.1001ca80
mov byte [ebp - 0x9d3], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public_virtual:_void___thiscall_W3Client::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.1000a070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.1000a070
mov al, byte [ebp - 0x9d3]
jmp 0x1003da4c
jmp 0x1003d9f4
mov dword [ebp - 4], 2
jmp 0x1003da04
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public:_void___thiscall_W3Client::Close_void_
mov byte [ebp - 0x9d1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c4]
call sym.COMMON.dll_public_virtual:_void___thiscall_W3Client::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.1000a070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.1000a070
mov al, byte [ebp - 0x9d1]
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