Function at 0x4016a2
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push 0xa4
mov eax, 0x42dd92
call fcn.00417ac0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
push str.Get_Flash_Player_version_xml_1.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x30], eax
cmp eax, ebx
je 0x401725
lea eax, [ebp - 0xa8]
call fcn.0040a686
cmp dword [eax + 0x18], 8
jb 0x4016f7
mov eax, dword [eax + 4]
jmp 0x4016fa
add eax, 4
push ebx
push 0x1bb
push eax
push dword [ebp - 0x30]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push ebx
push 1
lea esi, [ebp - 0xa8]
mov dword [ebp - 0x28], eax
call fcn.004036ef
mov edi, 0x431adc
jmp 0x4017a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x68]
push 0x578
push eax
mov byte [ebp - 4], 1
call fcn.0040f625
mov edi, 0x431adc
push edi
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 2
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.0040476a
add esp, 0xc
push 1
call fcn.0040f31c
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0xa8]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x68]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.004036ef
lea eax, [ebp - 0x68]
push 0x65e
push eax
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
call fcn.00404724
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
mov byte [ebp - 4], 5
call fcn.0040476a
add esp, 0xc
push ebx
call fcn.0040f31c
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x28], ebx
je 0x40182a
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x40180e
lea eax, [ebp + 0x10]
push 0x800000
push ebx
push ebx
push ebx
push eax
push 0x431ae0
push dword [ebp - 0x28]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x18], eax
jmp 0x4018a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x68]
push 0x579
push eax
mov byte [ebp - 4], 6
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 7
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 8
call fcn.0040476a
add esp, 0xc
push 1
call fcn.0040f31c
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x68]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x8c]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x18], ebx
je 0x4018be
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x24], eax
jmp 0x401939
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x4c]
push 0x57a
push eax
mov byte [ebp - 4], 9
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 0xb
call fcn.0040476a
add esp, 0xc
push 1
call fcn.0040f31c
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0x8c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x24], ebx
je 0x40194d
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x24], eax
jmp 0x4019c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x4c]
push 0x57b
push eax
mov byte [ebp - 4], 0xc
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 0xe
call fcn.0040476a
add esp, 0xc
push 1
call fcn.0040f31c
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0x8c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x24], ebx
je 0x401b82
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x401a5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x4c]
push 0x57c
push eax
mov byte [ebp - 4], 0xf
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 0x11
call fcn.0040476a
add esp, 0xc
push 1
call fcn.0040f31c
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0x8c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x68]
call fcn.004036ef
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.004140aa
mov esi, eax
mov eax, dword [ebp - 0x1c]
pop ecx
inc eax
push eax
push ebx
push esi
mov dword [ebp - 0x20], esi
call fcn.0041b190
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x401b1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040f625
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x4c]
push 0x57e
push eax
mov byte [ebp - 4], 0x13
call fcn.0040f625
pop ecx
pop ecx
push edi
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0x14
call fcn.00404724
add esp, 0xc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.0040476a
add esp, 0xc
push 1
call fcn.0040f31c
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0x8c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x68]
call fcn.004036ef
jmp 0x401b35
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401b22
sub eax, edx
push eax
mov eax, dword [ebp - 0x70]
push esi
call fcn.00403917
push dword [ebp - 0x20]
call fcn.00415817
pop ecx
mov dword [ebp - 4], ebx
jmp 0x401b77
cmp dword [ebp - 0x1c], ebx
ja 0x4019d1
jmp 0x401bfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x4c]
push 0x57f
push eax
mov byte [ebp - 4], 0x17
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0x18
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x2c], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 0x19
call fcn.0040476a
xor edi, edi
add esp, 0xc
inc edi
push edi
call fcn.0040f31c
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x8c]
call fcn.004036ef
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.004036ef
push ebx
push edi
lea esi, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x18], ebx
je 0x401c0a
push dword [ebp - 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x401c18
push dword [ebp - 0x28]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x30], ebx
je 0x401c26
push dword [ebp - 0x30]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x24], ebx
jne 0x401c63
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x2c], esp
push 0x580
push eax
call fcn.0040f625
pop ecx
pop ecx
push 1
call fcn.0040f31c
add esp, 0x20
mov byte [ebp - 0x11], bl
push ebx
push 1
lea esi, [ebp + 0xc]
call fcn.004036ef
mov al, byte [ebp - 0x11]
call fcn.00417b65
ret 0x20
mov byte [ebp - 0x11], 1
jmp 0x401c4d