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

Disassembly:
push 0xcc
mov eax, 0x42dc95
call fcn.00417b2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
push 0x431a94
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
call fcn.004031ff
push ebx
push ebx
push ebx
push ebx
push str.Get_Flash_Player_version_xml_1.0
mov dword [ebp - 4], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x401d1a
lea eax, [ebp - 0xd4]
call fcn.0040a686
cmp dword [eax + 0x18], 8
jb 0x401cec
mov eax, dword [eax + 4]
jmp 0x401cef
add eax, 4
push ebx
push 0x1bb
push eax
push dword [ebp - 0x50]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push ebx
push 1
lea esi, [ebp - 0xd4]
mov dword [ebp - 0x44], eax
call fcn.004036ef
mov edi, 0x431adc
jmp 0x401da0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x88]
push 0x5bb
push eax
mov byte [ebp - 4], 1
call fcn.0040f625
mov edi, 0x431adc
push edi
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 2
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x40], 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 - 0xd4]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x88]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.004036ef
lea eax, [ebp - 0x88]
push 0x65f
push eax
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
call fcn.00404724
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x431ae8
push eax
push ecx
mov byte [ebp - 4], 5
call fcn.00404724
add esp, 0xc
push ebx
call fcn.0040f31c
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0x6c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x44], ebx
je 0x401e27
push 0x800000
push ebx
push ebx
push ebx
push 0x431ae8
push 0x431ae0
push dword [ebp - 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x38], eax
jmp 0x401ea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x88]
push 0x5bc
push eax
mov byte [ebp - 4], 6
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 7
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x40], 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 - 0x6c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x88]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x38], ebx
je 0x401ec4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x48], eax
jmp 0x401f45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x6c]
push 0x5bd
push eax
mov byte [ebp - 4], 9
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xa
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x40], 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 - 0xb8]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x6c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x48], ebx
je 0x401f5c
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x48], eax
jmp 0x401fdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x6c]
push 0x5be
push eax
mov byte [ebp - 4], 0xc
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xd
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x40], 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 - 0xb8]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x6c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x48], ebx
je 0x4021ac
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x402078
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x6c]
push 0x5bf
push eax
mov byte [ebp - 4], 0xf
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x10
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x40], 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 - 0xb8]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x6c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x88]
call fcn.004036ef
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x3c]
inc eax
push eax
call fcn.004140aa
mov esi, eax
mov eax, dword [ebp - 0x3c]
pop ecx
inc eax
push eax
push ebx
push esi
mov dword [ebp - 0x40], esi
call fcn.0041b190
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x3c]
push esi
push dword [ebp - 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x402141
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040f625
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x6c]
push 0x5c0
push eax
mov byte [ebp - 4], 0x13
call fcn.0040f625
pop ecx
pop ecx
push edi
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x14
call fcn.00404724
add esp, 0xc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], 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 - 0xb8]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x6c]
call fcn.004036ef
push ebx
push 1
lea esi, [ebp - 0x88]
call fcn.004036ef
jmp 0x402159
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402146
sub eax, edx
push eax
push esi
lea eax, [ebp - 0x30]
call fcn.00403917
push dword [ebp - 0x40]
call fcn.00415817
pop ecx
mov dword [ebp - 4], ebx
jmp 0x40219b
cmp dword [ebp - 0x3c], ebx
ja 0x401fe6
xor edi, edi
inc edi
jmp 0x40222c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040f625
mov esi, eax
lea eax, [ebp - 0x6c]
push 0x5c2
push eax
mov byte [ebp - 4], 0x17
call fcn.0040f625
push edi
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x18
call fcn.00404724
mov ecx, esp
mov dword [ebp - 0x4c], 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 - 0xb8]
call fcn.004036ef
push ebx
push edi
lea esi, [ebp - 0x6c]
call fcn.004036ef
push ebx
push edi
lea esi, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.004036ef
cmp dword [ebp - 0x38], ebx
je 0x40223a
push dword [ebp - 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x44], ebx
je 0x402248
push dword [ebp - 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x50], ebx
je 0x402256
push dword [ebp - 0x50]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x48], ebx
jne 0x40228d
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x4c], esp
push 0x5c3
push eax
call fcn.0040f625
pop ecx
pop ecx
push edi
call fcn.0040f31c
add esp, 0x20
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.004035f7
xor al, al
call fcn.00417b88
ret 0x10
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x402299
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x8c]
mov edx, dword [ebp - 0x98]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
call fcn.004022f0
test al, al
jne 0x4022ea
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x4c], esp
push 0x5c4
push eax
call fcn.0040f625
pop ecx
pop ecx
push edi
call fcn.0040f31c
add esp, 0x20
mov byte [ebp - 0x31], bl
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.004035f7
mov al, byte [ebp - 0x31]
jmp 0x402285
mov byte [ebp - 0x31], 1
jmp 0x4022db