Function at 0x10013c50
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x100457f4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd0]
mov ebp, dword [esp + 0xcc]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x30], eax
mov dword [ebp + 0xec], ebx
mov dword [esp + 0x50], vtable.RC::RCInternetSession.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x40], esi
push 4
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0xcc], ebx
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 2
push esi
mov dword [esp + 0x28], 0xbb8
call edi
push 4
lea edx, [esp + 0x1c]
push edx
push 3
push esi
mov dword [esp + 0x28], 5
call edi
xor edi, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc4], 1
call fcn.1000e6a0
cmp esi, ebx
mov byte [esp + 0xc4], 2
mov dword [esp + 0x38], ebx
je 0x10013d6e
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x10013d41
lea eax, [esp + 0x80]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x34], edi
jne 0x10013d67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x38], eax
cmp edi, ebx
setne al
cmp al, bl
jne 0x10013dc7
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x38]
mov dword [ebp + 0xec], eax
jb 0x10013d92
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp edi, ebx
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
je 0x10013db9
push edi
call ebp
cmp esi, ebx
je 0x10013dc0
push esi
call ebp
xor al, al
jmp 0x100140da
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
push ebp
lea edi, [esp + 0x48]
mov byte [esp + 0xc8], 5
call fcn.10012400
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd0], 6
call fcn.10003890
mov edi, 0x10
mov byte [esp + 0xc4], 5
cmp dword [esp + 0x5c], edi
jb 0x10013e44
mov edx, dword [esp + 0x48]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
push 0x10048614
lea eax, [esp + 0x68]
call fcn.10003b50
push 0xb
push str.action_type
lea eax, [esp + 0x68]
call fcn.10003b50
push 1
push 0x10048624
lea eax, [esp + 0x68]
call fcn.10003b50
push 0xd
push str.check_version
lea eax, [esp + 0x68]
call fcn.10003b50
push 1
push 0x10048614
lea eax, [esp + 0x68]
call fcn.10003b50
push 0xc
push str.updater_auto
lea eax, [esp + 0x68]
call fcn.10003b50
push 1
push 0x10048624
lea eax, [esp + 0x68]
call fcn.10003b50
cmp byte [esp + 0xd4], bl
push 1
lea eax, [esp + 0x64]
je 0x10013eca
push 0x100487c0
jmp 0x10013ecf
push 0x100487c4
call fcn.10003b50
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x78], edi
mov ecx, dword [esp + 0x64]
jae 0x10013ee9
lea ecx, [esp + 0x64]
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x20]
push eax
push edx
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0xa4]
call fcn.10002c80
test al, al
jne 0x10013fee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x78], edi
mov dword [ebp + 0xec], eax
jb 0x10013f2b
mov ecx, dword [esp + 0x64]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, 8
cmp dword [esp + 0xb0], ebp
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x10013f59
mov edx, dword [esp + 0x9c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov edi, 7
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
je 0x10013f98
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.100045a0
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp dword [esp + 0x94], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
jb 0x10013fbd
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov dword [esp + 0x94], edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
je 0x10013fe4
push eax
call edi
push esi
call edi
xor al, al
jmp 0x100140da
mov ebp, dword [esp + 0x1c]
push ebp
lea ecx, [esp + 0x9c]
call fcn.10003630
cmp dword [ebp + 0x14], ebx
setne byte [esp + 0x17]
cmp dword [esp + 0x78], edi
jb 0x1001401a
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, 8
cmp dword [esp + 0xb0], ebp
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x10014048
mov eax, dword [esp + 0x9c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov edi, 7
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
je 0x10014087
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.100045a0
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0xc
cmp dword [esp + 0x94], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
jb 0x100140ac
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov dword [esp + 0x94], edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
je 0x100140d3
push eax
call edi
push esi
call edi
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xb4
ret 0xc