Function at 0x47f800
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a914a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x74]
cmp dword [eax + 8], 0
je 0x47f84b
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 8], 0xffffffff
jne 0x47f860
mov dword [ebp - 0x50], 0x4b1224
push 0x4b7ebc
lea edx, [ebp - 0x50]
push edx
call fcn.0048e57b
push 0
mov eax, dword [ebp - 0x74]
xor ecx, ecx
cmp dword [eax + 0x84], 2
setne cl
sub ecx, 1
and ecx, 0x800000
or ecx, 0x4400040
push ecx
push 0x4c0574
mov edx, dword [ebp + 0xc]
push edx
push 0x4b123c
mov eax, dword [ebp + 8]
push eax
push 0x4b1248
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0xc], 0
je 0x47f8bd
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0xc], 0xffffffff
jne 0x47f8d2
mov dword [ebp - 0x54], 0x4b1250
push 0x4b7ebc
lea ecx, [ebp - 0x54]
push ecx
call fcn.0048e57b
push SysReAllocStringLen
push 0x4b1264
call fcn.0048e1d0
add esp, 4
push eax
push 0x4b1274
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x47f910
mov dword [ebp - 0x58], 0x4b1284
push 0x4b7ebc
lea ecx, [ebp - 0x58]
push ecx
call fcn.0048e57b
mov ecx, dword [ebp - 0x74]
add ecx, 0xa4
call fcn.00483150
test eax, eax
jbe 0x47fa97
lea ecx, [ebp - 0x34]
call fcn.00402a40
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x84]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
je 0x47f94f
cmp dword [ebp - 0x78], 2
je 0x47f95e
jmp 0x47f96b
push 0x4b12a0
lea ecx, [ebp - 0x34]
call fcn.00402b10
jmp 0x47f96b
push 0x4b12a8
lea ecx, [ebp - 0x34]
call fcn.00402b10
mov ecx, dword [ebp - 0x74]
add ecx, 0x10
call fcn.00402b30
push eax
lea ecx, [ebp - 0x34]
call fcn.00401f40
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x84], 1
jne 0x47f997
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x80], 0x50
je 0x47f9ec
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x84], 2
jne 0x47f9b2
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x80], 0x1bb
je 0x47f9ec
mov dx, word [0x4b12b4]
mov word [ebp - 0x40], dx
xor eax, eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x80]
push edx
push 0x4b12b8
lea eax, [ebp - 0x40]
push eax
call fcn.0048e2fb
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00401f40
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.00401f40
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0xa4
call fcn.00483170
jmp 0x47fa1a
push 0
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00483230
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0xa4
call fcn.004831a0
push eax
lea ecx, [ebp - 0x48]
call fcn.00483270
movzx eax, al
test eax, eax
je 0x47fa88
lea ecx, [ebp - 0x48]
call fcn.00483210
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x1c
call fcn.00402b30
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00402b30
push eax
lea ecx, [ebp - 0x34]
call fcn.00402b30
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
jne 0x47fa86
mov dword [ebp - 0x6c], 0x4b12bc
push 0x4b7ebc
lea edx, [ebp - 0x6c]
push edx
call fcn.0048e57b
jmp 0x47fa0c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402af0
mov ecx, dword [ebp - 0x74]
call fcn.0047f650
add eax, 1
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x74]
call fcn.0047f650
add eax, 1
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0047f700
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x4c0570]
push eax
call fcn.0048e1d0
add esp, 4
push eax
mov ecx, dword [0x4c0570]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x47fb34
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
je 0x47fb34
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x70], 0x4b12d4
push 0x4b7ebc
lea edx, [ebp - 0x70]
push edx
call fcn.0048e57b
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 8