Function at 0x4945c0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x674d4e
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x1a0], eax
call fcn.00509500
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x494762
push 0x2f
push str.f:master_luinst_ui_market_netwininet_tttp.cc
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
call fcn.0042a9a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 3
push 0x6d1880
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0042a9a0
mov byte [ebp - 4], 1
call fcn.00509500
mov edi, eax
lea ecx, [ebp - 0x240]
push 0x12b
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0042c590
mov esi, eax
push str.CWininetHttp::SendRequest
push esi
mov byte [ebp - 4], 2
call fcn.0042c400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x240]
call fcn.00428ee0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x49470a
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x494700
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x494700
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x49475c
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x494752
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x494752
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov edi, dword [ebp - 0x194]
mov eax, dword [ebx + 0xb0]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x18d], 0
test eax, eax
je 0x494786
push eax
call esi
mov dword [ebx + 0xb0], 0
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x49479d
push eax
call esi
mov dword [ebx + 0xac], 0
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x4947b4
push eax
call esi
mov dword [ebx + 0xa8], 0
push 0
push 0
push 0
push 0
push str.Http_connect
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebx + 0xa8], eax
test eax, eax
jne 0x4947dd
mov dword [edi + 0x1c], 1
jmp 0x494ac5
xor eax, eax
mov dword [ebp - 0x198], 0x50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x1a4]
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x494822
mov eax, dword [eax]
lea ecx, [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00491b30
add esp, 8
test eax, eax
jne 0x4948d7
mov dword [edi + 0x1c], 6
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x494885
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49487b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49487b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x494ac5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x494abb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x494abb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x198]
mov eax, 0x1bb
cmp cx, ax
jne 0x4948ee
mov byte [ebx + 0xa4], 1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 3
push 0
push 0
push ecx
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 0xac], eax
test eax, eax
jne 0x494927
mov dword [edi + 0x1c], 3
jmp 0x494849
cmp byte [ebx + 0xa4], 0
lea ecx, [ebp - 0x18c]
mov eax, 0x80200000
mov esi, 0x80a02000
cmove esi, eax
lea eax, [ebp - 0x188]
push 3
push str.HTTP_1.1
mov dword [ebp - 0x18c], eax
call fcn.0045d270
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x6e9624
cmp dword [ebp - 0x1a8], 0
push esi
push 0
push 0
push dword [ebp - 0x18c]
push eax
mov eax, 0x6e961c
cmovne eax, ecx
push eax
push dword [ebx + 0xac]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0xb0], eax
lea ecx, [ebp - 0x188]
mov eax, dword [ebp - 0x18c]
cmp eax, ecx
je 0x4949b3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [ebx + 0xb0], 0
jne 0x4949c8
mov dword [edi + 0x1c], 1
jmp 0x494849
mov eax, dword [ebp - 0x1a0]
test eax, eax
jne 0x4949d6
xor esi, esi
jmp 0x4949ef
mov esi, eax
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4949e0
sub esi, ecx
sar esi, 1
mov eax, dword [ebp - 0x19c]
test eax, eax
jne 0x4949fd
xor edi, edi
jmp 0x494a0b
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x494a02
sub edi, ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebx + 0xb4]
call fcn.00487300
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 0xa0000000
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
push dword [ebx + 0xb0]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [ebp - 0x19c]
push edi
push eax
mov eax, dword [ebp - 0x1a0]
push esi
push eax
push dword [ebx + 0xb0]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edx, dword [ebp - 0x44]
test eax, eax
jne 0x494ab2
mov eax, dword [ebp - 0x194]
mov dword [eax + 0x1c], 4
cmp edx, 0x10
jb 0x494a9b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x494a91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x494875
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x494849
mov byte [ebp - 0x18d], 1
jmp 0x494a6a
push edx
push ecx
call fcn.00669e69
add esp, 8
mov al, byte [ebp - 0x18d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 0x14