Function at 0x41dd71
Capabilities:
Create http request

Disassembly:
push 0x1c
mov eax, 0x421941
call fcn.0042153c
mov esi, ecx
push 1
lea eax, [esi + 0xa0]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x1c], ebx
call sub.mfc90u.dll_CSingleLock::CSingleLock
mov dword [ebp - 4], edi
cmp dword [esi + 0x74], edi
jne 0x41de6d
mov eax, dword [esi + 0x34]
sub eax, edi
je 0x41de31
dec eax
je 0x41ddf6
dec eax
jne 0x41de6d
lea eax, [esi + 0x24]
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
cmp ecx, edi
jne 0x41ddd8
call sub.mfc90u.dll_AfxGetModuleState
push dword [eax + 0x10]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 4
pop ebx
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
push edi
push edi
push ecx
push 3
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x74], eax
test bl, 4
je 0x41de6d
lea ecx, [ebp - 0x10]
jmp 0x41de67
lea eax, [esi + 0x24]
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
cmp ecx, edi
jne 0x41de16
call sub.mfc90u.dll_AfxGetModuleState
push dword [eax + 0x10]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 2
pop ebx
mov eax, dword [eax]
push edi
push edi
push edi
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x74], eax
test bl, 2
je 0x41de6d
lea ecx, [ebp - 0x14]
jmp 0x41de67
lea eax, [esi + 0x24]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x41de4f
call sub.mfc90u.dll_AfxGetModuleState
push dword [eax + 0x10]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
xor ebx, ebx
inc ebx
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x74], eax
test bl, 1
je 0x41de6d
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esi + 0x74]
cmp eax, edi
jne 0x41dea7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.IDS_HTTPDOWNLOAD_GENERIC_ERROR
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.mfc90u.dll_CSingleLock::Unlock
xor eax, eax
call fcn.004215db
ret
push 0x41ed2e
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
jne 0x41dee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.IDS_HTTPDOWNLOAD_GENERIC_ERROR
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.mfc90u.dll_CSingleLock::Unlock
mov eax, edi
jmp 0x41dea1
xor edi, edi
inc edi
jmp 0x41ded7