Function at 0x100b3c60
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024d376
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov eax, dword [0x10320968]
mov dword [ebp - 0x18], 0x10320968
test eax, eax
je 0x100b3c99
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1031bf20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.1001a380
mov eax, dword [0x10320968]
test eax, eax
je 0x100b3cba
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push edi
mov byte [ebp - 4], 4
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea edx, [ebp + 0x38]
push 0xffffffffffffffff
cmovae esi, dword [ebp - 0x40]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 8]
push esi
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 8
push 0x7d0
push dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x28]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMInternetFile::constructor_wchar_t_const___wchar_t_const___wchar_t_const___unsigned_long_int__unsigned_long_int__wchar_t_const___unsigned_long_int_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.1001a5a0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0
test eax, eax
je 0x100b3ef1
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea ecx, [ebp - 0x18]
push 0
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0x20000013
push eax
call esi
cmp dword [ebp - 0x14], 0xc8
jne 0x100b3ef1
mov eax, dword [ebp - 0x28]
push ebx
xor bl, bl
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x10], 0
test eax, eax
je 0x100b3da7
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x20000005
push eax
call esi
test eax, eax
je 0x100b3da7
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x100b3dc2
mov esi, dword [ebp + 0x50]
mov ecx, esi
push 1
call fcn.10020ab0
mov eax, dword [esi + 8]
mov byte [eax], bl
mov eax, dword [ebp + 0x54]
mov dword [esi + 0xc], 0
mov dword [eax], 0
jmp 0x100b3ebe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x100b3e7b
mov eax, 0xa00000
mov bl, 1
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 0x50]
inc eax
push eax
mov ecx, edi
call fcn.10020ab0
mov esi, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x50], esi
xor esi, esi
movsd qword [ebp - 0x48], xmm0
push eax
push esi
push dword [edi + 8]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
movsd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x10]
add esp, 0xc
xor edi, edi
test ecx, ecx
je 0x100b3e73
nop dword [eax + eax]
mov edx, 0x1000
test bl, bl
jne 0x100b3e30
sub ecx, esi
cmp ecx, edx
cmovb edx, ecx
mov eax, dword [ebp + 0x50]
lea ecx, [ebp - 0x58]
push ecx
push edx
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 8]
add eax, esi
push eax
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMInternetFile::Read_void___unsigned_long_int__class_WM::GMInternetInfo__
cmp eax, 0xffffffff
je 0x100b3e6d
test eax, eax
jne 0x100b3e61
test bl, bl
jne 0x100b3e6d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
ja 0x100b3e6d
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
jb 0x100b3e20
jmp 0x100b3e73
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x4c]
cmp esi, ecx
je 0x100b3eae
test bl, bl
jne 0x100b3eb2
lea ecx, [ebp - 0x28]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMInternetFile::destructor_void_
lea ecx, [ebp + 8]
call fcn.1001a5a0
lea ecx, [ebp + 0x20]
call fcn.1001a5a0
lea ecx, [ebp + 0x38]
call fcn.1001a5a0
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x100b3eb9
mov eax, dword [ebp + 0x54]
mov dword [eax], esi
jmp 0x100b3ebe
mov eax, dword [ebp + 0x54]
mov dword [eax], ecx
lea ecx, [ebp - 0x28]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMInternetFile::destructor_void_
lea ecx, [ebp + 8]
call fcn.1001a5a0
lea ecx, [ebp + 0x20]
call fcn.1001a5a0
lea ecx, [ebp + 0x38]
call fcn.1001a5a0
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100b3f01
push eax
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100b3f0b
push eax
call edi
cmp dword [ebp - 0x28], 0
je 0x100b3f2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x28]
mov esi, eax
call edi
push esi
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp + 8]
call fcn.1001a5a0
lea ecx, [ebp + 0x20]
call fcn.1001a5a0
lea ecx, [ebp + 0x38]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret