Function at 0x47eb30
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 8], 0
je 0x47eb6d
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 8], 0xffffffff
jne 0x47eb82
mov dword [ebp - 0x48], 0x4b112c
push 0x4b7ebc
lea edx, [ebp - 0x48]
push edx
call fcn.0048e57b
push 0
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
cmp dword [eax + 0x84], 2
setne cl
sub ecx, 1
and ecx, 0x800000
or ecx, 0x4000000
push ecx
push 0x4c056c
mov edx, dword [ebp + 0xc]
push edx
push 0x4b1144
mov eax, dword [ebp + 8]
push eax
push 0x4b1150
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0xc], 0
je 0x47ebdf
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0xc], 0xffffffff
jne 0x47ebf4
mov dword [ebp - 0x4c], 0x4b1154
push 0x4b7ebc
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0048e57b
push SysReAllocStringLen
push 0x4b1168
call fcn.0048e1d0
add esp, 4
push eax
push 0x4b1178
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x47ec32
mov dword [ebp - 0x50], 0x4b1188
push 0x4b7ebc
lea ecx, [ebp - 0x50]
push ecx
call fcn.0048e57b
mov ecx, dword [ebp - 0x6c]
add ecx, 0xa4
call fcn.00483150
test eax, eax
jbe 0x47edb9
lea ecx, [ebp - 0x2c]
call fcn.00402a40
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x84]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
je 0x47ec71
cmp dword [ebp - 0x70], 2
je 0x47ec80
jmp 0x47ec8d
push 0x4b11a4
lea ecx, [ebp - 0x2c]
call fcn.00402b10
jmp 0x47ec8d
push 0x4b11ac
lea ecx, [ebp - 0x2c]
call fcn.00402b10
mov ecx, dword [ebp - 0x6c]
add ecx, 0x10
call fcn.00402b30
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f40
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x84], 1
jne 0x47ecb9
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x80], 0x50
je 0x47ed0e
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x84], 2
jne 0x47ecd4
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x80], 0x1bb
je 0x47ed0e
mov dx, word [0x4b11b8]
mov word [ebp - 0x38], dx
xor eax, eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x80]
push edx
push 0x4b11bc
lea eax, [ebp - 0x38]
push eax
call fcn.0048e2fb
add esp, 0xc
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401f40
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401f40
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0xa4
call fcn.00483170
jmp 0x47ed3c
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00483230
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 0xa4
call fcn.004831a0
push eax
lea ecx, [ebp - 0x40]
call fcn.00483270
movzx eax, al
test eax, eax
je 0x47edaa
lea ecx, [ebp - 0x40]
call fcn.00483210
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x1c
call fcn.00402b30
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00402b30
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402b30
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
jne 0x47eda8
mov dword [ebp - 0x64], 0x4b11c0
push 0x4b7ebc
lea edx, [ebp - 0x64]
push edx
call fcn.0048e57b
jmp 0x47ed2e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x47ede7
mov dword [ebp - 0x68], 0x4b11d8
push 0x4b7ebc
lea edx, [ebp - 0x68]
push edx
call fcn.0048e57b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 8