Function at 0x4082f4
Capabilities:
Connect to http server
Create http request
Create thread
Read data from internet
Receive data
Send data
Send http request
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b68c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x23f4
call fcn.0043f990
mov eax, dword [0x4809a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [ebp - 0x2404]
mov dword [ebp - 0x23a8], eax
call fcn.0041ee5a
xor ebx, ebx
push 0xfce
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x23a2]
push ebx
mov byte [ebp - 4], 1
push eax
mov byte [ebp - 0x23a9], bl
mov word [ebp - 0x23a4], bx
call fcn.0043b7b0
add esp, 0xc
mov esi, 0x3e6
push esi
lea eax, [ebp - 0x402]
push ebx
push eax
mov word [ebp - 0x404], bx
call fcn.0043b7b0
add esp, 0xc
push esi
lea eax, [ebp - 0x7ea]
push ebx
push eax
mov word [ebp - 0x7ec], bx
call fcn.0043b7b0
mov eax, 0x1f4
add esp, 0xc
cmp dword [0x48527c], 1
mov dword [ebp - 0x23f4], eax
mov dword [ebp - 0x23e4], eax
mov dword [ebp - 0x23f0], 0xfd0
jne 0x4083e2
push str.User_once_clicked_on_Cancel_IE_proxy_dialog
call fcn.0040750a
or dword [ebp - 4], 0xffffffff
pop ecx
call fcn.0041ee70
mov eax, 0x197
jmp 0x408c06
cmp dword [edi + 0xa0], ebx
jne 0x408428
push ebx
push ebx
push ebx
push ebx
push dword [0x48539c]
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [edi + 0xa0], eax
jne 0x408428
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Internet_open_failed_:__d
call fcn.0040750a
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.0041ee70
push 6
pop eax
jmp 0x408c06
push 0x464fb4
lea ecx, [ebp - 0x23b0]
call fcn.00402eb5
lea esi, [ebp - 0x23b0]
mov byte [ebp - 4], 2
call fcn.00409977
test al, 2
je 0x408482
push 8
lea eax, [ebp - 0x23d4]
push ebx
push eax
call fcn.0043b7b0
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
add esp, 0xc
push 8
lea eax, [ebp - 0x23d4]
push eax
push 0x32
push dword [edi + 0xa0]
mov dword [ebp - 0x23d4], 1
call esi
jmp 0x408488
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
movzx ecx, word [edi + 0x7c]
mov eax, dword [edi]
push ebx
push ebx
push 3
push dword [0x4853b4]
push dword [0x4853b0]
push ecx
push eax
push dword [edi + 0xa0]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov dword [edi + 0xa4], eax
jne 0x4084d4
push str.Error_in_establishing_connection_with_server
call fcn.0040750a
pop ecx
mov ecx, dword [ebp - 0x23b0]
add ecx, 0xfffffff0
call fcn.00401109
jmp 0x408417
push 4
lea eax, [edi + 0xac]
push eax
push 6
push dword [edi + 0xa0]
call esi
push 4
lea eax, [edi + 0xac]
push eax
push 2
push dword [edi + 0xa0]
call esi
cmp dword [edi + 0x7c], 0x1bb
mov eax, dword [edi + 0x74]
push ebx
jne 0x40850e
push 0x84c01000
jmp 0x408513
push 0x4000000
push ebx
push ebx
push 0x468f34
push eax
push 0x468f48
push dword [edi + 0xa4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, ebx
mov dword [edi + 0xa8], eax
jne 0x408540
push str.Error_in_accessing_desired_url
jmp 0x4084bb
push 4
lea eax, [ebp - 0x23e0]
push eax
push 0x1f
push dword [edi + 0xa8]
mov dword [ebp - 0x23e0], 0x80
call esi
push 4
lea eax, [ebp - 0x23e8]
push eax
push 0x1f
push dword [edi + 0xa8]
mov dword [ebp - 0x23e8], 0x2000
call esi
push 4
lea eax, [ebp - 0x23ec]
push eax
push 0x1f
push dword [edi + 0xa8]
mov dword [ebp - 0x23ec], 0x1000
call esi
push 4
lea eax, [ebp - 0x23dc]
push eax
push 0x1f
push dword [edi + 0xa8]
mov dword [ebp - 0x23dc], 0x100
call esi
call fcn.0041d3b7
push eax
lea ecx, [ebp - 0x23b4]
call fcn.00403139
push 0x468f98
lea ecx, [ebp - 0x23b4]
mov byte [ebp - 4], 3
call fcn.00403444
mov ecx, dword [ebp - 0x23b4]
mov eax, dword [ecx - 0xc]
push 1
push eax
push ecx
push dword [edi + 0xa8]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [edi + 0x70]
sub eax, 0x10
push eax
call fcn.004060b7
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x23b8], esi
push ebx
push ebx
push edi
push 0x40a720
push ebx
mov byte [ebp - 4], 4
push ebx
mov dword [ebp - 0x23cc], ebx
mov dword [ebp - 0x23f8], 4
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x23c0], eax
mov eax, dword [esi - 0xc]
lea esi, [ebp - 0x23b8]
mov dword [ebp - 0x23c8], eax
call fcn.0040be0a
push dword [ebp - 0x23c8]
push eax
push ebx
push ebx
push dword [edi + 0xa8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
lea eax, [ebp - 0x23d8]
push eax
push dword [ebp - 0x23c0]
je 0x408b56
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x23d8]
push dword [ebp - 0x23c0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
lea eax, [ebp - 0x23f0]
push eax
lea eax, [ebp - 0x23a4]
push eax
push 0x16
push dword [edi + 0xa8]
call esi
push ebx
lea eax, [ebp - 0x23f8]
push eax
lea eax, [ebp - 0x23bc]
push eax
push 0x20000013
push dword [edi + 0xa8]
call esi
test eax, eax
jne 0x4086fa
push dword [ebp - 0x23bc]
push str.Error_in_accessing_result_page_Status_code___d
call fcn.0040750a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x23b8]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x23b4]
add ecx, 0xfffffff0
call fcn.00401109
jmp 0x4084c1
mov ecx, dword [ebp - 0x23a8]
push 0x464fb4
call fcn.00403444
mov esi, dword [ebp - 0x23a8]
mov eax, dword [ebp - 0x23bc]
call fcn.0040956f
mov eax, dword [ebp - 0x23bc]
add eax, 0xffffff38
cmp eax, 0x63
ja 0x40881d
cmp dword [0x4853e0], ebx
jne 0x40881d
push 0x7fe
lea eax, [ebp - 0xfea]
push ebx
push eax
mov dword [ebp - 0x23c8], 0x400
mov word [ebp - 0xfec], bx
call fcn.0043b7b0
add esp, 0xc
lea eax, [ebp - 0x23c8]
push eax
lea eax, [ebp - 0xfec]
push eax
push 0x26
push dword [edi + 0xa0]
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
cmp eax, ebx
jne 0x408798
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Query_for_InternetProxyOption_Failed_:__d
call fcn.0040750a
pop ecx
jmp 0x40881c
push 3
pop esi
cmp dword [ebp - 0xfec], esi
jne 0x408801
push str.InternetQuery_on_Preconfig_gives_Proxy_Access_Type
call fcn.0040750a
pop ecx
push dword [ebp - 0xfe8]
lea ecx, [ebp - 0x23c4]
mov dword [0x4853e0], esi
call fcn.00402eb5
push 1
push 0x4853d8
push 0x4853d0
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x23c4]
mov dword [ebp - 0x23d0], esp
mov ecx, esp
push eax
call fcn.0040315e
call fcn.0040a494
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x23c4]
add ecx, 0xfffffff0
call fcn.00401109
xor esi, esi
inc esi
cmp dword [ebp - 0xfec], esi
jne 0x40881d
push str.InternetQuery_on_Preconfig_gives_Direct_Access_Type
call fcn.0040750a
mov dword [0x4853e0], esi
pop ecx
mov esi, 0x197
cmp dword [ebp - 0x23bc], esi
jne 0x4088b7
cmp dword [0x485280], 1
jne 0x40887c
push str.Proxy_problem.
call fcn.0040750a
pop ecx
mov ecx, dword [ebp - 0x23b8]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x23b4]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x23b0]
add ecx, 0xfffffff0
call fcn.00401109
or dword [ebp - 4], 0xffffffff
call fcn.0041ee70
mov eax, esi
jmp 0x408c06
cmp dword [0x4853ec], 1
jne 0x4088b7
push str.Silent_query
call fcn.004075a0
pop ecx
push ecx
mov dword [ebp - 0x23d0], esp
mov ecx, esp
push dword [ebp - 0x23a8]
call fcn.0040315e
push dword [ebp - 0x23bc]
call fcn.0040b006
mov esi, dword [ebp - 0x23bc]
jmp 0x408842
cmp byte [ebp - 0x23a9], bl
je 0x40896e
cmp dword [ebp - 0x23bc], esi
je 0x40897f
lea eax, [ebp - 0x23f4]
push eax
lea eax, [ebp - 0x404]
push eax
push 0x2b
push dword [edi + 0xa8]
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x23c0], eax
lea eax, [ebp - 0x23e4]
push eax
lea eax, [ebp - 0x7ec]
push eax
push 0x2c
push dword [edi + 0xa8]
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov dword [ebp - 0x23d0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x23c8], eax
lea eax, [ebp - 0x404]
push eax
mov ecx, 0x4853b0
call fcn.00403444
lea eax, [ebp - 0x7ec]
push eax
mov ecx, 0x4853b4
call fcn.00403444
call fcn.00409a00
push dword [ebp - 0x23c8]
push dword [ebp - 0x23c0]
push dword [ebp - 0x23d0]
push esi
push str.URes__d_PRes__d__ER1_:__d_ER2_:__d
call fcn.0040750a
add esp, 0x14
mov eax, dword [ebp - 0x23bc]
cmp eax, 0x197
jne 0x408a2d
push ebx
push 7
push 0x2eee
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x4089de
push str.IE:User_press_Ok
mov byte [ebp - 0x23a9], 1
call fcn.0040750a
pop ecx
mov ecx, dword [ebp - 0x23b8]
add ecx, 0xfffffff0
call fcn.00401109
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x23b4]
add ecx, 0xfffffff0
call fcn.00401109
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
jmp 0x408540
push str.IE:User_press_cancel
mov dword [0x48527c], 1
call fcn.0040750a
pop ecx
mov ecx, dword [ebp - 0x23b8]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x23b4]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x23b0]
add ecx, 0xfffffff0
call fcn.00401109
or dword [ebp - 4], 0xffffffff
call fcn.0041ee70
push 8
jmp 0x408422
add eax, 0xffffff38
cmp eax, 0x64
ja 0x4086d9
lea eax, [ebp - 0x23a8]
push eax
call fcn.00405e3c
mov byte [ebp - 4], 6
lea eax, [ebp - 0x23cc]
push eax
push 0x3e8
lea eax, [ebp - 0x13d4]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x408a84
mov eax, dword [ebp - 0x23cc]
cmp eax, ebx
jne 0x408aea
lea ecx, [edi + 0xb0]
push ebx
call fcn.0040bf98
push dword [edi + 0xa0]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [edi + 0xa4]
call esi
push dword [edi + 0xa8]
call esi
mov ecx, dword [ebp - 0x23a8]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x23b8]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x23b4]
add ecx, 0xfffffff0
call fcn.00401109
mov ecx, dword [ebp - 0x23b0]
add ecx, 0xfffffff0
call fcn.00401109
or dword [ebp - 4], 0xffffffff
call fcn.0041ee70
push 7
jmp 0x408422
inc eax
push eax
lea ecx, [ebp - 0x23a8]
call fcn.00406067
push dword [ebp - 0x23cc]
lea ecx, [ebp - 0x13d4]
push ecx
push eax
call fcn.0043b680
mov eax, dword [ebp - 0x23cc]
add esp, 0xc
lea esi, [ebp - 0x23a8]
call fcn.0040be22
push dword [ebp - 0x23a8]
lea ecx, [ebp - 0x23d0]
call fcn.00402ef9
lea ecx, [edi + 0xb0]
push eax
mov byte [ebp - 4], 7
call fcn.004031c9
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x23d0]
add ecx, 0xfffffff0
call fcn.00401109
jmp 0x408a4b
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x23d8]
push dword [ebp - 0x23c0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0xa0]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x23c4], eax
call esi
push dword [edi + 0xa4]
call esi
push dword [edi + 0xa8]
call esi
mov ecx, dword [ebp - 0x23a8]
push 0x464fb4
call fcn.00403444
push dword [ebp - 0x23c4]
mov ecx, dword [ebp - 0x23a8]
call fcn.004097c7
mov ecx, dword [ebp - 0x23a8]
push ebx
call fcn.0040328d
push eax
push dword [edi]
push dword [ebp - 0x23c4]
push str.Send_Req___Error_accessing_result_:__d_Server:_s__Error:_s
call fcn.0040750a
add esp, 0x10
jmp 0x4086d9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004386f5
leave
ret 4