Function at 0x47c740
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c7b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x6eed24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
test eax, eax
je 0x47c935
cmp eax, 0xffffffff
je 0x47c935
cmp dword [ebp + 0x10], 0
jne 0x47c789
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
push 0x800
mov dword [ebp - 0x10], 0x800
mov dword [eax], 0
call fcn.004463f0
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x47c7c0
mov edi, 0x822103e8
jmp 0x47c90b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp byte [ebp + 0x14], 0
mov ebx, eax
mov dword [ebp - 0x20], edx
jne 0x47c832
push dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x4c], 0x28
push 8
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
push eax
push dword [edi]
mov dword [ebp - 0x30], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x47c832
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
js 0x47c90b
je 0x47c832
movzx edi, di
or edi, 0x83ff0000
test edi, edi
js 0x47c90b
cmp ebx, dword [ebp - 0x10]
jae 0x47c83a
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47c8ad
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov eax, dword [ebp - 0x18]
push esi
push dword [eax]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x47c89c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
js 0x47c8cc
jne 0x47c893
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp - 0x1c]
add dword [ecx], eax
mov eax, dword [ebp - 0x14]
jmp 0x47c8b1
movzx edi, di
or edi, 0x83ff0000
test edi, edi
js 0x47c8cc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
add dword [ecx], eax
mov eax, dword [ebp - 0x14]
jmp 0x47c8b1
test edi, edi
js 0x47c8cc
sub ebx, eax
mov eax, dword [ebp - 0x20]
sbb eax, 0
mov dword [ebp - 0x20], eax
test ebx, ebx
jne 0x47c832
test eax, eax
jne 0x47c832
cmp byte [ebp + 0x14], 0
jne 0x47c90b
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
test ecx, ecx
jne 0x47c8de
mov ecx, eax
push ecx
push 8
xor edi, edi
push edi
push dword [eax]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x47c90b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
js 0x47c90b
jne 0x47c902
xor edi, edi
jmp 0x47c90b
movzx edi, di
or edi, 0x83ff0000
mov dword [ebp - 4], 1
test esi, esi
je 0x47c91f
push esi
call fcn.00446420
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x82211003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10