Function at 0x100097e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7fdb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x100ecd4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
jne 0x100099f1
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009885
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.100029a0
cmp dword [ebp - 0x224], 8
lea edx, [ebp - 0x238]
mov esi, dword [ebp - 0x228]
cmovae edx, dword [ebp - 0x238]
test esi, esi
je 0x100098f3
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x100098ed
nop word [eax + eax]
cmp eax, edx
je 0x100098f3
sub eax, 2
cmp word [eax], 0x5c
jne 0x100098e0
sub eax, edx
sar eax, 1
jmp 0x100098f6
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x240], 0
cmp esi, eax
mov word [ebp - 0x250], cx
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x23c], 7
cmovb eax, esi
cmp dword [ebp - 0x224], 8
push eax
cmovae ecx, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x250]
call fcn.10002ec0
lea ecx, [ebp - 0x238]
call fcn.10003000
movups xmm0, xmmword [ebp - 0x250]
push 0xc
push str.Wininet.dll
movups xmmword [ebp - 0x238], xmm0
lea ecx, [ebp - 0x238]
movq xmm0, qword [ebp - 0x240]
movq qword [ebp - 0x228], xmm0
call fcn.100029a0
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x100099d8
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100099ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009b58
push edx
push ecx
call fcn.100b4813
add esp, 8
mov eax, dword [edi + 4]
test eax, eax
jne 0x100099f1
push str.WinInetHttpBase::LoadFunction_m_hWininet__null__n
call fcn.10004450
add esp, 4
jmp 0x10009b3a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenW
push eax
call esi
push str.InternetOpenA
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.HttpQueryInfoW
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.HttpQueryInfoA
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.HttpEndRequestW
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.HttpSendRequestW
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
push str.HttpSendRequestA
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push str.InternetConnectW
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push str.InternetConnectA
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
push str.HttpOpenRequestW
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call esi
push str.HttpOpenRequestA
push dword [edi + 4]
mov dword [edi + 0x30], eax
call esi
push str.InternetReadFile
push dword [edi + 4]
mov dword [edi + 0x34], eax
call esi
push str.InternetCrackUrlW
push dword [edi + 4]
mov dword [edi + 0x38], eax
call esi
push str.InternetCrackUrlA
push dword [edi + 4]
mov dword [edi + 0x3c], eax
call esi
push str.InternetWriteFile
push dword [edi + 4]
mov dword [edi + 0x40], eax
call esi
push str.HttpSendRequestExW
push dword [edi + 4]
mov dword [edi + 0x44], eax
call esi
push str.InternetSetOptionA
push dword [edi + 4]
mov dword [edi + 0x48], eax
call esi
push str.InternetReadFileExA
push dword [edi + 4]
mov dword [edi + 0x4c], eax
call esi
push str.InternetCloseHandle
push dword [edi + 4]
mov dword [edi + 0x50], eax
call esi
push str.InternetSetOptionExW
push dword [edi + 4]
mov dword [edi + 0x54], eax
call esi
mov dword [edi + 0x5c], eax
push str.InternetQueryOptionA
push dword [edi + 4]
call esi
push str.HttpAddRequestHeadersW
push dword [edi + 4]
mov dword [edi + 0x58], eax
call esi
push str.HttpAddRequestHeadersA
push dword [edi + 4]
mov dword [edi + 0x60], eax
call esi
push str.InternetSetStatusCallbackW
push dword [edi + 4]
mov dword [edi + 0x64], eax
call esi
push str.InternetSetStatusCallbackA
push dword [edi + 4]
mov dword [edi + 0x68], eax
call esi
mov dword [edi + 0x6c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100ba02c
int3