Function at 0x47ffd0
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004ab4d0
push 0xffffffffffffffff
push 0x4ca2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x34], edx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x480422
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480036
sub eax, esi
sar eax, 1
je 0x480422
cmp edx, ebx
je 0x480422
mov eax, edx
lea esi, [eax + 2]
jmp 0x480060
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480060
sub eax, esi
sar eax, 1
je 0x480422
push edx
push edi
push 0x4f9ad4
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push str.__DownLoadWebFile__
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, ebx
jne 0x4800ca
push str.Open_Internet_session_fail__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
push 0x5042a0
lea eax, [ebp - 0x3c]
push eax
call fcn.004abd6e
mov dword [ebp - 0x18], 0x3e8
mov eax, dword [ebp + 0x100c]
cmp eax, ebx
je 0x4800e4
imul eax, eax, 0x3e8
mov dword [ebp - 0x18], eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push 2
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x480115
mov edx, dword [ebp - 0x18]
push edx
push str.Set_connect_time_out_success_:__d
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x480131
push str.Set_connect_time_out_fail_
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
push 4
lea eax, [ebp - 0x18]
push eax
push 6
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x48015c
mov ecx, dword [ebp - 0x18]
push ecx
push str.Set_receive_time_out_success_:__d
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
jmp 0x480172
push str.Set_receive_time_out_fail_
call ebx
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
push 0
push 0
push 0
push 0
push edi
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x48040a
call ebx
push edi
push str.Open_URL__s__fail__
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
push 0x3c
push esi
lea edx, [ebp - 0x98]
push edx
call fcn.004ab450
mov dword [ebp - 0x58], str.text_
mov dword [ebp - 0x54], str.image_
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x14], 0x4407100
push 0x800
push esi
lea eax, [ebp + 0x800]
push eax
call fcn.004ab450
push 0x800
push esi
lea ecx, [ebp]
push ecx
call fcn.004ab450
add esp, 0x2c
mov dword [ebp - 0x98], 0x3c
lea edx, [ebp + 0x800]
mov dword [ebp - 0x88], edx
mov eax, 0x400
mov dword [ebp - 0x84], eax
lea ecx, [ebp]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480220
sub eax, edx
sar eax, 1
lea edx, [ebp - 0x98]
push edx
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x48026d
call ebx
mov esi, eax
push str.CrackUrl_fail__
mov ecx, esi
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov dword [ebp - 0x38], esi
push 0x5042a0
lea eax, [ebp - 0x38]
push eax
call fcn.004abd6e
push 0
push 0
push 3
push 0x4dd578
push 0x4dd578
push 0x50
lea ecx, [ebp + 0x800]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x4802c2
call ebx
mov esi, eax
push str.InternetConnect_fail__
mov ecx, esi
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov dword [ebp - 0x48], esi
push 0x5042a0
lea eax, [ebp - 0x48]
push eax
call fcn.004abd6e
push 0
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
lea eax, [ebp]
push eax
push 0x4f9d04
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x480312
call ebx
mov esi, eax
push str.HttpOpenRequest_fail__
mov ecx, esi
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov dword [ebp - 0x30], esi
push 0x5042a0
lea ecx, [ebp - 0x30]
push ecx
call fcn.004abd6e
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x48040d
call ebx
push str.HttpSendRequest_fail_____1
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 4
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
jne 0x48038b
call ebx
mov esi, eax
push str.InternetQueryOption_fail__
mov ecx, esi
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov dword [ebp - 0x40], esi
push 0x5042a0
lea ecx, [ebp - 0x40]
push ecx
call fcn.004abd6e
or dword [ebp - 0x14], 0x3380
push 4
lea edx, [ebp - 0x14]
push edx
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4803ce
call ebx
mov esi, eax
push str.InternetSetOption_fail__
mov ecx, esi
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov dword [ebp - 0x4c], esi
push 0x5042a0
lea eax, [ebp - 0x4c]
push eax
call fcn.004abd6e
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x48040d
call ebx
mov esi, eax
push str.HttpSendRequest_fail_____2
mov ecx, esi
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov dword [ebp - 0x44], esi
push 0x5042a0
lea ecx, [ebp - 0x44]
push ecx
call fcn.004abd6e
mov edi, dword [ebp - 0x20]
push esi
mov ecx, dword [ebp - 0x34]
call fcn.00480500
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x48047a
mov eax, 0x57
jmp 0x4804b1
mov dword [ebp - 4], 2
test esi, esi
je 0x480490
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x480496
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x48049d
push edi
call esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4804a7
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.004a998e
add ebp, 0x1004
mov esp, ebp
pop ebp
ret 4