Function at 0x100c3383
Capabilities:
Connect to http server
Create http request
Extract resource via kernel32 functions
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100300
mov eax, dword fs:[0]
push eax
sub esp, 0xd34
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xce0], edx
mov dword [ebp - 0xce4], ecx
mov al, byte [ebp + 0xc]
mov ebx, str.Open_Shell
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0xcd9], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcf4], eax
mov eax, dword [ebp + 0x14]
cmp eax, 3
ja case.default.0x100c337c
jmp dword [eax*4 + 0x100c38dc]
mov ebx, str.Classic_Explorer
jmp case.default.0x100c337c
mov ebx, 0x101227a4
jmp case.default.0x100c337c
mov ebx, str.Classic_IE
jmp case.default.0x100c337c
mov ebx, str.Open_Shell_Update
mov edi, dword [0x1014be3c]
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x100c33b6
xor edi, edi
jmp 0x100c33e8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
jne 0x100c33cf
xor edi, edi
jmp 0x100c33e8
movzx eax, word [ecx + 0x38]
movzx edi, al
movzx eax, word [ecx + 0x3a]
shl eax, 8
or edi, eax
movzx eax, word [ecx + 0x3e]
shl edi, 0x10
or edi, eax
mov cx, word [0x10159320]
test cx, cx
jne 0x100c3413
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
movzx eax, al
shr ecx, 8
movzx ecx, cl
shl ax, 8
or cx, ax
mov word [0x10159320], cx
movzx eax, cx
push eax
movzx eax, di
push eax
mov eax, edi
shr edi, 0x18
shr eax, 0x10
movzx eax, al
push eax
push edi
push ebx
push str._s__d._d._d__Win__x_
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.100a4830
add esp, 0x20
lea eax, [ebp - 0xd8]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0xcfc], edi
test edi, edi
jne 0x100c3466
lea eax, [ebx + 2]
jmp 0x100c38ba
test esi, esi
je 0x100c3475
cmp byte [esi + 0x44], bl
mov ecx, 1
cmovne ebx, ecx
push 0x38
lea eax, [ebp - 0xd3c]
mov dword [ebp - 0xd40], 0x3c
push 0
push eax
call fcn.100d6eb0
add esp, 0xc
mov dword [ebp - 0xd2c], 0x100
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0xd10], 0x100
mov dword [ebp - 0xd30], eax
lea eax, [ebp - 0x4d8]
mov dword [ebp - 0xd14], eax
lea eax, [ebp - 0xd40]
push eax
push 0
push 0
push dword [ebp - 0xce4]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test esi, esi
je 0x100c352b
mov edx, 0xfe6
lea ecx, [ebp - 0xce4]
call fcn.100aedf0
push dword [eax]
push 0x40d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0xce4]
add edx, 0xfffffff0
mov dword [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c3524
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 3
push 0x1010ca30
push 0x1010ca30
push dword [ebp - 0xd28]
lea eax, [ebp - 0x2d8]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [ebp - 0xce4], ecx
test ecx, ecx
je 0x100c38ac
test esi, esi
je 0x100c357c
cmp byte [esi + 0x44], 0
je 0x100c357c
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, 1
push eax
call esi
jmp 0x100c38b1
test ebx, ebx
jne 0x100c389c
movzx ecx, byte [ebp - 0xcd9]
xor eax, eax
xor ecx, 1
mov dword [ebp - 0xd04], 0x1012282c
shl ecx, 0x1f
mov edx, 0x800000
cmp dword [ebp - 0xd34], 4
push ebx
cmove eax, edx
mov dword [ebp - 0xd00], ebx
or ecx, eax
lea eax, [ebp - 0xd04]
push ecx
push eax
push ebx
push ebx
lea eax, [ebp - 0x4d8]
push eax
push 0x10122834
push dword [ebp - 0xce4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0xcf8], edi
test edi, edi
je 0x100c3891
test esi, esi
je 0x100c3611
cmp byte [esi + 0x44], bl
je 0x100c3611
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, 1
push edi
call esi
push dword [ebp - 0xce4]
mov edi, dword [ebp - 0xcfc]
call esi
jmp 0x100c38b1
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x100c3873
lea eax, [ebp - 0xcf0]
mov dword [ebp - 0xce8], 4
push eax
lea eax, [ebp - 0xce8]
mov dword [ebp - 0xcf0], 0
push eax
lea eax, [ebp - 0xcec]
push eax
push 0x20000005
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x100c3667
mov dword [ebp - 0xcec], eax
cmp dword [ebp - 0xcf4], 0
je 0x100c36ec
lea eax, [ebp - 0xce8]
mov dword [ebp - 0xce8], 0x800
push eax
lea eax, [ebp - 0xcd8]
push eax
push 0x22
push edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x100c3873
lea eax, [ebp - 0xcd8]
push 0x2f
push eax
call fcn.100d6530
add esp, 8
test eax, eax
je 0x100c3873
cmp word [eax + 2], 0
lea edx, [eax + 2]
je 0x100c3873
test edx, edx
jne 0x100c36c8
xor ecx, ecx
jmp 0x100c36df
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c36d0
sub ecx, edi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xcf4]
push edx
call fcn.10021eb0
test esi, esi
je 0x100c3757
mov edx, 0xfe7
lea ecx, [ebp - 0xce8]
call fcn.100aedf0
push dword [eax]
push 0x40d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0xce8]
add edx, 0xfffffff0
mov dword [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c3735
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xcec], 0
jne 0x100c3757
push 0xffffffffffffffff
push 0
push 0x303
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0xce0]
xor edi, edi
mov ecx, dword [ebp - 0xcec]
add ecx, 0x8000
mov eax, dword [edx + 8]
sub eax, dword [edx]
cmp ecx, eax
jbe 0x100c3790
cmp ecx, 0x7fffffff
ja 0x100c38d6
push ecx
mov ecx, edx
call fcn.100c7c90
mov edx, dword [ebp - 0xce0]
nop
test esi, esi
je 0x100c379a
cmp byte [esi + 0x44], 0
jne 0x100c380d
push edx
lea eax, [edi + 0x8000]
mov ecx, edx
push eax
call fcn.100b1230
mov edx, dword [ebp - 0xce0]
lea ecx, [ebp - 0xcf0]
push ecx
push 0x8000
mov eax, dword [edx]
add eax, edi
push eax
push dword [ebp - 0xcf8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100c3840
mov eax, dword [ebp - 0xcf0]
test eax, eax
je 0x100c3845
mov edx, dword [ebp - 0xce0]
add edi, eax
test esi, esi
je 0x100c379a
mov ecx, dword [ebp - 0xcec]
test ecx, ecx
je 0x100c3790
imul eax, edi, 0x64
xor edx, edx
div ecx
push eax
push 0
push 0x303
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100c3788
mov eax, dword [ebp - 0xce0]
mov ebx, 1
push eax
push edi
mov ecx, eax
call fcn.100b1230
mov edi, dword [ebp - 0xcf8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0xce4]
mov edi, dword [ebp - 0xcfc]
call esi
jmp 0x100c38b1
mov ebx, 4
mov eax, dword [ebp - 0xce0]
mov ecx, eax
push eax
push edi
call fcn.100b1230
mov edi, dword [ebp - 0xcf8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0xce4]
mov edi, dword [ebp - 0xcfc]
call esi
jmp 0x100c38b1
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, 3
push edi
call esi
push dword [ebp - 0xce4]
mov edi, dword [ebp - 0xcfc]
call esi
jmp 0x100c38b1
mov edi, dword [ebp - 0xcfc]
mov ebx, 3
push dword [ebp - 0xce4]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x100c38b1
mov ebx, 3
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret
call fcn.10012960
nop
xor dword [ebx], 0xc
adc byte [edx - 1861219277], cl
xor ecx, dword [eax + edx]
cwde
xor ecx, dword [eax + edx]
int3