Function at 0x100b3f60
Capabilities:
Check for time delay via gettickcount
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024d398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
or edi, 0x4000000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 0x20], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x100b3fb7
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp + 0x20]
push 4
push eax
push 5
push dword [ebx]
call esi
push 4
lea eax, [ebp + 0x20]
push eax
push 6
push dword [ebx]
call esi
mov eax, dword [0x10320968]
mov dword [ebp + 8], 0x10320968
test eax, eax
je 0x100b3fce
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1031bf20
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.1001a380
mov eax, dword [0x10320968]
test eax, eax
je 0x100b3ff2
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
jne 0x100b4003
xor ecx, ecx
jmp 0x100b400e
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100b4019
mov eax, dword [eax]
push edi
push 0xffffffffffffffff
push ecx
push eax
push dword [ebx]
lea ecx, [ebp - 0x24]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMInternetFile::constructor_void___wchar_t_const___wchar_t_const___unsigned_long_int__unsigned_long_int_
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x100b407b
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test ecx, ecx
je 0x100b4046
push ecx
call edi
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100b4053
push ecx
call edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100b4262
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x24]
mov esi, eax
call edi
push esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100b4262
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea ecx, [ebp + 8]
push 0
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], 4
push ecx
push 0x20000013
push eax
mov dword [ebp - 0x10], 0
call esi
mov eax, dword [ebp - 0x10]
cmp eax, 0xc8
je 0x100b4101
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x100b40b4
mov dword [ecx], eax
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x100b40c1
push eax
call ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x100b40d1
push eax
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100b40db
push eax
call edi
cmp dword [ebp - 0x24], 0
je 0x100b4262
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x24]
mov esi, eax
call edi
push esi
mov dword [ebp - 0x24], 0
call ebx
jmp 0x100b4262
mov eax, dword [ebp - 0x24]
xor bl, bl
mov dword [ebp + 8], 4
mov dword [ebp + 0x18], 0
test eax, eax
je 0x100b4179
push 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x18]
push ecx
push 0x20000005
push eax
call esi
test eax, eax
je 0x100b4179
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x100b4194
mov esi, dword [ebp + 0x10]
mov ecx, esi
push 1
call fcn.10020ab0
mov eax, dword [esi + 8]
mov byte [eax], bl
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], 0
mov dword [eax], 0
lea ecx, [ebp - 0x24]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMInternetFile::destructor_void_
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x100b425a
mov eax, 0xa00000
mov bl, 1
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x20], 0
je 0x100b41af
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x20]
ja 0x100b425a
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
inc eax
push eax
mov ecx, esi
call fcn.10020ab0
push dword [ebp + 0x18]
lea ecx, [ebp - 0x6c]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMInternetInfo::constructor_unsigned_int_
mov eax, dword [ebp + 0x18]
inc eax
push eax
push 0
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edi, edi
mov esi, dword [ebp - 0x60]
cmp esi, dword [ebp + 0x18]
jae 0x100b4254
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x100b41f6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100b4251
cmp dword [ebp + 0x20], 0
je 0x100b420a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x20]
ja 0x100b4251
mov ecx, 0x1000
test bl, bl
jne 0x100b421d
mov eax, dword [ebp + 0x18]
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x6c]
push edx
push ecx
lea ecx, [ebp - 0x24]
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 0x100b424e
test eax, eax
jne 0x100b41da
test bl, bl
jne 0x100b424e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jbe 0x100b41da
mov esi, dword [ebp - 0x60]
cmp esi, dword [ebp + 0x18]
je 0x100b427d
test bl, bl
jne 0x100b4281
lea ecx, [ebp - 0x24]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMInternetFile::destructor_void_
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x100b42a1
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
cmp esi, 0xa00000
jae 0x100b4156
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov byte [eax + esi], 0
jmp 0x100b4156
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x100b4156