Function at 0x415a60
Capabilities:
Connect to http server
Create http request
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x418c4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
mov ebx, dword [esp + 0x45c]
push ebp
push esi
lea esi, [ebx + 8]
push esi
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebp, ebp
push 0x10000000
push ebp
push ebp
push ebp
push str.HttpClient
mov dword [esp + 0x470], ebp
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebp
mov dword [ebx + 0x40], eax
jne 0x415ac4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x415cc1
push edi
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.InternetSetStatusCallbackW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov dword [0x420570], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebx + 0x40]
push 0x415990
push eax
call dword [0x420570]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x25a]
mov word [esp + 0x258], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x15a]
mov word [esp + 0x158], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x20]
lea ebp, [ebx + 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x258]
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], ecx
lea esi, [eax - 0xc]
mov dword [esp + 0x30], 0x100
mov edi, 0x824
mov dword [esp + 0x18], esi
cmp dword [esi], 1
jg 0x415b85
cmp dword [eax - 4], edi
jge 0x415bf1
mov eax, dword [eax - 8]
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x415b92
mov edi, eax
push edi
mov ecx, ebp
call fcn.00403a30
test eax, eax
jne 0x415ba2
xor ebp, ebp
jmp 0x415bf4
mov edx, dword [esp + 0x14]
lea eax, [edi + edi + 2]
lea ecx, [edx + edx + 2]
cmp eax, ecx
jb 0x415bca
mov edi, dword [ebp]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x14]
mov dword [eax - 8], ecx
mov eax, dword [0x41f024]
cmp esi, eax
je 0x415bf1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415bf1
push esi
call fcn.00417036
add esp, 4
mov ebp, dword [ebp]
mov eax, 0x80
lea edx, [esp + 0x58]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x158]
lea edx, [esp + 0x1c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 0x800
mov dword [esp + 0x40], ecx
mov ecx, dword [eax - 8]
push edx
push 0x10000000
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
jne 0x415c4c
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x415cc1
mov eax, dword [esp + 0x30]
push ebx
push 0
lea ecx, [esp + 0x15c]
push 3
lea edx, [esp + 0x60]
push ecx
push edx
mov edx, dword [ebx + 0x40]
lea ecx, [esp + 0x268]
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [ebx + 0x44], eax
jne 0x415cad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x415c97
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x20], 1
push eax
jmp 0x415cb9
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x20], 6
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x415cc1
mov ecx, ebx
call fcn.00415000
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x454]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret 4