Function at 0x4167c0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44af07
mov eax, dword fs:[0]
push eax
mov eax, 0x1004
call fcn.0043c870
mov eax, dword [0x4690f0]
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 esi, edx
mov ebx, ecx
mov dword [ebp - 0x1004], ebx
xor eax, eax
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0xfb4], 7
mov dword [ebp - 0xfb8], 0
mov word [ebp - 0xfc8], ax
lea edx, [ebp - 0xfc8]
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00416aa0
test al, al
je 0x41684a
lea eax, [ebp - 0xfc8]
push eax
mov ecx, ebx
call fcn.004024c0
jmp 0x416a67
cmp dword [esi + 0x14], 8
jb 0x416854
mov eax, dword [esi]
jmp 0x416856
mov eax, esi
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp dword [0x46c1f8], 8
push 0
push 0
push 0
mov eax, 0x46c1e4
cmovae eax, dword [0x46c1e4]
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x100c], edi
mov dword [ebp - 0x1008], 0
mov byte [ebp - 4], 2
test edi, edi
je 0x416a5b
cmp dword [esi + 0x14], 8
jb 0x4168a5
mov esi, dword [esi]
push 0
push 0x4000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x416a46
lea eax, [ebp - 0x1000]
push eax
lea eax, [ebp - 0xfb0]
push eax
push 0x22
push esi
mov dword [ebp - 0x1008], esi
mov dword [ebp - 0x1000], 0x7d0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
cmp eax, 1
jne 0x41695e
lea eax, [ebp - 0xfb0]
push eax
lea ecx, [ebp - 0xfe0]
call fcn.00401360
lea edx, [ebp - 0xfc8]
lea ecx, [ebp - 0xfe0]
mov byte [ebp - 4], 3
call fcn.00416aa0
lea ecx, [ebp - 0xfe0]
mov bl, al
mov byte [ebp - 4], 2
call fcn.004013c0
test bl, bl
je 0x41695e
mov ecx, dword [ebp - 0x1004]
lea eax, [ebp - 0xfc8]
push eax
call fcn.004024c0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
lea ecx, [ebp - 0xfc8]
call fcn.004013c0
mov eax, dword [ebp - 0x1004]
jmp 0x416a80
push 0
lea eax, [ebp - 0x1000]
push eax
lea eax, [ebp - 0x7e0]
push eax
push 0x2f
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x416a24
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0xfe0]
call fcn.00401360
mov byte [ebp - 4], 4
call fcn.0040d330
mov ebx, eax
call fcn.0040d330
push ecx
push dword [ebx + 4]
lea ecx, [ebp - 0xfe0]
mov dword [ebp - 0xffc], eax
call fcn.00416c30
mov ecx, dword [ebp - 0xffc]
mov ebx, eax
mov ecx, dword [ecx + 4]
add ecx, 2
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add ebx, eax
push 1
push ebx
lea eax, [ebp - 0xffc]
push eax
lea ecx, [ebp - 0xfe0]
mov dword [ebp - 0xffc], 0x22
call fcn.00405170
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0xff8]
push eax
lea ecx, [ebp - 0xfe0]
call fcn.004050c0
push eax
lea ecx, [ebp - 0xfc8]
call fcn.00405080
lea ecx, [ebp - 0xff8]
call fcn.004013c0
lea ecx, [ebp - 0xfe0]
call fcn.004013c0
mov ebx, dword [ebp - 0x1004]
lea eax, [ebp - 0xfc8]
push eax
mov ecx, ebx
call fcn.004024c0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
jmp 0x416a67
push 0x4584bc
mov ecx, ebx
call fcn.00401360
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x416a67
push 0x4584bc
mov ecx, ebx
call fcn.00401360
cmp dword [ebp - 0xfb4], 8
jb 0x416a7e
push dword [ebp - 0xfc8]
call fcn.0042f2d8
add esp, 4
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.0042f2dd
mov esp, ebp
pop ebp
ret