Function at 0x414254
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4444f6
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.004147f0
and eax, 0xff
test eax, eax
je 0x4142a5
push str._ClsWinInetEnvironment::Create_
call fcn.004288c1
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 0x414676
mov ecx, dword [ebp - 0x18]
call fcn.004147f0
and eax, 0xff
test eax, eax
je 0x4142da
push str._ClsWinInetEnvironment::Create_No_hWinModule
call fcn.004288c1
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 0x414659
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 0x414333
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.004288c1
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 0x414376
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.004288c1
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 0x4143b9
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.004288c1
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 0x4143fc
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.004288c1
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 0x41443f
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.004288c1
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 0x414482
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.004288c1
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 0x4144c5
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.004288c1
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 0x414508
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.004288c1
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 0x41454b
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.004288c1
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 0x41458e
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.004288c1
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 0x4145d1
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.004288c1
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 0x414614
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.004288c1
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 0x414657
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.004288c1
add esp, 8
jmp 0x414676
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.004288c1
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
je 0x4146aa
cmp dword [ebp - 0x14], 0
jne 0x41468e
mov dword [ebp - 0x1c], 0x45bed4
jmp 0x414695
mov dword [ebp - 0x1c], 0x45bee0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str._ClsWinInetEnvironment__Creating_environment...___s___d__
call fcn.004288c1
add esp, 0xc
jmp 0x4146c6
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