Function at 0x466543
Capabilities:
Create http request

Disassembly:
mov eax, 0x47cfc5
call fcn.0047c7d4
sub esp, 0x674
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov edi, ecx
xor ebx, ebx
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004663a7
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
push 0x4a3d74
push eax
call esi
push str.unins000.dat
mov edx, 0x4e8070
lea ecx, [ebp - 0x3c]
call fcn.0045f219
add esp, 0x10
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 2
call fcn.0045e3c9
push ebx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.mfc140u.dll_CFile::GetStatus]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push dword [ebp - 0x274]
push dword [ebp - 0x278]
push 0x4a61fc
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov ecx, str.MSYD2COM.dat
mov byte [ebp - 4], 4
call fcn.0045d915
push eax
lea eax, [ebp - 0x24]
push 0x4a61fc
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov ecx, str.MSYDCOM.dat
mov byte [ebp - 4], 5
call fcn.0045d915
push eax
lea eax, [ebp - 0x20]
push 0x4a61fc
push eax
call esi
add esp, 0xc
mov ecx, 0x4a5dc0
test edi, edi
mov eax, 0x4a5dbc
cmovne eax, ecx
lea ecx, [ebp - 0x38]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__16]
mov byte [ebp - 4], 6
push str._ver
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0045f219
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0045ed13
push str.it
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.0045f219
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0045ed13
push str.fc
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x50]
call fcn.0045f219
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.0045ed13
push str.pc
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
call fcn.0045f219
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0045ed13
push str.np
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x40]
call fcn.0045f219
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.0045ed13
add esp, 0x28
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push 0x4e81bc
mov edx, 0x4e81c0
or dword [eax], 0xffffffff
call fcn.0045ed13
pop ecx
push ebx
push ebx
push ebx
push ebx
mov ecx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], esi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ebx
push 0x84000101
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4668d2
lea ecx, [ebp - 0x14]
push ecx
push ecx
lea edx, [ebp - 0x680]
mov ecx, eax
call fcn.0046648e
pop ecx
pop ecx
test al, al
je 0x4668c9
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4668c9
call fcn.0045f51d
mov dword [ebp - 0x14], eax
lea edi, [ecx - 1]
mov byte [ebp + ecx - 0x680], bl
mov esi, ebx
lea ecx, [ebp - 0x680]
add ecx, esi
push ecx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
pop ecx
test eax, eax
jne 0x466830
inc esi
cmp esi, edi
jbe 0x466817
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea esi, [ebp + esi - 0x680]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x466878
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46684d
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x466878
lea eax, [edi + edi]
call fcn.0047c520
mov ecx, esp
mov edx, esi
push dword [ebp - 0x14]
push edi
call fcn.0045f1e6
mov ebx, eax
push 0x7c
push 6
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_AfxExtractSubString]
mov edx, 0x4a3e40
lea ecx, [ebp - 0x10]
call fcn.0045f13f
test al, al
je 0x4668a3
mov eax, dword [ebp - 0x1c]
mov dword [eax], 1
jmp 0x4668bd
mov edx, 0x4a5e1c
lea ecx, [ebp - 0x10]
call fcn.0045f13f
xor ecx, ecx
test al, al
mov eax, dword [ebp - 0x1c]
setne cl
dec ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [ebp - 0x34]
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea esp, [ebp - 0x68c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret