Function at 0x414004
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441316
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.004145a0
and eax, 0xff
test eax, eax
je 0x414055
push str._ClsWinInetEnvironment::Create_
call fcn.0042571d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 8], 0
jne 0x414426
mov ecx, dword [ebp - 0x18]
call fcn.004145a0
and eax, 0xff
test eax, eax
je 0x41408a
push str._ClsWinInetEnvironment::Create_No_hWinModule
call fcn.0042571d
add esp, 4
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 8], 0
je 0x414409
push str.InternetOpenA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x18], 0
jne 0x4140e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_InternetOpenA_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.InternetErrorDlg
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x20], 0
jne 0x414126
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_InternetErrorDlg_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.HttpQueryInfoA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x1c], 0
jne 0x414169
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_HttpQueryInfoA_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.InternetConnectA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x2c], 0
jne 0x4141ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_InternetConnectA_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.HttpOpenRequestA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x30], 0
jne 0x4141ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_HttpOpenRequestA_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.HttpAddRequestHeadersA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x34], 0
jne 0x414232
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_HttpAddRequestHeadersA_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.HttpSendRequestExA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x38], 0
jne 0x414275
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_HttpSendRequestExA_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.InternetWriteFile
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x3c], 0
jne 0x4142b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_InternetWriteFile_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.HttpEndRequestA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x40], 0
jne 0x4142fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_HttpEndRequestA_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.InternetReadFile
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x24], 0
jne 0x41433e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_InternetReadFile_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.InternetCloseHandle
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x28], 0
jne 0x414381
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_InternetCloseHandle_failed_to_loaded__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.InternetQueryOptionA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x44], 0
jne 0x4143c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_InternetQueryOptionA_failed_to_load__ld
call fcn.0042571d
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.InternetSetOptionA
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x48], 0
jne 0x414407
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_InternetSetOptionA_failed_to_load__ld
call fcn.0042571d
add esp, 8
jmp 0x414426
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ClsWinInetEnvironment::Create_hWinModule_Failed_to_Load_Library__ld
call fcn.0042571d
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
je 0x41445a
cmp dword [ebp - 0x14], 0
jne 0x41443e
mov dword [ebp - 0x1c], 0x4580a0
jmp 0x414445
mov dword [ebp - 0x1c], 0x4580ac
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str._ClsWinInetEnvironment__Creating_environment...___s___d__
call fcn.0042571d
add esp, 0xc
jmp 0x414476
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret