Function at 0x403efa
Capabilities:
Create http request

Disassembly:
mov eax, 0x41ae56
call fcn.0040f3e4
sub esp, 0x66c
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
call fcn.00404798
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea eax, [ebp - 0x20]
push 0x41e97c
push eax
mov byte [ebp - 4], 1
call esi
push 0x41f750
lea eax, [ebp - 0x38]
push 0x451b40
push eax
call fcn.00401b32
add esp, 0x18
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 2
call fcn.00401615
push ebx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call sub.mfc140u.dll_CFile::GetStatus
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push dword [ebp - 0x26c]
mov edi, 0x41f72c
mov byte [ebp - 4], 3
push dword [ebp - 0x270]
lea eax, [ebp - 0x1c]
push edi
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push str.MSYD2COM.dat
mov byte [ebp - 4], 4
call fcn.004035de
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push str.MSYDCOM.dat
mov byte [ebp - 4], 5
call fcn.004035de
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call esi
add esp, 0x10
mov eax, 0x41f7a0
cmp dword [ebp + 0xc], ebx
mov ecx, 0x41f7a4
cmovne eax, ecx
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
push str._ver
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401b32
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401ab6
push str.it
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
call fcn.00401b32
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401ab6
push str.fc
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xa
push eax
call fcn.00401b32
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00401ab6
add esp, 0x48
push str.pc
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
call fcn.00401b32
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00401ab6
push str.np
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xe
push eax
call fcn.00401b32
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00401ab6
add esp, 0x30
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__14]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x3c]
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 - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp + 0x10]
push 0x451c8c
push 0x451c90
or dword [eax], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.00401ab6
add esp, 0xc
mov ecx, eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], 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 - 0x28], eax
test eax, eax
je 0x40428a
lea ecx, [ebp + 0xc]
push ecx
push 0x400
lea ecx, [ebp - 0x678]
push ecx
push eax
call fcn.00404850
add esp, 0x10
test al, al
je 0x404281
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x404281
call fcn.00403759
mov byte [ebp + edi - 0x678], bl
mov esi, ebx
mov dword [ebp - 0x30], eax
dec edi
lea ecx, [ebp - 0x678]
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 0x4041eb
inc esi
cmp esi, edi
jbe 0x4041d2
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea edi, [ebp - 0x678]
mov byte [ebp - 4], 0x11
add edi, esi
je 0x40422b
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jg 0x40422b
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
push dword [ebp - 0x30]
push esi
push edi
push eax
call fcn.00401e1c
mov ebx, eax
push 0x7c
push 6
push ebx
lea eax, [ebp + 0xc]
push eax
call sub.mfc140u.dll_AfxExtractSubString
lea eax, [ebp + 0xc]
push 0x41ea48
push eax
call fcn.004019f7
pop ecx
pop ecx
test al, al
je 0x404258
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x404275
lea eax, [ebp + 0xc]
push 0x41f800
push eax
call fcn.004019f7
pop ecx
pop ecx
xor ecx, ecx
test al, al
mov eax, dword [ebp + 0x10]
setne cl
dec ecx
mov dword [eax], ecx
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
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]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
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 + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea esp, [ebp - 0x684]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret